Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.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.001445/0.001445, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.001527/0.001527, allocations: 189.6 kB / 22.23 MB, free: 5.105 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.306/1.306, allocations: 225.6 MB / 251 MB, free: 13.04 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 2.898/2.898, allocations: 0.4893 GB / 0.7884 GB, free: 33.13 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-master/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.MoistAirEnthalpyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senMasFlo.m_flow|senH.h_out|senH_flow.H_flow|senHSen_flow.H_flow|senHLat_flow.H_flow|pro.y|add.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senMasFlo.m_flow|senH.h_out|senH_flow.H_flow|senHSen_flow.H_flow|senHLat_flow.H_flow|pro.y|add.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001821/0.001821, allocations: 63.58 kB / 1.145 GB, free: 30.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2878/0.2896, allocations: 174.9 MB / 1.316 GB, free: 9.699 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.2054/0.495, allocations: 180.3 MB / 1.492 GB, free: 4.695 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.01004/0.5051, allocations: 7.936 MB / 1.5 GB, free: 12.73 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004656/0.5055, allocations: 23.81 kB / 1.5 GB, free: 12.71 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0006475/0.5062, allocations: 250.2 kB / 1.5 GB, free: 12.46 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.002989/0.5092, allocations: 1.284 MB / 1.501 GB, free: 11.18 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.001802/0.511, allocations: 0.7591 MB / 1.502 GB, free: 10.42 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.001294/0.5123, allocations: 1.091 MB / 1.503 GB, free: 9.324 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005385/0.5128, allocations: 333.9 kB / 1.504 GB, free: 8.984 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002808/0.5156, allocations: 1.03 MB / 1.505 GB, free: 7.961 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006006/0.5162, allocations: 446.4 kB / 1.505 GB, free: 7.523 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 6.13e-05/0.5163, allocations: 36 kB / 1.505 GB, free: 7.488 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001759/0.518, allocations: 1.009 MB / 1.506 GB, free: 6.477 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0001944/0.5182, allocations: 171.4 kB / 1.506 GB, free: 6.309 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.000257/0.5185, allocations: 246.8 kB / 1.506 GB, free: 6.066 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.001434/0.5199, allocations: 0.9343 MB / 1.507 GB, free: 5.129 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.5199, allocations: 0 / 1.507 GB, free: 5.129 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.073e-06/0.5199, allocations: 0 / 1.507 GB, free: 5.129 MB / 1.201 GB Notification: Performance of Transformations before backend: time 7.945e-06/0.5199, allocations: 0 / 1.507 GB, free: 5.129 MB / 1.201 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001222/0.5211, allocations: 0.7498 MB / 1.508 GB, free: 4.348 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.5212, allocations: 12.03 kB / 1.508 GB, free: 4.336 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009157/0.5221, allocations: 155.5 kB / 1.508 GB, free: 4.184 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006114/0.5227, allocations: 352.3 kB / 1.509 GB, free: 3.816 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.043e-05/0.5227, allocations: 29 kB / 1.509 GB, free: 3.789 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.719e-05/0.5228, allocations: 36 kB / 1.509 GB, free: 3.754 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007737/0.5236, allocations: 450.4 kB / 1.509 GB, free: 3.289 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.596e-05/0.5236, allocations: 0 / 1.509 GB, free: 3.289 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.812e-05/0.5236, allocations: 19.94 kB / 1.509 GB, free: 3.27 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.042e-05/0.5236, allocations: 8 kB / 1.509 GB, free: 3.262 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006451/0.5243, allocations: 323.7 kB / 1.509 GB, free: 2.945 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002316/0.5266, allocations: 1.964 MB / 1.511 GB, free: 0.8164 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004213/0.527, allocations: 218.4 kB / 1.511 GB, free: 0.5938 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002572/0.5273, allocations: 144.8 kB / 1.512 GB, free: 460 kB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004876/0.5278, allocations: 75.91 kB / 1.512 GB, free: 384 kB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.233e-05/0.5278, allocations: 38.55 kB / 1.512 GB, free: 336 kB / 1.201 GB Notification: Performance of pre-optimization done (n=24): time 1.412e-06/0.5278, allocations: 4 kB / 1.512 GB, free: 332 kB / 1.201 GB Notification: Performance of matching and sorting (n=24): time 0.001078/0.5289, allocations: 451.1 kB / 1.512 GB, free: 15.88 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.954e-05/0.5289, allocations: 55.41 kB / 1.512 GB, free: 15.81 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004465/0.5294, allocations: 405.8 kB / 1.513 GB, free: 15.41 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 2.861e-05/0.5294, allocations: 25.7 kB / 1.513 GB, free: 15.38 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001755/0.5296, allocations: 232.6 kB / 1.513 GB, free: 15.15 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 8.327e-05/0.5297, allocations: 91.22 kB / 1.513 GB, free: 15.06 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.59e-05/0.5298, allocations: 53.7 kB / 1.513 GB, free: 15 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001649/0.5299, allocations: 354.7 kB / 1.513 GB, free: 14.64 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002371/0.5302, allocations: 107.9 kB / 1.513 GB, free: 14.54 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002977/0.5305, allocations: 190.8 kB / 1.514 GB, free: 14.33 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005256/0.531, allocations: 316.7 kB / 1.514 GB, free: 14 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.531, allocations: 0 / 1.514 GB, free: 14 MB / 1.217 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006815/0.5317, allocations: 366.8 kB / 1.514 GB, free: 13.63 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.343e-05/0.5317, allocations: 21.7 kB / 1.514 GB, free: 13.61 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.5317, allocations: 0 / 1.514 GB, free: 13.61 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.255e-05/0.5317, allocations: 4 kB / 1.514 GB, free: 13.61 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002811/0.532, allocations: 59.91 kB / 1.514 GB, free: 13.55 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.478e-06/0.532, allocations: 4 kB / 1.514 GB, free: 13.55 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002383/0.5323, allocations: 35.77 kB / 1.514 GB, free: 13.51 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.681e-05/0.5323, allocations: 12 kB / 1.514 GB, free: 13.5 MB / 1.217 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 (31): * Single equations (assignments): 31 * 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.0001814/0.5325, allocations: 165.7 kB / 1.515 GB, free: 13.33 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.914e-05/0.5325, allocations: 47.72 kB / 1.515 GB, free: 13.28 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007236/0.5333, allocations: 370 kB / 1.515 GB, free: 12.91 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.5333, allocations: 0 / 1.515 GB, free: 12.91 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.5333, allocations: 4 kB / 1.515 GB, free: 12.91 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.5333, allocations: 3.984 kB / 1.515 GB, free: 12.9 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001476/0.5348, allocations: 0.9088 MB / 1.516 GB, free: 11.92 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.5348, allocations: 4 kB / 1.516 GB, free: 11.92 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002479/0.535, allocations: 51.91 kB / 1.516 GB, free: 11.87 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.015e-06/0.535, allocations: 12.16 kB / 1.516 GB, free: 11.86 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.7e-05/0.535, allocations: 8 kB / 1.516 GB, free: 11.85 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.781e-06/0.5351, allocations: 8 kB / 1.516 GB, free: 11.84 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.5351, allocations: 0 / 1.516 GB, free: 11.84 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000977/0.536, allocations: 0.6257 MB / 1.517 GB, free: 11.18 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001805/0.5362, allocations: 71.66 kB / 1.517 GB, free: 11.11 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.501e-05/0.5363, allocations: 11.98 kB / 1.517 GB, free: 11.1 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002132/0.5365, allocations: 12 kB / 1.517 GB, free: 11.09 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.306e-05/0.5365, allocations: 20.03 kB / 1.517 GB, free: 11.07 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.892e-05/0.5366, allocations: 15.92 kB / 1.517 GB, free: 11.05 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0002837/0.5368, allocations: 279.1 kB / 1.517 GB, free: 10.79 MB / 1.217 GB Notification: Performance of sort global known variables: time 9.1e-08/0.5368, allocations: 0 / 1.517 GB, free: 10.79 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0004376/0.5373, allocations: 119.8 kB / 1.517 GB, free: 10.67 MB / 1.217 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 1 (senH.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 (24): * Single equations (assignments): 24 * 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.0003792/0.5377, allocations: 168.8 kB / 1.517 GB, free: 10.5 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0006323/0.5383, allocations: 287.5 kB / 1.517 GB, free: 10.22 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.5383, allocations: 3.938 kB / 1.517 GB, free: 10.22 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0002759/0.5386, allocations: 142.1 kB / 1.518 GB, free: 10.08 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00107/0.5396, allocations: 222.7 kB / 1.518 GB, free: 9.863 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001307/0.541, allocations: 0.8055 MB / 1.519 GB, free: 9.008 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004507/0.5414, allocations: 0.8311 MB / 1.519 GB, free: 8.145 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0002594/0.5417, allocations: 95.41 kB / 1.519 GB, free: 8.051 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.154e-05/0.5418, allocations: 39.42 kB / 1.52 GB, free: 8.016 MB / 1.217 GB Notification: Performance of SimCode: time 3e-07/0.5418, allocations: 0 / 1.52 GB, free: 8.016 MB / 1.217 GB Notification: Performance of Templates: time 0.01438/0.5561, allocations: 7.855 MB / 1.527 GB, free: 280 kB / 1.217 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.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.339537451975048]