Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.001593/0.001592, allocations: 114.5 kB / 16.42 MB, free: 6.496 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.001894/0.001894, allocations: 188.3 kB / 17.35 MB, free: 5.758 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.409/1.409, allocations: 222.9 MB / 241.1 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.614/2.614, allocations: 472.7 MB / 0.746 GB, free: 472 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 63.89 kB / 1.07 GB, free: 9.551 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7481/0.7494, allocations: 159.9 MB / 1.226 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.1594/0.9089, allocations: 163.2 MB / 1.386 GB, free: 9.809 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.005518/0.9144, allocations: 4.582 MB / 1.39 GB, free: 5.219 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003391/0.9148, allocations: 11.94 kB / 1.39 GB, free: 5.207 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0004309/0.9153, allocations: 127 kB / 1.39 GB, free: 5.082 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.001209/0.9165, allocations: 0.5602 MB / 1.391 GB, free: 4.52 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.00172/0.9182, allocations: 0.7822 MB / 1.392 GB, free: 3.738 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.0006732/0.9189, allocations: 0.5807 MB / 1.392 GB, free: 3.156 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004285/0.9194, allocations: 217.1 kB / 1.392 GB, free: 2.945 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009992/0.9204, allocations: 474.3 kB / 1.393 GB, free: 2.48 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006012/0.921, allocations: 302.8 kB / 1.393 GB, free: 2.184 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 5.252e-05/0.921, allocations: 16 kB / 1.393 GB, free: 2.168 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001662/0.9227, allocations: 1.002 MB / 1.394 GB, free: 1.164 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0001139/0.9228, allocations: 87.78 kB / 1.394 GB, free: 1.078 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.000148/0.923, allocations: 131.3 kB / 1.394 GB, free: 0.9492 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.001207/0.9242, allocations: 0.7138 MB / 1.395 GB, free: 240 kB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.9242, allocations: 0 / 1.395 GB, free: 240 kB / 1.107 GB Notification: Performance of FrontEnd: time 1.092e-06/0.9242, allocations: 4 kB / 1.395 GB, free: 236 kB / 1.107 GB Notification: Performance of Transformations before backend: time 9.418e-06/0.9243, allocations: 4 kB / 1.395 GB, free: 232 kB / 1.107 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.000971/0.9252, allocations: 0.5952 MB / 1.396 GB, free: 15.58 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.9253, allocations: 12.03 kB / 1.396 GB, free: 15.57 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006826/0.926, allocations: 83.48 kB / 1.396 GB, free: 15.49 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004222/0.9264, allocations: 303.4 kB / 1.396 GB, free: 15.15 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.81e-05/0.9264, allocations: 12 kB / 1.396 GB, free: 15.14 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.681e-05/0.9265, allocations: 20 kB / 1.396 GB, free: 15.12 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004838/0.927, allocations: 283.4 kB / 1.396 GB, free: 14.82 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.927, allocations: 4 kB / 1.396 GB, free: 14.81 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.314e-05/0.927, allocations: 7.938 kB / 1.396 GB, free: 14.8 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.246e-06/0.927, allocations: 7.984 kB / 1.396 GB, free: 14.8 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004455/0.9275, allocations: 207.8 kB / 1.397 GB, free: 14.59 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001609/0.9291, allocations: 1.253 MB / 1.398 GB, free: 13.26 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002787/0.9294, allocations: 169 kB / 1.398 GB, free: 13.05 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001991/0.9296, allocations: 120.4 kB / 1.398 GB, free: 12.91 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007451/0.9304, allocations: 331.2 kB / 1.398 GB, free: 12.54 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.941e-05/0.9304, allocations: 34.56 kB / 1.398 GB, free: 12.49 MB / 1.123 GB Notification: Performance of pre-optimization done (n=13): time 1.664e-06/0.9304, allocations: 0 / 1.398 GB, free: 12.49 MB / 1.123 GB Notification: Performance of matching and sorting (n=13): time 0.0007924/0.9312, allocations: 281.6 kB / 1.399 GB, free: 12.21 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.436e-05/0.9313, allocations: 158.6 kB / 1.399 GB, free: 12.02 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002804/0.9316, allocations: 291 kB / 1.399 GB, free: 11.73 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 2.77e-05/0.9316, allocations: 25.7 kB / 1.399 GB, free: 11.7 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001012/0.9317, allocations: 147.9 kB / 1.399 GB, free: 11.55 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 4.238e-05/0.9318, allocations: 55.53 kB / 1.399 GB, free: 11.49 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.143e-05/0.9319, allocations: 41.8 kB / 1.399 GB, free: 11.45 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001085/0.932, allocations: 342.7 kB / 1.4 GB, free: 11.1 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001682/0.9321, allocations: 71.88 kB / 1.4 GB, free: 11.03 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002222/0.9324, allocations: 146.4 kB / 1.4 GB, free: 10.86 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003677/0.9327, allocations: 219.5 kB / 1.4 GB, free: 10.62 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.9328, allocations: 0 / 1.4 GB, free: 10.62 MB / 1.123 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005165/0.9333, allocations: 245.5 kB / 1.4 GB, free: 10.37 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.9333, allocations: 8 kB / 1.4 GB, free: 10.36 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/0.9333, allocations: 4 kB / 1.4 GB, free: 10.36 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.9333, allocations: 0 / 1.4 GB, free: 10.36 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001968/0.9335, allocations: 39.92 kB / 1.4 GB, free: 10.32 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.9336, allocations: 3.984 kB / 1.4 GB, free: 10.32 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002048/0.9338, allocations: 31.78 kB / 1.4 GB, free: 10.29 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.589e-05/0.9338, allocations: 15.92 kB / 1.4 GB, free: 10.27 MB / 1.123 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.0001331/0.934, allocations: 149.8 kB / 1.401 GB, free: 10.11 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001566/0.9341, allocations: 31.81 kB / 1.401 GB, free: 10.08 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004704/0.9346, allocations: 185.8 kB / 1.401 GB, free: 9.883 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.9346, allocations: 0 / 1.401 GB, free: 9.883 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-06/0.9346, allocations: 4 kB / 1.401 GB, free: 9.879 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001017/0.9347, allocations: 105 kB / 1.401 GB, free: 9.758 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.591e-05/0.9348, allocations: 11.88 kB / 1.401 GB, free: 9.746 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002587/0.935, allocations: 11.98 kB / 1.401 GB, free: 9.734 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.908e-05/0.9351, allocations: 11.92 kB / 1.401 GB, free: 9.723 MB / 1.123 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000515/0.9356, allocations: 0.5252 MB / 1.401 GB, free: 9.188 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006584/0.9363, allocations: 0.6873 MB / 1.402 GB, free: 8.48 MB / 1.123 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001436/0.9364, allocations: 56.05 kB / 1.402 GB, free: 8.426 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0002222/0.9367, allocations: 237.9 kB / 1.402 GB, free: 8.191 MB / 1.123 GB Notification: Performance of Backend: time 3.21e-07/0.9367, allocations: 0 / 1.402 GB, free: 8.191 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.001582/0.9383, allocations: 408 kB / 1.403 GB, free: 7.797 MB / 1.123 GB Notification: Performance of SimCode: time 0.001362/0.9396, allocations: 1.021 MB / 1.404 GB, free: 6.723 MB / 1.123 GB Notification: Performance of Templates: time 0.01322/0.9529, allocations: 7.972 MB / 1.412 GB, free: 14.81 MB / 1.139 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.makefile (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_SpecificEntropy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches