Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEntropy.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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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: translateModel(Buildings.Fluid.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senStr.port_a.m_flow|senStr.s|senFloSou.s",fileNamePrefix="Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEntropy") translateModel(Buildings.Fluid.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senStr.port_a.m_flow|senStr.s|senFloSou.s",fileNamePrefix="Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEntropy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001693/0.001694, allocations: 100.1 kB / 15.88 MB, free: 12 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.002094/0.002094, allocations: 198.2 kB / 16.79 MB, free: 6.809 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.42/1.42, allocations: 222.9 MB / 240.5 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.656/2.656, allocations: 437 MB / 0.7106 GB, free: 5.355 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001499/0.001499, allocations: 59.91 kB / 0.8692 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6639/0.6654, allocations: 151.6 MB / 1.017 GB, free: 2.824 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.1718/0.8372, allocations: 161 MB / 1.174 GB, free: 1.234 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.006054/0.8433, allocations: 4.637 MB / 1.179 GB, free: 12.58 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004892/0.8438, allocations: 7.938 kB / 1.179 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0005263/0.8444, allocations: 99.36 kB / 1.179 GB, free: 12.48 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001544/0.846, allocations: 0.5136 MB / 1.18 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001975/0.848, allocations: 0.7028 MB / 1.18 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0009609/0.849, allocations: 0.8147 MB / 1.181 GB, free: 10.44 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003898/0.8494, allocations: 177.5 kB / 1.181 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001096/0.8505, allocations: 422.4 kB / 1.182 GB, free: 9.848 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006941/0.8512, allocations: 298.9 kB / 1.182 GB, free: 9.555 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 5.698e-05/0.8512, allocations: 12 kB / 1.182 GB, free: 9.543 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001975/0.8532, allocations: 1.169 MB / 1.183 GB, free: 8.371 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001281/0.8534, allocations: 79.78 kB / 1.183 GB, free: 8.293 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.000185/0.8536, allocations: 127.3 kB / 1.183 GB, free: 8.168 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0008715/0.8544, allocations: 0.4912 MB / 1.184 GB, free: 7.676 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.8545, allocations: 4 kB / 1.184 GB, free: 7.672 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.382e-06/0.8545, allocations: 0 / 1.184 GB, free: 7.672 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.868e-06/0.8545, allocations: 0 / 1.184 GB, free: 7.672 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.001115/0.8556, allocations: 0.5918 MB / 1.184 GB, free: 7.031 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.8557, allocations: 12.03 kB / 1.184 GB, free: 7.02 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007171/0.8564, allocations: 75.59 kB / 1.184 GB, free: 6.945 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004179/0.8568, allocations: 283.3 kB / 1.185 GB, free: 6.629 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.942e-05/0.8568, allocations: 16 kB / 1.185 GB, free: 6.613 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.854e-05/0.8569, allocations: 24 kB / 1.185 GB, free: 6.59 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005031/0.8574, allocations: 283.4 kB / 1.185 GB, free: 6.285 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.8574, allocations: 0 / 1.185 GB, free: 6.285 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.36e-05/0.8575, allocations: 7.938 kB / 1.185 GB, free: 6.277 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.686e-06/0.8575, allocations: 15.94 kB / 1.185 GB, free: 6.262 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000458/0.8579, allocations: 211.5 kB / 1.185 GB, free: 6.055 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001655/0.8596, allocations: 1.246 MB / 1.186 GB, free: 4.73 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002985/0.8599, allocations: 173 kB / 1.187 GB, free: 4.516 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000193/0.8601, allocations: 116.2 kB / 1.187 GB, free: 4.387 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007622/0.8609, allocations: 331.2 kB / 1.187 GB, free: 4.008 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.726e-05/0.8609, allocations: 38.69 kB / 1.187 GB, free: 3.961 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=13): time 1.533e-06/0.8609, allocations: 0 / 1.187 GB, free: 3.961 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13): time 0.0007776/0.8617, allocations: 281.1 kB / 1.187 GB, free: 3.68 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.123e-05/0.8618, allocations: 162.5 kB / 1.188 GB, free: 3.484 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000284/0.8621, allocations: 287 kB / 1.188 GB, free: 3.199 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.649e-05/0.8621, allocations: 25.7 kB / 1.188 GB, free: 3.168 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001071/0.8622, allocations: 144.3 kB / 1.188 GB, free: 3.023 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.733e-05/0.8623, allocations: 63.22 kB / 1.188 GB, free: 2.961 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.053e-05/0.8624, allocations: 41.7 kB / 1.188 GB, free: 2.914 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001236/0.8625, allocations: 334.8 kB / 1.188 GB, free: 2.578 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001641/0.8627, allocations: 67.94 kB / 1.188 GB, free: 2.512 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002281/0.8629, allocations: 148.4 kB / 1.189 GB, free: 2.336 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000367/0.8633, allocations: 211.5 kB / 1.189 GB, free: 2.102 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.095e-06/0.8633, allocations: 0 / 1.189 GB, free: 2.102 MB / 0.9356 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005272/0.8638, allocations: 245.2 kB / 1.189 GB, free: 1.855 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/0.8639, allocations: 8 kB / 1.189 GB, free: 1.848 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.056e-06/0.8639, allocations: 0 / 1.189 GB, free: 1.848 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.8639, allocations: 4 kB / 1.189 GB, free: 1.844 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001965/0.8641, allocations: 35.92 kB / 1.189 GB, free: 1.809 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/0.8641, allocations: 4 kB / 1.189 GB, free: 1.805 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002133/0.8644, allocations: 27.83 kB / 1.189 GB, free: 1.777 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.564e-05/0.8644, allocations: 16.05 kB / 1.189 GB, free: 1.762 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (18): * Single equations (assignments): 18 * 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.0001525/0.8646, allocations: 153.8 kB / 1.189 GB, free: 1.602 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001559/0.8647, allocations: 23.72 kB / 1.189 GB, free: 1.578 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004816/0.8652, allocations: 201.6 kB / 1.189 GB, free: 1.363 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.074e-06/0.8652, allocations: 4 kB / 1.189 GB, free: 1.359 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.8652, allocations: 3.938 kB / 1.189 GB, free: 1.355 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.8652, allocations: 0 / 1.189 GB, free: 1.355 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009847/0.8662, allocations: 0.8549 MB / 1.19 GB, free: 436 kB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.8662, allocations: 0 / 1.19 GB, free: 436 kB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001205/0.8664, allocations: 23.98 kB / 1.19 GB, free: 412 kB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.901e-06/0.8664, allocations: 3.938 kB / 1.19 GB, free: 408 kB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.305e-05/0.8664, allocations: 4 kB / 1.19 GB, free: 404 kB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.8664, allocations: 4.234 kB / 1.19 GB, free: 400 kB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.8664, allocations: 8.031 kB / 1.19 GB, free: 392 kB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005491/0.867, allocations: 347.2 kB / 1.191 GB, free: 12 kB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001135/0.8671, allocations: 116.7 kB / 1.191 GB, free: 15.88 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.586e-05/0.8671, allocations: 11.89 kB / 1.191 GB, free: 15.87 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001702/0.8673, allocations: 8 kB / 1.191 GB, free: 15.86 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.47e-05/0.8674, allocations: 7.984 kB / 1.191 GB, free: 15.85 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.175e-06/0.8674, allocations: 4 kB / 1.191 GB, free: 15.85 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002311/0.8676, allocations: 242 kB / 1.191 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8676, allocations: 0 / 1.191 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004816/0.8681, allocations: 95.92 kB / 1.191 GB, free: 15.52 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.s) * 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 (10): * Single equations (assignments): 10 * 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.0006223/0.8687, allocations: 216.7 kB / 1.191 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004191/0.8692, allocations: 151.7 kB / 1.192 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.8692, allocations: 0 / 1.192 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001545/0.8693, allocations: 64.78 kB / 1.192 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008291/0.8702, allocations: 134.3 kB / 1.192 GB, free: 14.97 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009293/0.8711, allocations: 0.5811 MB / 1.192 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003194/0.8715, allocations: 0.7522 MB / 1.193 GB, free: 13.56 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.271e-05/0.8715, allocations: 35.38 kB / 1.193 GB, free: 13.53 MB / 0.9512 GB Notification: Performance of SimCode: time 3.91e-07/0.8716, allocations: 4 kB / 1.193 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of Templates: time 0.009029/0.8806, allocations: 5.215 MB / 1.198 GB, free: 8.34 MB / 0.9512 GB make -j1 -f Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEntropy.makefile (rm -f Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEntropy.sim & ./Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEntropy -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEntropy_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sensors_Examples_SpecificEntropy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEntropy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches