Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.000789/0.000789, allocations: 76.5 kB / 19.93 MB, free: 4.629 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.000786/0.000786, allocations: 177.9 kB / 23.21 MB, free: 1.352 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.8618/0.8618, allocations: 177.1 MB / 203.5 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.727/1.727, allocations: 377.8 MB / 0.6228 GB, free: 8.684 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_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_12_Buildings.Fluid.Sensors.Examples.SpecificEntropy") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 0.9822 GB, free: 2.102 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.775e-05/1.915e-05, allocations: 4.953 kB / 0.9822 GB, free: 2.098 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.6405/0.6405, allocations: 143.9 MB / 1.123 GB, free: 15.88 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.004079/0.6446, allocations: 4.209 MB / 1.127 GB, free: 13.07 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004521/0.6451, allocations: 21.69 kB / 1.127 GB, free: 13.06 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004859/0.6455, allocations: 123.9 kB / 1.127 GB, free: 12.98 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001383/0.6469, allocations: 0.5815 MB / 1.128 GB, free: 12.67 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001876/0.6488, allocations: 0.8293 MB / 1.128 GB, free: 12.27 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0007119/0.6495, allocations: 0.5723 MB / 1.129 GB, free: 12.01 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002992/0.6498, allocations: 164.3 kB / 1.129 GB, free: 11.94 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001486/0.6513, allocations: 0.7485 MB / 1.13 GB, free: 11.6 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000586/0.6519, allocations: 282.4 kB / 1.13 GB, free: 11.51 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 3.689e-05/0.6519, allocations: 18.03 kB / 1.13 GB, free: 11.51 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001591/0.6535, allocations: 0.865 MB / 1.131 GB, free: 11.19 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001194/0.6536, allocations: 99.34 kB / 1.131 GB, free: 11.14 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 9.786e-05/0.6537, allocations: 82.47 kB / 1.131 GB, free: 11.11 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001209/0.6549, allocations: 0.7367 MB / 1.132 GB, free: 10.87 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.6549, allocations: 1 kB / 1.132 GB, free: 10.87 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.903e-06/0.6549, allocations: 0 / 1.132 GB, free: 10.87 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 6.743e-06/0.655, allocations: 4 kB / 1.132 GB, free: 10.87 MB / 0.9948 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.0007983/0.6558, allocations: 0.5254 MB / 1.132 GB, free: 10.45 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.6558, allocations: 8.562 kB / 1.132 GB, free: 10.45 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004325/0.6562, allocations: 82.05 kB / 1.132 GB, free: 10.42 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003353/0.6566, allocations: 239.6 kB / 1.133 GB, free: 10.23 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.879e-05/0.6566, allocations: 12.97 kB / 1.133 GB, free: 10.23 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.13e-05/0.6566, allocations: 21.02 kB / 1.133 GB, free: 10.22 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004029/0.657, allocations: 285.3 kB / 1.133 GB, free: 10.07 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.657, allocations: 7.594 kB / 1.133 GB, free: 10.07 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.043e-05/0.6571, allocations: 10.62 kB / 1.133 GB, free: 10.06 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.568e-06/0.6571, allocations: 5.438 kB / 1.133 GB, free: 10.06 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003087/0.6574, allocations: 208.6 kB / 1.133 GB, free: 9.996 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009421/0.6583, allocations: 1.1 MB / 1.134 GB, free: 9.102 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002049/0.6585, allocations: 170 kB / 1.134 GB, free: 8.953 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001267/0.6586, allocations: 108.8 kB / 1.135 GB, free: 8.891 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000404/0.659, allocations: 105.9 kB / 1.135 GB, free: 8.879 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.236e-05/0.6591, allocations: 39.03 kB / 1.135 GB, free: 8.836 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=13): time 2.134e-06/0.6591, allocations: 4 kB / 1.135 GB, free: 8.832 MB / 0.9948 GB Notification: Performance of matching and sorting (n=13): time 0.0005337/0.6596, allocations: 271.1 kB / 1.135 GB, free: 8.73 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.797e-05/0.6596, allocations: 158 kB / 1.135 GB, free: 8.543 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001553/0.6598, allocations: 201.1 kB / 1.135 GB, free: 8.414 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 1.612e-05/0.6598, allocations: 31.84 kB / 1.135 GB, free: 8.379 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 7.438e-05/0.6599, allocations: 155.9 kB / 1.135 GB, free: 8.246 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 2.921e-05/0.6599, allocations: 60.61 kB / 1.135 GB, free: 8.195 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.604e-05/0.66, allocations: 38.06 kB / 1.136 GB, free: 8.172 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 3.951e-05/0.66, allocations: 328.9 kB / 1.136 GB, free: 7.852 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001056/0.6601, allocations: 72.84 kB / 1.136 GB, free: 7.832 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001553/0.6603, allocations: 248.6 kB / 1.136 GB, free: 7.605 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002358/0.6605, allocations: 213.3 kB / 1.136 GB, free: 7.48 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.6605, allocations: 2.172 kB / 1.136 GB, free: 7.48 MB / 0.9948 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003151/0.6608, allocations: 241.4 kB / 1.137 GB, free: 7.379 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.6608, allocations: 6.016 kB / 1.137 GB, free: 7.379 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.6609, allocations: 2.75 kB / 1.137 GB, free: 7.379 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/0.6609, allocations: 3.453 kB / 1.137 GB, free: 7.379 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001191/0.661, allocations: 38.86 kB / 1.137 GB, free: 7.375 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.256e-06/0.661, allocations: 4.297 kB / 1.137 GB, free: 7.375 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.957e-05/0.6611, allocations: 20.58 kB / 1.137 GB, free: 7.367 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.779e-05/0.6611, allocations: 8.953 kB / 1.137 GB, free: 7.367 MB / 0.9948 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 9.511e-05/0.6612, allocations: 161.5 kB / 1.137 GB, free: 7.223 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.422e-05/0.6613, allocations: 26.17 kB / 1.137 GB, free: 7.207 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003052/0.6616, allocations: 178.3 kB / 1.137 GB, free: 7.113 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.6616, allocations: 2.688 kB / 1.137 GB, free: 7.113 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.6616, allocations: 1.344 kB / 1.137 GB, free: 7.113 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.6616, allocations: 2.469 kB / 1.137 GB, free: 7.113 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005797/0.6622, allocations: 0.7805 MB / 1.138 GB, free: 6.453 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.6622, allocations: 1.312 kB / 1.138 GB, free: 6.453 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.923e-05/0.6623, allocations: 30.31 kB / 1.138 GB, free: 6.445 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.628e-06/0.6623, allocations: 1.938 kB / 1.138 GB, free: 6.445 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.468e-06/0.6623, allocations: 6.562 kB / 1.138 GB, free: 6.441 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.6623, allocations: 7.219 kB / 1.138 GB, free: 6.438 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.6623, allocations: 1.625 kB / 1.138 GB, free: 6.438 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003353/0.6626, allocations: 329.3 kB / 1.138 GB, free: 6.211 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.331e-05/0.6627, allocations: 28.53 kB / 1.138 GB, free: 6.195 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.189e-05/0.6627, allocations: 7.625 kB / 1.138 GB, free: 6.191 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.279e-05/0.6628, allocations: 8.031 kB / 1.138 GB, free: 6.191 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.513e-05/0.6628, allocations: 20.61 kB / 1.138 GB, free: 6.18 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.054e-06/0.6628, allocations: 4.531 kB / 1.138 GB, free: 6.18 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0001083/0.6629, allocations: 179.3 kB / 1.138 GB, free: 6.074 MB / 0.9948 GB Notification: Performance of sort global known variables: time 6e-08/0.6629, allocations: 0 / 1.138 GB, free: 6.074 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0004548/0.6634, allocations: 112.2 kB / 1.138 GB, free: 6.043 MB / 0.9948 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.0003854/0.6638, allocations: 216.8 kB / 1.139 GB, free: 5.918 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0002861/0.6641, allocations: 141.8 kB / 1.139 GB, free: 5.883 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.6641, allocations: 1.062 kB / 1.139 GB, free: 5.883 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 9.143e-05/0.6642, allocations: 57.67 kB / 1.139 GB, free: 5.867 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003694/0.6645, allocations: 70.56 kB / 1.139 GB, free: 5.852 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006368/0.6652, allocations: 496 kB / 1.139 GB, free: 5.5 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001134/0.6653, allocations: 148.3 kB / 1.14 GB, free: 5.41 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.342e-05/0.6653, allocations: 27.55 kB / 1.14 GB, free: 5.398 MB / 0.9948 GB Notification: Performance of SimCode: time 8.52e-07/0.6653, allocations: 0 / 1.14 GB, free: 5.398 MB / 0.9948 GB Notification: Performance of Templates: time 0.007198/0.6725, allocations: 4.641 MB / 1.144 GB, free: 4.902 MB / 0.9948 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEntropy.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEntropy.sim & ./Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEntropy -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEntropy_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sensors_Examples_SpecificEntropy.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.74238942284137]