Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001541/0.001541, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001745/0.001745, allocations: 213.2 kB / 23.01 MB, free: 4.566 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.455/1.455, allocations: 230.6 MB / 256.8 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.708/2.708, allocations: 476.8 MB / 0.7714 GB, free: 4.258 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.002137/0.002137, allocations: 63.44 kB / 1.119 GB, free: 40.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3241/0.3262, allocations: 170 MB / 1.285 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.206/0.5322, allocations: 166.8 MB / 1.448 GB, free: 3.742 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.00628/0.5385, allocations: 4.634 MB / 1.452 GB, free: 15.1 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003527/0.5388, allocations: 19.81 kB / 1.452 GB, free: 15.08 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0004573/0.5393, allocations: 143 kB / 1.452 GB, free: 14.94 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.001354/0.5406, allocations: 0.5718 MB / 1.453 GB, free: 14.36 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.001905/0.5425, allocations: 0.8169 MB / 1.454 GB, free: 13.55 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0007554/0.5433, allocations: 0.5847 MB / 1.454 GB, free: 12.96 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003242/0.5436, allocations: 173.3 kB / 1.454 GB, free: 12.79 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000978/0.5446, allocations: 486.2 kB / 1.455 GB, free: 12.31 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006188/0.5452, allocations: 314.8 kB / 1.455 GB, free: 12 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 3.445e-05/0.5453, allocations: 16 kB / 1.455 GB, free: 11.99 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001897/0.5472, allocations: 1.107 MB / 1.456 GB, free: 10.88 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.000121/0.5473, allocations: 95.7 kB / 1.456 GB, free: 10.79 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0001636/0.5474, allocations: 131.3 kB / 1.456 GB, free: 10.66 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.001205/0.5486, allocations: 0.7166 MB / 1.457 GB, free: 9.938 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.5486, allocations: 0 / 1.457 GB, free: 9.938 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.583e-06/0.5486, allocations: 0 / 1.457 GB, free: 9.938 MB / 1.154 GB Notification: Performance of Transformations before backend: time 6.673e-06/0.5487, allocations: 0 / 1.457 GB, free: 9.938 MB / 1.154 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.0009887/0.5496, allocations: 0.539 MB / 1.458 GB, free: 9.367 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.5497, allocations: 8.031 kB / 1.458 GB, free: 9.359 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006852/0.5504, allocations: 79.69 kB / 1.458 GB, free: 9.281 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004613/0.5508, allocations: 237.7 kB / 1.458 GB, free: 9.023 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.284e-05/0.5509, allocations: 19.95 kB / 1.458 GB, free: 9.004 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.408e-05/0.5509, allocations: 16 kB / 1.458 GB, free: 8.988 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005311/0.5514, allocations: 291.2 kB / 1.458 GB, free: 8.676 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.5514, allocations: 0 / 1.458 GB, free: 8.676 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.894e-05/0.5515, allocations: 12 kB / 1.458 GB, free: 8.664 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.053e-05/0.5515, allocations: 7.938 kB / 1.458 GB, free: 8.656 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004474/0.5519, allocations: 207.7 kB / 1.458 GB, free: 8.453 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001733/0.5537, allocations: 1.202 MB / 1.46 GB, free: 7.18 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003132/0.554, allocations: 176.9 kB / 1.46 GB, free: 6.961 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001995/0.5542, allocations: 104.2 kB / 1.46 GB, free: 6.844 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00065/0.5548, allocations: 107.9 kB / 1.46 GB, free: 6.738 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.994e-05/0.5549, allocations: 34.69 kB / 1.46 GB, free: 6.695 MB / 1.154 GB Notification: Performance of pre-optimization done (n=13): time 1.903e-06/0.5549, allocations: 4 kB / 1.46 GB, free: 6.691 MB / 1.154 GB Notification: Performance of matching and sorting (n=13): time 0.0007817/0.5556, allocations: 273.3 kB / 1.46 GB, free: 6.418 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001159/0.5558, allocations: 162.2 kB / 1.46 GB, free: 6.223 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003364/0.5561, allocations: 288.7 kB / 1.461 GB, free: 5.93 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 3.055e-05/0.5561, allocations: 37.64 kB / 1.461 GB, free: 5.887 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001346/0.5563, allocations: 151.9 kB / 1.461 GB, free: 5.734 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 4.407e-05/0.5563, allocations: 39.64 kB / 1.461 GB, free: 5.695 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.138e-05/0.5564, allocations: 49.56 kB / 1.461 GB, free: 5.641 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001882/0.5566, allocations: 338.8 kB / 1.461 GB, free: 5.301 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001679/0.5567, allocations: 67.94 kB / 1.461 GB, free: 5.234 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002521/0.557, allocations: 146.7 kB / 1.461 GB, free: 5.062 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000392/0.5574, allocations: 207.5 kB / 1.462 GB, free: 4.832 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.5574, allocations: 0 / 1.462 GB, free: 4.832 MB / 1.154 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005371/0.5579, allocations: 257.2 kB / 1.462 GB, free: 4.574 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.5579, allocations: 8.312 kB / 1.462 GB, free: 4.566 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.5579, allocations: 4 kB / 1.462 GB, free: 4.562 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.973e-05/0.558, allocations: 4 kB / 1.462 GB, free: 4.559 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000197/0.5582, allocations: 31.98 kB / 1.462 GB, free: 4.527 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.139e-05/0.5582, allocations: 11.92 kB / 1.462 GB, free: 4.516 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001983/0.5584, allocations: 32.03 kB / 1.462 GB, free: 4.484 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.579e-05/0.5584, allocations: 23.86 kB / 1.462 GB, free: 4.461 MB / 1.154 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.0001611/0.5586, allocations: 142.4 kB / 1.462 GB, free: 4.312 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001499/0.5587, allocations: 23.86 kB / 1.462 GB, free: 4.289 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004861/0.5592, allocations: 193.7 kB / 1.462 GB, free: 4.082 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.151e-06/0.5592, allocations: 4 kB / 1.462 GB, free: 4.078 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.5592, allocations: 0 / 1.462 GB, free: 4.078 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.5592, allocations: 4 kB / 1.462 GB, free: 4.074 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001102/0.5603, allocations: 0.8267 MB / 1.463 GB, free: 3.18 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/0.5603, allocations: 4 kB / 1.463 GB, free: 3.176 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001201/0.5604, allocations: 19.98 kB / 1.463 GB, free: 3.156 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/0.5605, allocations: 4.094 kB / 1.463 GB, free: 3.152 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.071e-05/0.5605, allocations: 8 kB / 1.463 GB, free: 3.145 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.478e-06/0.5605, allocations: 4 kB / 1.463 GB, free: 3.141 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.5605, allocations: 0 / 1.463 GB, free: 3.141 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005884/0.5611, allocations: 343.4 kB / 1.464 GB, free: 2.773 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 7.375e-05/0.5611, allocations: 35.94 kB / 1.464 GB, free: 2.738 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.268e-05/0.5612, allocations: 8 kB / 1.464 GB, free: 2.73 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000159/0.5613, allocations: 11.98 kB / 1.464 GB, free: 2.719 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.457e-05/0.5614, allocations: 11.92 kB / 1.464 GB, free: 2.707 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.035e-06/0.5614, allocations: 8.062 kB / 1.464 GB, free: 2.699 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0002575/0.5616, allocations: 239 kB / 1.464 GB, free: 2.465 MB / 1.154 GB Notification: Performance of sort global known variables: time 8e-08/0.5616, allocations: 0 / 1.464 GB, free: 2.465 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0004699/0.5621, allocations: 99.8 kB / 1.464 GB, free: 2.367 MB / 1.154 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.0004193/0.5625, allocations: 198.8 kB / 1.464 GB, free: 2.164 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0004208/0.563, allocations: 155.8 kB / 1.464 GB, free: 2.012 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.563, allocations: 0 / 1.464 GB, free: 2.012 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0001467/0.5631, allocations: 55.91 kB / 1.464 GB, free: 1.957 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007959/0.5639, allocations: 141.5 kB / 1.464 GB, free: 1.82 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009512/0.5648, allocations: 0.5251 MB / 1.465 GB, free: 1.246 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004725/0.5653, allocations: 0.7636 MB / 1.466 GB, free: 468 kB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.82e-05/0.5654, allocations: 23.44 kB / 1.466 GB, free: 444 kB / 1.154 GB Notification: Performance of SimCode: time 3e-07/0.5654, allocations: 0 / 1.466 GB, free: 444 kB / 1.154 GB Notification: Performance of Templates: time 0.008956/0.5744, allocations: 5.301 MB / 1.471 GB, free: 11.17 MB / 1.17 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEntropy.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEntropy.sim & ./Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEntropy -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEntropy_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_SpecificEntropy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 12.672669363004388]