Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.001064/0.001064, allocations: 92.16 kB / 16.02 MB, free: 80 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.001478/0.001478, allocations: 173 kB / 16.92 MB, free: 6.652 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.407/1.407, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.398/2.398, allocations: 390.9 MB / 0.667 GB, free: 2.398 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000383/0.000383, allocations: 16 kB / 0.8166 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6947/0.6951, allocations: 142.4 MB / 0.9557 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.1744/0.8695, allocations: 158.9 MB / 1.111 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.006262/0.8759, allocations: 4.562 MB / 1.115 GB, free: 11.32 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004009/0.8763, allocations: 11.88 kB / 1.115 GB, free: 11.3 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0004897/0.8768, allocations: 95.36 kB / 1.115 GB, free: 11.21 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001645/0.8785, allocations: 0.5058 MB / 1.116 GB, free: 10.7 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002038/0.8805, allocations: 0.7161 MB / 1.117 GB, free: 9.988 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001039/0.8816, allocations: 0.8069 MB / 1.117 GB, free: 9.18 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004127/0.882, allocations: 181.4 kB / 1.118 GB, free: 9.004 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00115/0.8832, allocations: 422.4 kB / 1.118 GB, free: 8.59 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007168/0.8839, allocations: 294.9 kB / 1.118 GB, free: 8.301 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 4.851e-05/0.884, allocations: 8 kB / 1.118 GB, free: 8.293 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002258/0.8862, allocations: 1.161 MB / 1.119 GB, free: 7.129 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0001719/0.8864, allocations: 83.78 kB / 1.12 GB, free: 7.047 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0002437/0.8867, allocations: 141.1 kB / 1.12 GB, free: 6.902 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001219/0.8879, allocations: 0.4911 MB / 1.12 GB, free: 6.41 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.8879, allocations: 4 kB / 1.12 GB, free: 6.406 MB / 0.8731 GB Notification: Performance of FrontEnd: time 3.466e-06/0.8879, allocations: 3.984 kB / 1.12 GB, free: 6.402 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 9.237e-06/0.8879, allocations: 0 / 1.12 GB, free: 6.402 MB / 0.8731 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.001208/0.8892, allocations: 0.5529 MB / 1.121 GB, free: 5.801 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.262e-05/0.8892, allocations: 8.031 kB / 1.121 GB, free: 5.793 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007892/0.89, allocations: 79.58 kB / 1.121 GB, free: 5.715 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004486/0.8905, allocations: 287.3 kB / 1.121 GB, free: 5.395 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.175e-05/0.8905, allocations: 15.94 kB / 1.121 GB, free: 5.379 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.464e-05/0.8906, allocations: 24 kB / 1.121 GB, free: 5.355 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006162/0.8912, allocations: 287.5 kB / 1.121 GB, free: 5.047 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.577e-05/0.8912, allocations: 3.938 kB / 1.121 GB, free: 5.043 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.038e-05/0.8913, allocations: 8 kB / 1.121 GB, free: 5.035 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.198e-05/0.8913, allocations: 7.938 kB / 1.121 GB, free: 5.027 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005211/0.8918, allocations: 211.8 kB / 1.122 GB, free: 4.82 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002128/0.894, allocations: 1.253 MB / 1.123 GB, free: 3.484 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003672/0.8943, allocations: 181 kB / 1.123 GB, free: 3.262 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002348/0.8946, allocations: 116.2 kB / 1.123 GB, free: 3.133 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008901/0.8955, allocations: 347.3 kB / 1.123 GB, free: 2.738 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.665e-05/0.8956, allocations: 42.55 kB / 1.123 GB, free: 2.688 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=13): time 3.847e-06/0.8956, allocations: 0 / 1.123 GB, free: 2.688 MB / 0.8731 GB Notification: Performance of matching and sorting (n=13): time 0.0008912/0.8965, allocations: 301.4 kB / 1.124 GB, free: 2.387 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.942e-05/0.8966, allocations: 158.2 kB / 1.124 GB, free: 2.195 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003194/0.8969, allocations: 279 kB / 1.124 GB, free: 1.91 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.451e-05/0.8969, allocations: 33.69 kB / 1.124 GB, free: 1.871 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001232/0.8971, allocations: 143.9 kB / 1.124 GB, free: 1.727 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 5.074e-05/0.8971, allocations: 59.41 kB / 1.124 GB, free: 1.668 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.546e-05/0.8972, allocations: 17.72 kB / 1.124 GB, free: 1.645 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001439/0.8973, allocations: 338.8 kB / 1.125 GB, free: 1.305 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001734/0.8975, allocations: 67.94 kB / 1.125 GB, free: 1.238 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002435/0.8978, allocations: 154 kB / 1.125 GB, free: 1.059 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000406/0.8982, allocations: 227.5 kB / 1.125 GB, free: 0.8086 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.8982, allocations: 0 / 1.125 GB, free: 0.8086 MB / 0.8731 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005853/0.8988, allocations: 261.2 kB / 1.125 GB, free: 0.5469 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/0.8988, allocations: 4.375 kB / 1.125 GB, free: 0.543 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.8988, allocations: 4 kB / 1.125 GB, free: 0.5391 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/0.8988, allocations: 4 kB / 1.125 GB, free: 0.5352 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001994/0.899, allocations: 35.92 kB / 1.125 GB, free: 0.5 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.164e-05/0.8991, allocations: 7.938 kB / 1.125 GB, free: 0.4922 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002468/0.8993, allocations: 31.83 kB / 1.125 GB, free: 472 kB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.699e-05/0.8994, allocations: 19.95 kB / 1.125 GB, free: 452 kB / 0.8731 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.0001613/0.8995, allocations: 149.7 kB / 1.126 GB, free: 292 kB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001646/0.8997, allocations: 23.72 kB / 1.126 GB, free: 268 kB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005013/0.9002, allocations: 209.7 kB / 1.126 GB, free: 44 kB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.015e-05/0.9002, allocations: 4 kB / 1.126 GB, free: 40 kB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.9003, allocations: 0 / 1.126 GB, free: 40 kB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.9003, allocations: 4 kB / 1.126 GB, free: 36 kB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0011/0.9014, allocations: 0.8627 MB / 1.127 GB, free: 15.1 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.441e-06/0.9014, allocations: 4 kB / 1.127 GB, free: 15.09 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001297/0.9015, allocations: 23.98 kB / 1.127 GB, free: 15.07 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.301e-06/0.9015, allocations: 3.938 kB / 1.127 GB, free: 15.07 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.644e-05/0.9016, allocations: 4 kB / 1.127 GB, free: 15.06 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.9016, allocations: 3.938 kB / 1.127 GB, free: 15.06 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/0.9016, allocations: 4 kB / 1.127 GB, free: 15.05 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006341/0.9022, allocations: 355.6 kB / 1.127 GB, free: 14.68 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001297/0.9024, allocations: 132.6 kB / 1.127 GB, free: 14.53 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.927e-05/0.9024, allocations: 4 kB / 1.127 GB, free: 14.52 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001727/0.9026, allocations: 11.98 kB / 1.127 GB, free: 14.51 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.54e-05/0.9026, allocations: 16.05 kB / 1.127 GB, free: 14.5 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.005e-06/0.9026, allocations: 4 kB / 1.127 GB, free: 14.49 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0002555/0.9029, allocations: 233.9 kB / 1.127 GB, free: 14.26 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9029, allocations: 3.938 kB / 1.127 GB, free: 14.26 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0005373/0.9035, allocations: 95.91 kB / 1.128 GB, free: 14.16 MB / 0.8887 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.0006681/0.9041, allocations: 220.6 kB / 1.128 GB, free: 13.95 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0004614/0.9046, allocations: 160 kB / 1.128 GB, free: 13.79 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.9046, allocations: 0 / 1.128 GB, free: 13.79 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.000162/0.9048, allocations: 67.89 kB / 1.128 GB, free: 13.72 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009237/0.9057, allocations: 134.2 kB / 1.128 GB, free: 13.59 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000974/0.9067, allocations: 0.6186 MB / 1.129 GB, free: 12.93 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003461/0.9071, allocations: 0.756 MB / 1.129 GB, free: 12.15 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001001/0.9072, allocations: 27.44 kB / 1.129 GB, free: 12.12 MB / 0.8887 GB Notification: Performance of SimCode: time 3.41e-07/0.9072, allocations: 3.938 kB / 1.129 GB, free: 12.12 MB / 0.8887 GB Notification: Performance of Templates: time 0.009686/0.9169, allocations: 5.193 MB / 1.135 GB, free: 6.965 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEntropy.makefile (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEntropy.sim & ./Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEntropy -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEntropy_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sensors_Examples_SpecificEntropy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEntropy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches