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.001742/0.001742, allocations: 96.42 kB / 19.7 MB, free: 2.133 MB / 14.72 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.002051/0.002051, allocations: 207.2 kB / 22.99 MB, free: 4.957 MB / 14.72 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 1.473/1.473, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.159/3.159, allocations: 0.49 GB / 0.7959 GB, free: 35.32 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002086/0.002086, allocations: 69.56 kB / 1.155 GB, free: 25.14 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2973/0.2994, allocations: 176.1 MB / 1.327 GB, free: 0.9297 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.1816/0.4809, allocations: 143.9 MB / 1.468 GB, free: 488 kB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.006073/0.487, allocations: 4.233 MB / 1.472 GB, free: 12.23 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000311/0.4873, allocations: 11.88 kB / 1.472 GB, free: 12.22 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0004586/0.4878, allocations: 135 kB / 1.472 GB, free: 12.09 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.001403/0.4892, allocations: 0.5562 MB / 1.472 GB, free: 11.53 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.00195/0.4911, allocations: 0.806 MB / 1.473 GB, free: 10.73 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0007457/0.4919, allocations: 0.5884 MB / 1.474 GB, free: 10.14 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003228/0.4922, allocations: 157.5 kB / 1.474 GB, free: 9.977 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001498/0.4937, allocations: 0.6733 MB / 1.475 GB, free: 9.301 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005872/0.4943, allocations: 314.8 kB / 1.475 GB, free: 8.992 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 4.367e-05/0.4943, allocations: 20 kB / 1.475 GB, free: 8.973 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001534/0.4959, allocations: 0.861 MB / 1.476 GB, free: 8.109 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.000124/0.496, allocations: 99.7 kB / 1.476 GB, free: 8.012 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0001202/0.4961, allocations: 99.55 kB / 1.476 GB, free: 7.914 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.001039/0.4971, allocations: 0.6815 MB / 1.477 GB, free: 7.23 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.4972, allocations: 0 / 1.477 GB, free: 7.23 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.363e-06/0.4972, allocations: 0 / 1.477 GB, free: 7.23 MB / 1.17 GB Notification: Performance of Transformations before backend: time 6.432e-06/0.4972, allocations: 0 / 1.477 GB, free: 7.23 MB / 1.17 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.0009755/0.4981, allocations: 0.5352 MB / 1.477 GB, free: 6.664 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.4982, allocations: 12.03 kB / 1.477 GB, free: 6.652 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007206/0.4989, allocations: 75.69 kB / 1.477 GB, free: 6.578 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004754/0.4994, allocations: 233.7 kB / 1.477 GB, free: 6.324 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.51e-05/0.4994, allocations: 16 kB / 1.477 GB, free: 6.309 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.136e-05/0.4994, allocations: 16 kB / 1.477 GB, free: 6.293 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005451/0.5, allocations: 292.1 kB / 1.478 GB, free: 5.98 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.5, allocations: 4 kB / 1.478 GB, free: 5.977 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.787e-05/0.5, allocations: 12 kB / 1.478 GB, free: 5.965 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.084e-05/0.5, allocations: 7.938 kB / 1.478 GB, free: 5.957 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004672/0.5005, allocations: 212 kB / 1.478 GB, free: 5.75 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001633/0.5021, allocations: 1.101 MB / 1.479 GB, free: 4.586 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003258/0.5025, allocations: 172.9 kB / 1.479 GB, free: 4.371 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002182/0.5027, allocations: 108.2 kB / 1.479 GB, free: 4.25 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007209/0.5034, allocations: 103.9 kB / 1.479 GB, free: 4.148 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.645e-05/0.5034, allocations: 50.62 kB / 1.479 GB, free: 4.09 MB / 1.17 GB Notification: Performance of pre-optimization done (n=13): time 1.383e-06/0.5034, allocations: 0 / 1.479 GB, free: 4.09 MB / 1.17 GB Notification: Performance of matching and sorting (n=13): time 0.0008214/0.5043, allocations: 269.8 kB / 1.48 GB, free: 3.82 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001031/0.5044, allocations: 166.1 kB / 1.48 GB, free: 3.621 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000207/0.5046, allocations: 200.2 kB / 1.48 GB, free: 3.418 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 3.267e-05/0.5046, allocations: 25.7 kB / 1.48 GB, free: 3.387 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001257/0.5047, allocations: 160.3 kB / 1.48 GB, free: 3.227 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 4.904e-05/0.5048, allocations: 47.62 kB / 1.48 GB, free: 3.18 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.542e-05/0.5049, allocations: 45.66 kB / 1.48 GB, free: 3.129 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001476/0.505, allocations: 334.8 kB / 1.481 GB, free: 2.793 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001812/0.5052, allocations: 63.95 kB / 1.481 GB, free: 2.73 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003036/0.5055, allocations: 249.2 kB / 1.481 GB, free: 2.434 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004003/0.5059, allocations: 207.5 kB / 1.481 GB, free: 2.203 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.5059, allocations: 4 kB / 1.481 GB, free: 2.199 MB / 1.17 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005474/0.5064, allocations: 233.3 kB / 1.481 GB, free: 1.965 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.5065, allocations: 8 kB / 1.481 GB, free: 1.957 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/0.5065, allocations: 4 kB / 1.481 GB, free: 1.953 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.5065, allocations: 0 / 1.481 GB, free: 1.953 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002195/0.5067, allocations: 44.16 kB / 1.481 GB, free: 1.91 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.5067, allocations: 8 kB / 1.481 GB, free: 1.902 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000184/0.5069, allocations: 23.88 kB / 1.481 GB, free: 1.879 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.326e-05/0.5069, allocations: 12 kB / 1.481 GB, free: 1.867 MB / 1.17 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.0001559/0.5071, allocations: 149.7 kB / 1.482 GB, free: 1.711 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001549/0.5072, allocations: 27.86 kB / 1.482 GB, free: 1.684 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004965/0.5077, allocations: 181.8 kB / 1.482 GB, free: 1.492 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.581e-06/0.5077, allocations: 4 kB / 1.482 GB, free: 1.488 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.5078, allocations: 0 / 1.482 GB, free: 1.488 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.5078, allocations: 0 / 1.482 GB, free: 1.488 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001031/0.5088, allocations: 0.7766 MB / 1.483 GB, free: 0.6562 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.5088, allocations: 4 kB / 1.483 GB, free: 0.6523 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001228/0.5089, allocations: 23.92 kB / 1.483 GB, free: 0.6289 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.17e-06/0.5089, allocations: 4.125 kB / 1.483 GB, free: 0.625 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.588e-05/0.5089, allocations: 7.984 kB / 1.483 GB, free: 0.6172 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.943e-06/0.5089, allocations: 7.938 kB / 1.483 GB, free: 0.6094 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.5089, allocations: 0 / 1.483 GB, free: 0.6094 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005974/0.5095, allocations: 343.7 kB / 1.483 GB, free: 248 kB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 6.009e-05/0.5096, allocations: 23.84 kB / 1.483 GB, free: 224 kB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.096e-05/0.5096, allocations: 15.88 kB / 1.483 GB, free: 208 kB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001615/0.5098, allocations: 11.94 kB / 1.483 GB, free: 196 kB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.589e-05/0.5098, allocations: 7.984 kB / 1.483 GB, free: 188 kB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.308e-06/0.5099, allocations: 4 kB / 1.483 GB, free: 184 kB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0001749/0.51, allocations: 176.5 kB / 1.483 GB, free: 8 kB / 1.17 GB Notification: Performance of sort global known variables: time 7e-08/0.51, allocations: 0 / 1.483 GB, free: 8 kB / 1.17 GB Notification: Performance of remove unused functions: time 0.0005338/0.5106, allocations: 107.9 kB / 1.483 GB, free: 15.9 MB / 1.186 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.0004469/0.511, allocations: 202.9 kB / 1.483 GB, free: 15.69 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0004228/0.5114, allocations: 152 kB / 1.484 GB, free: 15.54 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.5114, allocations: 0 / 1.484 GB, free: 15.54 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0001579/0.5116, allocations: 55.91 kB / 1.484 GB, free: 15.49 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005645/0.5122, allocations: 77.42 kB / 1.484 GB, free: 15.41 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008363/0.513, allocations: 496.2 kB / 1.484 GB, free: 14.89 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001585/0.5132, allocations: 145.8 kB / 1.484 GB, free: 14.72 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0001525/0.5133, allocations: 49.61 kB / 1.484 GB, free: 14.68 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.9e-05/0.5134, allocations: 27.42 kB / 1.484 GB, free: 14.65 MB / 1.186 GB Notification: Performance of SimCode: time 4.01e-07/0.5134, allocations: 0 / 1.484 GB, free: 14.65 MB / 1.186 GB Notification: Performance of Templates: time 0.009914/0.5233, allocations: 4.742 MB / 1.489 GB, free: 9.988 MB / 1.186 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 -s gbode -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/jenkins1/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: 8.938434844996664]