Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001478/0.001478, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001565/0.001565, allocations: 191.9 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.309/1.309, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 2.898/2.898, allocations: 496 MB / 0.7835 GB, free: 33.58 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/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.SpecificEnthalpy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senStr.port_a.m_flow|senStr.h_out|senFloSou.h_out",fileNamePrefix="Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy") translateModel(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senStr.port_a.m_flow|senStr.h_out|senFloSou.h_out",fileNamePrefix="Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001857/0.001857, allocations: 68.08 kB / 1.138 GB, free: 33.84 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3322/0.3341, allocations: 173.6 MB / 1.307 GB, free: 1.746 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.1877/0.5218, allocations: 162 MB / 1.466 GB, free: 15.08 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.006205/0.528, allocations: 4.619 MB / 1.47 GB, free: 10.46 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003699/0.5284, allocations: 11.88 kB / 1.47 GB, free: 10.45 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0004666/0.5288, allocations: 123.1 kB / 1.47 GB, free: 10.32 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.0009158/0.5298, allocations: 354.4 kB / 1.471 GB, free: 9.977 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009017/0.5307, allocations: 294.8 kB / 1.471 GB, free: 9.691 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0007631/0.5314, allocations: 0.5613 MB / 1.471 GB, free: 9.129 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003228/0.5318, allocations: 169.4 kB / 1.471 GB, free: 8.961 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001514/0.5333, allocations: 0.685 MB / 1.472 GB, free: 8.273 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003005/0.5336, allocations: 195.2 kB / 1.472 GB, free: 8.082 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 3.415e-05/0.5336, allocations: 16 kB / 1.472 GB, free: 8.066 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001891/0.5338, allocations: 95.78 kB / 1.472 GB, free: 7.973 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0001147/0.5339, allocations: 91.73 kB / 1.473 GB, free: 7.883 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0001348/0.534, allocations: 123.4 kB / 1.473 GB, free: 7.762 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0004767/0.5345, allocations: 298.8 kB / 1.473 GB, free: 7.469 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.5345, allocations: 0 / 1.473 GB, free: 7.469 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.623e-06/0.5345, allocations: 0 / 1.473 GB, free: 7.469 MB / 1.17 GB Notification: Performance of Transformations before backend: time 8.196e-06/0.5345, allocations: 4 kB / 1.473 GB, free: 7.465 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0008688/0.5354, allocations: 472.8 kB / 1.473 GB, free: 6.973 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.298e-05/0.5354, allocations: 8.031 kB / 1.473 GB, free: 6.965 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001402/0.5356, allocations: 35.75 kB / 1.473 GB, free: 6.93 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003945/0.536, allocations: 229.6 kB / 1.474 GB, free: 6.68 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.815e-05/0.536, allocations: 12 kB / 1.474 GB, free: 6.668 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.291e-05/0.536, allocations: 20 kB / 1.474 GB, free: 6.648 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004421/0.5365, allocations: 261.9 kB / 1.474 GB, free: 6.355 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.5365, allocations: 4 kB / 1.474 GB, free: 6.352 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.789e-05/0.5365, allocations: 11.88 kB / 1.474 GB, free: 6.34 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.5365, allocations: 4 kB / 1.474 GB, free: 6.336 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003265/0.5368, allocations: 147.8 kB / 1.474 GB, free: 6.191 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00147/0.5383, allocations: 1.332 MB / 1.475 GB, free: 4.773 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002996/0.5386, allocations: 175.7 kB / 1.476 GB, free: 4.547 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001724/0.5388, allocations: 89.11 kB / 1.476 GB, free: 4.441 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003193/0.5391, allocations: 47.88 kB / 1.476 GB, free: 4.395 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.838e-05/0.5392, allocations: 42.5 kB / 1.476 GB, free: 4.344 MB / 1.17 GB Notification: Performance of pre-optimization done (n=10): time 1.222e-06/0.5392, allocations: 0 / 1.476 GB, free: 4.344 MB / 1.17 GB Notification: Performance of matching and sorting (n=10): time 0.0005933/0.5397, allocations: 205.3 kB / 1.476 GB, free: 4.137 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001519/0.5399, allocations: 188.5 kB / 1.476 GB, free: 3.91 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002869/0.5402, allocations: 292.2 kB / 1.476 GB, free: 3.621 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 2.083e-05/0.5402, allocations: 29.7 kB / 1.476 GB, free: 3.586 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001221/0.5403, allocations: 147.9 kB / 1.477 GB, free: 3.438 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 3.641e-05/0.5404, allocations: 39.69 kB / 1.477 GB, free: 3.398 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.91e-05/0.5404, allocations: 33.7 kB / 1.477 GB, free: 3.359 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001487/0.5406, allocations: 334.8 kB / 1.477 GB, free: 3.023 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001233/0.5407, allocations: 47.91 kB / 1.477 GB, free: 2.977 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001959/0.5409, allocations: 119.7 kB / 1.477 GB, free: 2.832 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002799/0.5412, allocations: 154.7 kB / 1.477 GB, free: 2.656 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.5412, allocations: 0 / 1.477 GB, free: 2.656 MB / 1.17 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003769/0.5416, allocations: 197.6 kB / 1.477 GB, free: 2.457 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.5416, allocations: 7.938 kB / 1.477 GB, free: 2.449 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.5416, allocations: 8 kB / 1.477 GB, free: 2.441 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.5416, allocations: 0 / 1.477 GB, free: 2.441 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001427/0.5417, allocations: 39.86 kB / 1.478 GB, free: 2.402 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-06/0.5417, allocations: 4 kB / 1.478 GB, free: 2.398 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001471/0.5419, allocations: 24.03 kB / 1.478 GB, free: 2.375 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.543e-05/0.5419, allocations: 16 kB / 1.478 GB, free: 2.359 MB / 1.17 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (15): * Single equations (assignments): 15 * 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.000144/0.5421, allocations: 145.8 kB / 1.478 GB, free: 2.207 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001243/0.5422, allocations: 35.75 kB / 1.478 GB, free: 2.172 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003694/0.5426, allocations: 123.2 kB / 1.478 GB, free: 2.039 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.164e-06/0.5426, allocations: 4 kB / 1.478 GB, free: 2.035 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.5426, allocations: 0 / 1.478 GB, free: 2.035 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.5426, allocations: 4 kB / 1.478 GB, free: 2.031 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009112/0.5435, allocations: 0.7564 MB / 1.479 GB, free: 1.207 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.5435, allocations: 0 / 1.479 GB, free: 1.207 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001191/0.5436, allocations: 19.98 kB / 1.479 GB, free: 1.188 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.781e-06/0.5436, allocations: 4.156 kB / 1.479 GB, free: 1.184 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.297e-05/0.5436, allocations: 8 kB / 1.479 GB, free: 1.176 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.067e-06/0.5436, allocations: 3.938 kB / 1.479 GB, free: 1.172 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.5436, allocations: 0 / 1.479 GB, free: 1.172 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005593/0.5442, allocations: 343.5 kB / 1.479 GB, free: 0.8047 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 7.622e-05/0.5443, allocations: 35.83 kB / 1.479 GB, free: 0.7695 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.234e-05/0.5443, allocations: 0 / 1.479 GB, free: 0.7695 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001264/0.5444, allocations: 19.92 kB / 1.479 GB, free: 0.75 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.375e-05/0.5445, allocations: 11.98 kB / 1.479 GB, free: 0.7383 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.083e-05/0.5445, allocations: 12.06 kB / 1.479 GB, free: 0.7266 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0002201/0.5447, allocations: 207.1 kB / 1.479 GB, free: 0.5273 MB / 1.17 GB Notification: Performance of sort global known variables: time 7e-08/0.5447, allocations: 0 / 1.479 GB, free: 0.5273 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0003233/0.545, allocations: 59.88 kB / 1.479 GB, free: 480 kB / 1.17 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.h_out) * 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.0003636/0.5454, allocations: 140.2 kB / 1.479 GB, free: 340 kB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0003547/0.5457, allocations: 123.8 kB / 1.48 GB, free: 216 kB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.5457, allocations: 4 kB / 1.48 GB, free: 212 kB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0001766/0.5459, allocations: 51.91 kB / 1.48 GB, free: 160 kB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006962/0.5466, allocations: 138.4 kB / 1.48 GB, free: 28 kB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008879/0.5475, allocations: 495.9 kB / 1.48 GB, free: 15.5 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004204/0.5479, allocations: 0.7558 MB / 1.481 GB, free: 14.72 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0001304/0.5481, allocations: 46.25 kB / 1.481 GB, free: 14.67 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.345e-05/0.5481, allocations: 31.42 kB / 1.481 GB, free: 14.64 MB / 1.186 GB Notification: Performance of SimCode: time 2.8e-07/0.5481, allocations: 0 / 1.481 GB, free: 14.64 MB / 1.186 GB Notification: Performance of Templates: time 0.008865/0.557, allocations: 4.338 MB / 1.485 GB, free: 10.36 MB / 1.186 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.sim & ./Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sensors_Examples_SpecificEnthalpy.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.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.296607763506472]