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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008335/0.0008335, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.000824/0.000824, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8486/0.8486, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.717/1.717, allocations: 389 MB / 0.6338 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,variableFilter="time|senStr.port_a.m_flow|senStr.s|senFloSou.s",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 1.001 GB, free: 13 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.717e-05/2.899e-05, allocations: 4.953 kB / 1.001 GB, free: 13 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.649/0.6491, allocations: 143.8 MB / 1.141 GB, free: 10.37 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.004607/0.6537, allocations: 4.191 MB / 1.145 GB, free: 7.574 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000459/0.6541, allocations: 14 kB / 1.145 GB, free: 7.566 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.000511/0.6546, allocations: 126.8 kB / 1.146 GB, free: 7.484 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.001538/0.6562, allocations: 0.5789 MB / 1.146 GB, free: 7.176 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.002025/0.6582, allocations: 0.8174 MB / 1.147 GB, free: 6.785 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.0007535/0.6589, allocations: 0.5523 MB / 1.148 GB, free: 6.531 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000304/0.6593, allocations: 151.8 kB / 1.148 GB, free: 6.461 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001514/0.6608, allocations: 0.7298 MB / 1.148 GB, free: 6.137 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005689/0.6613, allocations: 278 kB / 1.149 GB, free: 6.047 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 3.752e-05/0.6614, allocations: 17.91 kB / 1.149 GB, free: 6.047 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0017/0.6631, allocations: 0.8652 MB / 1.149 GB, free: 5.727 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0001243/0.6632, allocations: 91.3 kB / 1.15 GB, free: 5.688 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0001133/0.6633, allocations: 89.19 kB / 1.15 GB, free: 5.652 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.001147/0.6645, allocations: 0.7327 MB / 1.15 GB, free: 5.414 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.6645, allocations: 4 kB / 1.15 GB, free: 5.41 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.265e-06/0.6645, allocations: 1.094 kB / 1.15 GB, free: 5.41 MB / 1.01 GB Notification: Performance of Transformations before backend: time 7.534e-06/0.6645, allocations: 0 / 1.15 GB, free: 5.41 MB / 1.01 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.000925/0.6654, allocations: 0.5262 MB / 1.151 GB, free: 4.988 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 5.114e-05/0.6654, allocations: 9.562 kB / 1.151 GB, free: 4.988 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004773/0.6659, allocations: 84.73 kB / 1.151 GB, free: 4.961 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003879/0.6663, allocations: 231.3 kB / 1.151 GB, free: 4.781 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.054e-05/0.6663, allocations: 12.91 kB / 1.151 GB, free: 4.777 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.538e-05/0.6664, allocations: 21.47 kB / 1.151 GB, free: 4.77 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004458/0.6668, allocations: 287.2 kB / 1.152 GB, free: 4.609 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.6668, allocations: 0 / 1.152 GB, free: 4.609 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.959e-05/0.6669, allocations: 6.5 kB / 1.152 GB, free: 4.605 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.097e-05/0.6669, allocations: 4.594 kB / 1.152 GB, free: 4.605 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003393/0.6672, allocations: 212.8 kB / 1.152 GB, free: 4.539 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001377/0.6686, allocations: 1.094 MB / 1.153 GB, free: 3.652 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003196/0.6689, allocations: 175 kB / 1.153 GB, free: 3.5 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000184/0.6691, allocations: 111.2 kB / 1.153 GB, free: 3.438 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005235/0.6696, allocations: 104.4 kB / 1.153 GB, free: 3.426 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.029e-05/0.6697, allocations: 43.59 kB / 1.153 GB, free: 3.379 MB / 1.01 GB Notification: Performance of pre-optimization done (n=13): time 3.446e-06/0.6697, allocations: 0 / 1.153 GB, free: 3.379 MB / 1.01 GB Notification: Performance of matching and sorting (n=13): time 0.0008058/0.6705, allocations: 262.4 kB / 1.153 GB, free: 3.285 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001043/0.6706, allocations: 166.3 kB / 1.154 GB, free: 3.09 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002545/0.6708, allocations: 199.5 kB / 1.154 GB, free: 2.961 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 2.64e-05/0.6709, allocations: 31.14 kB / 1.154 GB, free: 2.926 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001531/0.671, allocations: 162.2 kB / 1.154 GB, free: 2.785 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 5.057e-05/0.6711, allocations: 44.98 kB / 1.154 GB, free: 2.75 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.601e-05/0.6712, allocations: 44.53 kB / 1.154 GB, free: 2.723 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001402/0.6713, allocations: 330 kB / 1.154 GB, free: 2.402 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001563/0.6715, allocations: 66.55 kB / 1.154 GB, free: 2.387 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002681/0.6717, allocations: 249.1 kB / 1.155 GB, free: 2.16 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003555/0.6721, allocations: 209.8 kB / 1.155 GB, free: 2.039 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/0.6721, allocations: 1 kB / 1.155 GB, free: 2.039 MB / 1.01 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004887/0.6726, allocations: 253.9 kB / 1.155 GB, free: 1.926 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 3.675e-05/0.6726, allocations: 6.031 kB / 1.155 GB, free: 1.926 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/0.6726, allocations: 2.219 kB / 1.155 GB, free: 1.926 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.121e-05/0.6726, allocations: 3.859 kB / 1.155 GB, free: 1.926 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001805/0.6728, allocations: 42.66 kB / 1.155 GB, free: 1.918 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.502e-05/0.6728, allocations: 2.891 kB / 1.155 GB, free: 1.918 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001446/0.673, allocations: 20.98 kB / 1.155 GB, free: 1.91 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.971e-05/0.673, allocations: 17.75 kB / 1.155 GB, free: 1.902 MB / 1.01 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.0001867/0.6732, allocations: 144.8 kB / 1.155 GB, free: 1.773 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001092/0.6733, allocations: 25.36 kB / 1.155 GB, free: 1.758 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004679/0.6738, allocations: 184.6 kB / 1.156 GB, free: 1.652 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.718e-06/0.6738, allocations: 3.25 kB / 1.156 GB, free: 1.652 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.298e-06/0.6738, allocations: 1.031 kB / 1.156 GB, free: 1.652 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.655e-06/0.6738, allocations: 1.719 kB / 1.156 GB, free: 1.652 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001136/0.675, allocations: 0.7696 MB / 1.156 GB, free: 1.004 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.675, allocations: 5.344 kB / 1.156 GB, free: 1 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001288/0.6751, allocations: 29.67 kB / 1.156 GB, free: 0.9961 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.118e-05/0.6751, allocations: 2.156 kB / 1.156 GB, free: 0.9961 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.642e-05/0.6751, allocations: 2.156 kB / 1.156 GB, free: 0.9961 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.175e-06/0.6751, allocations: 2.984 kB / 1.156 GB, free: 0.9961 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.6751, allocations: 1.062 kB / 1.156 GB, free: 0.9961 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005383/0.6757, allocations: 342.1 kB / 1.157 GB, free: 0.7578 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 7.29e-05/0.6758, allocations: 27.94 kB / 1.157 GB, free: 0.7422 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.602e-05/0.6758, allocations: 7.969 kB / 1.157 GB, free: 0.7383 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.133e-05/0.6759, allocations: 10.41 kB / 1.157 GB, free: 0.7344 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.316e-05/0.6759, allocations: 13.16 kB / 1.157 GB, free: 0.7305 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.927e-05/0.676, allocations: 4.609 kB / 1.157 GB, free: 0.7305 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0001958/0.6762, allocations: 172.2 kB / 1.157 GB, free: 0.625 MB / 1.01 GB Notification: Performance of sort global known variables: time 5e-08/0.6762, allocations: 480 / 1.157 GB, free: 0.625 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0007382/0.6769, allocations: 107.7 kB / 1.157 GB, free: 0.5977 MB / 1.01 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.000645/0.6775, allocations: 212.9 kB / 1.157 GB, free: 488 kB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0004369/0.678, allocations: 153.7 kB / 1.157 GB, free: 444 kB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.678, allocations: 0 / 1.157 GB, free: 444 kB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0001225/0.6781, allocations: 62.42 kB / 1.157 GB, free: 424 kB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004667/0.6786, allocations: 62.12 kB / 1.157 GB, free: 412 kB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001131/0.6797, allocations: 485.4 kB / 1.158 GB, free: 52 kB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002346/0.6799, allocations: 155.8 kB / 1.158 GB, free: 15.96 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.916e-05/0.68, allocations: 22.34 kB / 1.158 GB, free: 15.95 MB / 1.026 GB Notification: Performance of SimCode: time 1.704e-06/0.68, allocations: 0 / 1.158 GB, free: 15.95 MB / 1.026 GB Notification: Performance of Templates: time 0.00998/0.69, allocations: 4.535 MB / 1.163 GB, free: 15.46 MB / 1.026 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_SpecificEntropy.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEntropy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.680493897758424]