Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="Buildings_10_Buildings_Fluid_Sensors_Examples_EntropyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="Buildings_10_Buildings_Fluid_Sensors_Examples_EntropyFlowRate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001761/0.001761, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001399/0.001399, allocations: 193.7 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.332/1.332, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.396/2.396, allocations: 437 MB / 0.7104 GB, free: 5.02 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001412/0.001412, allocations: 67.89 kB / 0.8693 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5813/0.5827, allocations: 151.6 MB / 1.017 GB, free: 2.477 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1504/0.7332, allocations: 169.4 MB / 1.183 GB, free: 8.395 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.007172/0.7404, allocations: 7.147 MB / 1.19 GB, free: 1.223 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000343/0.7407, allocations: 15.88 kB / 1.19 GB, free: 1.207 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0004413/0.7412, allocations: 158.8 kB / 1.19 GB, free: 1.051 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.002487/0.7437, allocations: 1.272 MB / 1.191 GB, free: 15.77 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001312/0.745, allocations: 0.6214 MB / 1.192 GB, free: 15.15 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0007718/0.7458, allocations: 0.7563 MB / 1.193 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004052/0.7462, allocations: 290.7 kB / 1.193 GB, free: 14.11 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009523/0.7472, allocations: 0.5682 MB / 1.193 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006724/0.7479, allocations: 418.5 kB / 1.194 GB, free: 13.13 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 5.557e-05/0.7479, allocations: 28 kB / 1.194 GB, free: 13.1 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001718/0.7497, allocations: 1.243 MB / 1.195 GB, free: 11.86 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.000115/0.7498, allocations: 111.7 kB / 1.195 GB, free: 11.75 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001632/0.75, allocations: 183.1 kB / 1.195 GB, free: 11.57 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001187/0.7512, allocations: 0.8922 MB / 1.196 GB, free: 10.67 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.7512, allocations: 4 kB / 1.196 GB, free: 10.67 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.535e-06/0.7512, allocations: 0 / 1.196 GB, free: 10.67 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 8.195e-06/0.7512, allocations: 3.938 kB / 1.196 GB, free: 10.66 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.0008852/0.7521, allocations: 0.6935 MB / 1.197 GB, free: 9.922 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.079e-05/0.7521, allocations: 8.031 kB / 1.197 GB, free: 9.914 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.167e-05/0.7522, allocations: 66.48 kB / 1.197 GB, free: 9.84 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009107/0.7531, allocations: 123.4 kB / 1.197 GB, free: 9.719 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003657/0.7535, allocations: 325.1 kB / 1.197 GB, free: 9.363 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.775e-05/0.7536, allocations: 54.25 kB / 1.197 GB, free: 9.305 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.896e-05/0.7536, allocations: 24 kB / 1.197 GB, free: 9.281 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005718/0.7542, allocations: 370.1 kB / 1.198 GB, free: 8.898 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.7542, allocations: 0 / 1.198 GB, free: 8.898 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.953e-05/0.7542, allocations: 15.94 kB / 1.198 GB, free: 8.883 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.197e-06/0.7543, allocations: 11.98 kB / 1.198 GB, free: 8.871 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004837/0.7547, allocations: 278 kB / 1.198 GB, free: 8.598 MB / 0.9512 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001622/0.7564, allocations: 1.492 MB / 1.2 GB, free: 6.98 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003702/0.7568, allocations: 194.5 kB / 1.2 GB, free: 6.781 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002046/0.757, allocations: 116.8 kB / 1.2 GB, free: 6.664 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009161/0.7579, allocations: 0.5053 MB / 1.2 GB, free: 6.066 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.284e-05/0.7579, allocations: 38.56 kB / 1.2 GB, free: 6.02 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=15): time 1.262e-06/0.7579, allocations: 0 / 1.2 GB, free: 6.02 MB / 0.9512 GB Notification: Performance of matching and sorting (n=15): time 0.0008622/0.7588, allocations: 357 kB / 1.201 GB, free: 5.664 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.79e-05/0.7588, allocations: 55.39 kB / 1.201 GB, free: 5.598 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002689/0.7591, allocations: 312.5 kB / 1.201 GB, free: 5.277 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.957e-05/0.7592, allocations: 37.7 kB / 1.201 GB, free: 5.234 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001058/0.7593, allocations: 184 kB / 1.201 GB, free: 5.051 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.169e-05/0.7593, allocations: 51.25 kB / 1.201 GB, free: 5 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.259e-05/0.7594, allocations: 45.7 kB / 1.201 GB, free: 4.949 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000101/0.7595, allocations: 342.8 kB / 1.202 GB, free: 4.605 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001841/0.7597, allocations: 83.92 kB / 1.202 GB, free: 4.523 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002246/0.7599, allocations: 151.1 kB / 1.202 GB, free: 4.355 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004049/0.7603, allocations: 252.1 kB / 1.202 GB, free: 4.09 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.7603, allocations: 0 / 1.202 GB, free: 4.09 MB / 0.9512 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005448/0.7609, allocations: 273.1 kB / 1.202 GB, free: 3.816 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.7609, allocations: 10.06 kB / 1.202 GB, free: 3.809 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.7609, allocations: 4 kB / 1.202 GB, free: 3.805 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.7609, allocations: 0 / 1.202 GB, free: 3.805 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002184/0.7612, allocations: 47.91 kB / 1.203 GB, free: 3.758 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.7612, allocations: 4 kB / 1.203 GB, free: 3.754 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000187/0.7614, allocations: 35.67 kB / 1.203 GB, free: 3.719 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.101e-05/0.7614, allocations: 12 kB / 1.203 GB, free: 3.707 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001293/0.7615, allocations: 149.7 kB / 1.203 GB, free: 3.551 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001003/0.7617, allocations: 35.62 kB / 1.203 GB, free: 3.516 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006553/0.7623, allocations: 313.1 kB / 1.203 GB, free: 3.207 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.7623, allocations: 7.938 kB / 1.203 GB, free: 3.199 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.7623, allocations: 0 / 1.203 GB, free: 3.199 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.7623, allocations: 3.984 kB / 1.203 GB, free: 3.195 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001154/0.7635, allocations: 0.8043 MB / 1.204 GB, free: 2.312 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.7635, allocations: 4.219 kB / 1.204 GB, free: 2.309 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001821/0.7637, allocations: 39.91 kB / 1.204 GB, free: 2.27 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.7637, allocations: 3.938 kB / 1.204 GB, free: 2.266 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.585e-05/0.7637, allocations: 8 kB / 1.204 GB, free: 2.258 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.7637, allocations: 4 kB / 1.204 GB, free: 2.254 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.7638, allocations: 4 kB / 1.204 GB, free: 2.25 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000549/0.7643, allocations: 402 kB / 1.204 GB, free: 1.82 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001165/0.7644, allocations: 128.8 kB / 1.204 GB, free: 1.676 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.558e-05/0.7645, allocations: 11.94 kB / 1.204 GB, free: 1.664 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002247/0.7647, allocations: 15.98 kB / 1.204 GB, free: 1.648 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.446e-05/0.7648, allocations: 19.92 kB / 1.204 GB, free: 1.629 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.533e-05/0.7648, allocations: 11.98 kB / 1.204 GB, free: 1.617 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001872/0.765, allocations: 227 kB / 1.205 GB, free: 1.398 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.81e-07/0.765, allocations: 96 / 1.205 GB, free: 1.398 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004274/0.7654, allocations: 127.7 kB / 1.205 GB, free: 1.273 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001129/0.7666, allocations: 1.059 MB / 1.206 GB, free: 180 kB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004705/0.7671, allocations: 228 kB / 1.206 GB, free: 15.95 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.7671, allocations: 4.062 kB / 1.206 GB, free: 15.95 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002125/0.7673, allocations: 107.9 kB / 1.206 GB, free: 15.84 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008316/0.7681, allocations: 166.1 kB / 1.206 GB, free: 15.68 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003464/0.7716, allocations: 3.056 MB / 1.209 GB, free: 12.46 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002981/0.7719, allocations: 0.7834 MB / 1.21 GB, free: 11.66 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0002772/0.7722, allocations: 90.84 kB / 1.21 GB, free: 11.57 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001478/0.7724, allocations: 99.41 kB / 1.21 GB, free: 11.47 MB / 0.9669 GB Notification: Performance of SimCode: time 2.21e-07/0.7724, allocations: 0 / 1.21 GB, free: 11.47 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.687/4.459, allocations: 10.43 MB / 1.22 GB, free: 1.207 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.945/14.4, allocations: 3.953 kB / 1.22 GB, free: 1.203 MB / 0.9669 GB (rm -f Buildings_10_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/Buildings_10_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Sensors.Examples.EntropyFlowRate_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Sensors_Examples_EntropyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Sensors_Examples_EntropyFlowRate.fmu > Buildings_10_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sensors.Examples.EntropyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sensors_Examples_EntropyFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches