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.001336/0.001336, allocations: 102.2 kB / 16.35 MB, free: 5.875 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001386/0.001386, allocations: 194.3 kB / 17.3 MB, free: 5.516 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.347/1.347, allocations: 222.9 MB / 241 MB, free: 14.99 MB / 206.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.455/2.455, allocations: 437.1 MB / 0.7112 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 64.75 kB / 0.8707 GB, free: 1.477 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2797/0.281, allocations: 151.6 MB / 1.019 GB, free: 9.887 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.6958/0.9769, allocations: 163.2 MB / 1.178 GB, free: 10.86 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.005751/0.9827, allocations: 4.577 MB / 1.183 GB, free: 7.211 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004767/0.9832, allocations: 10.59 kB / 1.183 GB, free: 7.207 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0004447/0.9836, allocations: 125.2 kB / 1.183 GB, free: 7.098 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.001427/0.9851, allocations: 0.5366 MB / 1.183 GB, free: 6.691 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001925/0.9871, allocations: 0.7663 MB / 1.184 GB, free: 6.133 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0007466/0.9878, allocations: 0.5796 MB / 1.185 GB, free: 5.801 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003433/0.9882, allocations: 214.9 kB / 1.185 GB, free: 5.672 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001007/0.9892, allocations: 465 kB / 1.185 GB, free: 5.383 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005429/0.9898, allocations: 291.2 kB / 1.186 GB, free: 5.215 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 3.352e-05/0.9898, allocations: 16.78 kB / 1.186 GB, free: 5.215 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001751/0.9916, allocations: 1.002 MB / 1.187 GB, free: 4.652 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0001071/0.9917, allocations: 89.08 kB / 1.187 GB, free: 4.594 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001323/0.9918, allocations: 125.8 kB / 1.187 GB, free: 4.516 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001078/0.9929, allocations: 0.7114 MB / 1.187 GB, free: 4.09 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.9929, allocations: 0 / 1.187 GB, free: 4.09 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.473e-06/0.9929, allocations: 5.25 kB / 1.187 GB, free: 4.086 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.612e-06/0.9929, allocations: 0 / 1.187 GB, free: 4.086 MB / 0.8887 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.0008767/0.9938, allocations: 0.5957 MB / 1.188 GB, free: 3.543 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.9939, allocations: 9.953 kB / 1.188 GB, free: 3.543 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006443/0.9945, allocations: 75.09 kB / 1.188 GB, free: 3.508 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004608/0.995, allocations: 301.4 kB / 1.188 GB, free: 3.223 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.795e-05/0.995, allocations: 16 kB / 1.188 GB, free: 3.215 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.407e-05/0.9951, allocations: 17.19 kB / 1.188 GB, free: 3.211 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004805/0.9956, allocations: 292.2 kB / 1.189 GB, free: 2.996 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.9956, allocations: 0 / 1.189 GB, free: 2.996 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.248e-05/0.9956, allocations: 6.375 kB / 1.189 GB, free: 2.992 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.227e-05/0.9956, allocations: 8.562 kB / 1.189 GB, free: 2.988 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004107/0.996, allocations: 205.1 kB / 1.189 GB, free: 2.891 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001541/0.9976, allocations: 1.238 MB / 1.19 GB, free: 1.766 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002682/0.9979, allocations: 172.8 kB / 1.19 GB, free: 1.602 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001789/0.9981, allocations: 121.1 kB / 1.19 GB, free: 1.512 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007085/0.9988, allocations: 331.1 kB / 1.191 GB, free: 1.191 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.819e-05/0.9988, allocations: 37.53 kB / 1.191 GB, free: 1.148 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=13): time 1.463e-06/0.9988, allocations: 0 / 1.191 GB, free: 1.148 MB / 0.8887 GB Notification: Performance of matching and sorting (n=13): time 0.0007113/0.9995, allocations: 276.8 kB / 1.191 GB, free: 1 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.828e-05/0.9996, allocations: 160.3 kB / 1.191 GB, free: 0.8086 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000279/0.9999, allocations: 286.4 kB / 1.191 GB, free: 0.625 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.689e-05/1, allocations: 38.89 kB / 1.191 GB, free: 0.582 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001094/1, allocations: 145 kB / 1.192 GB, free: 460 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 4.107e-05/1, allocations: 48.91 kB / 1.192 GB, free: 416 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.971e-05/1, allocations: 46.98 kB / 1.192 GB, free: 380 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001492/1, allocations: 340.9 kB / 1.192 GB, free: 36 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001594/1.001, allocations: 66.5 kB / 1.192 GB, free: 4 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002356/1.001, allocations: 139.1 kB / 1.192 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003537/1.001, allocations: 215.1 kB / 1.192 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/1.001, allocations: 0 / 1.192 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004806/1.002, allocations: 248.2 kB / 1.193 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 3.037e-05/1.002, allocations: 11.77 kB / 1.193 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-06/1.002, allocations: 2.781 kB / 1.193 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/1.002, allocations: 2.266 kB / 1.193 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001902/1.002, allocations: 44.72 kB / 1.193 GB, free: 15.58 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/1.002, allocations: 2.969 kB / 1.193 GB, free: 15.58 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002006/1.002, allocations: 23.64 kB / 1.193 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.27e-05/1.002, allocations: 14.62 kB / 1.193 GB, free: 15.56 MB / 0.9044 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.0001404/1.002, allocations: 153.9 kB / 1.193 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001439/1.002, allocations: 25.09 kB / 1.193 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004588/1.003, allocations: 196.5 kB / 1.193 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/1.003, allocations: 2.438 kB / 1.193 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/1.003, allocations: 2.438 kB / 1.193 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/1.003, allocations: 0 / 1.193 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009936/1.004, allocations: 0.8563 MB / 1.194 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/1.004, allocations: 2.5 kB / 1.194 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001178/1.004, allocations: 26.08 kB / 1.194 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.092e-06/1.004, allocations: 5.406 kB / 1.194 GB, free: 14.44 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.433e-05/1.004, allocations: 7.094 kB / 1.194 GB, free: 14.44 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/1.004, allocations: 1.312 kB / 1.194 GB, free: 14.44 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/1.004, allocations: 1.25 kB / 1.194 GB, free: 14.44 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005553/1.005, allocations: 338.4 kB / 1.194 GB, free: 14.17 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 9.748e-05/1.005, allocations: 111.1 kB / 1.194 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.125e-05/1.005, allocations: 10.31 kB / 1.194 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001565/1.005, allocations: 9.453 kB / 1.194 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.594e-05/1.005, allocations: 20.95 kB / 1.194 GB, free: 14.03 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.256e-06/1.005, allocations: 3.875 kB / 1.194 GB, free: 14.03 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0002247/1.005, allocations: 232.4 kB / 1.195 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.4e-07/1.005, allocations: 0 / 1.195 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0004873/1.006, allocations: 96.75 kB / 1.195 GB, free: 13.86 MB / 0.9044 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.0005132/1.006, allocations: 218.5 kB / 1.195 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003914/1.007, allocations: 151.6 kB / 1.195 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 5.721e-06/1.007, allocations: 7.938 kB / 1.195 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001429/1.007, allocations: 61.19 kB / 1.195 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007402/1.008, allocations: 142.7 kB / 1.195 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000903/1.009, allocations: 492 kB / 1.196 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003235/1.009, allocations: 0.7673 MB / 1.197 GB, free: 12.43 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0001687/1.009, allocations: 58.33 kB / 1.197 GB, free: 12.41 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.201e-05/1.009, allocations: 25.89 kB / 1.197 GB, free: 12.4 MB / 0.9044 GB Notification: Performance of SimCode: time 3.3e-07/1.009, allocations: 4 kB / 1.197 GB, free: 12.4 MB / 0.9044 GB Notification: Performance of Templates: time 0.009978/1.019, allocations: 5.814 MB / 1.202 GB, free: 9.496 MB / 0.9044 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 -s gbode -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