Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.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.001384/0.001384, allocations: 95.92 kB / 19.7 MB, free: 2.129 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.001512/0.001512, allocations: 212 kB / 23 MB, free: 4.934 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.485/1.485, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.166/3.166, allocations: 0.49 GB / 0.7959 GB, free: 35.56 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.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_12_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_12_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate") [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.002068/0.002068, allocations: 63.12 kB / 1.155 GB, free: 25.12 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3313/0.3333, allocations: 176.1 MB / 1.327 GB, free: 0.9648 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.2002/0.5335, allocations: 158.5 MB / 1.482 GB, free: 1.828 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.009847/0.5434, allocations: 7.225 MB / 1.489 GB, free: 10.58 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000533/0.5439, allocations: 23.81 kB / 1.489 GB, free: 10.56 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0007113/0.5446, allocations: 254.2 kB / 1.489 GB, free: 10.31 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.003246/0.5479, allocations: 1.221 MB / 1.49 GB, free: 9.082 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.00192/0.5498, allocations: 0.7583 MB / 1.491 GB, free: 8.324 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.001335/0.5511, allocations: 1.087 MB / 1.492 GB, free: 7.234 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005437/0.5517, allocations: 321.9 kB / 1.493 GB, free: 6.906 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002935/0.5546, allocations: 1.017 MB / 1.494 GB, free: 5.898 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006603/0.5553, allocations: 450.4 kB / 1.494 GB, free: 5.457 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 6.794e-05/0.5553, allocations: 39.94 kB / 1.494 GB, free: 5.418 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00144/0.5568, allocations: 0.7871 MB / 1.495 GB, free: 4.629 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0001774/0.5569, allocations: 159.5 kB / 1.495 GB, free: 4.473 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0002383/0.5572, allocations: 207 kB / 1.495 GB, free: 4.27 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.001332/0.5585, allocations: 0.9149 MB / 1.496 GB, free: 3.352 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.5585, allocations: 0 / 1.496 GB, free: 3.352 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.593e-06/0.5585, allocations: 0 / 1.496 GB, free: 3.352 MB / 1.186 GB Notification: Performance of Transformations before backend: time 8.025e-06/0.5585, allocations: 0 / 1.496 GB, free: 3.352 MB / 1.186 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.001225/0.5597, allocations: 0.7458 MB / 1.497 GB, free: 2.574 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.5598, allocations: 12.03 kB / 1.497 GB, free: 2.562 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001008/0.5608, allocations: 159.4 kB / 1.497 GB, free: 2.406 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006464/0.5614, allocations: 336.4 kB / 1.497 GB, free: 2.051 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.465e-05/0.5615, allocations: 29 kB / 1.497 GB, free: 2.023 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.961e-05/0.5615, allocations: 39.94 kB / 1.497 GB, free: 1.984 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007952/0.5623, allocations: 446.4 kB / 1.498 GB, free: 1.52 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.51e-05/0.5624, allocations: 7.938 kB / 1.498 GB, free: 1.512 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.213e-05/0.5624, allocations: 19.94 kB / 1.498 GB, free: 1.492 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.535e-05/0.5624, allocations: 12 kB / 1.498 GB, free: 1.48 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006396/0.5631, allocations: 319.8 kB / 1.498 GB, free: 1.172 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002017/0.5651, allocations: 1.404 MB / 1.499 GB, free: 15.71 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00042/0.5655, allocations: 218.4 kB / 1.5 GB, free: 15.49 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002682/0.5658, allocations: 140.8 kB / 1.5 GB, free: 15.35 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005295/0.5663, allocations: 79.91 kB / 1.5 GB, free: 15.27 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.736e-05/0.5663, allocations: 30.56 kB / 1.5 GB, free: 15.23 MB / 1.201 GB Notification: Performance of pre-optimization done (n=24): time 2.304e-06/0.5663, allocations: 0 / 1.5 GB, free: 15.23 MB / 1.201 GB Notification: Performance of matching and sorting (n=24): time 0.001174/0.5675, allocations: 443.2 kB / 1.5 GB, free: 14.8 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.512e-05/0.5676, allocations: 55.41 kB / 1.5 GB, free: 14.73 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003608/0.5679, allocations: 288.5 kB / 1.501 GB, free: 14.44 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 3.888e-05/0.568, allocations: 29.7 kB / 1.501 GB, free: 14.4 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002159/0.5682, allocations: 240.2 kB / 1.501 GB, free: 14.16 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 9.397e-05/0.5683, allocations: 99.12 kB / 1.501 GB, free: 14.07 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001209/0.5684, allocations: 61.64 kB / 1.501 GB, free: 14 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001843/0.5686, allocations: 346.8 kB / 1.501 GB, free: 13.65 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002668/0.5688, allocations: 111.9 kB / 1.501 GB, free: 13.54 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003594/0.5692, allocations: 263.7 kB / 1.502 GB, free: 13.24 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005481/0.5697, allocations: 309 kB / 1.502 GB, free: 12.92 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.012e-06/0.5698, allocations: 3.938 kB / 1.502 GB, free: 12.91 MB / 1.201 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006898/0.5704, allocations: 350.1 kB / 1.502 GB, free: 12.57 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.296e-05/0.5705, allocations: 9.406 kB / 1.502 GB, free: 12.56 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.5705, allocations: 0 / 1.502 GB, free: 12.56 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.084e-05/0.5705, allocations: 4.219 kB / 1.502 GB, free: 12.55 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002963/0.5708, allocations: 59.91 kB / 1.502 GB, free: 12.5 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.802e-05/0.5708, allocations: 7.938 kB / 1.502 GB, free: 12.49 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002227/0.571, allocations: 31.83 kB / 1.502 GB, free: 12.46 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.864e-05/0.5711, allocations: 12 kB / 1.502 GB, free: 12.45 MB / 1.201 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.0002056/0.5713, allocations: 169.7 kB / 1.503 GB, free: 12.27 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.399e-05/0.5713, allocations: 31.81 kB / 1.503 GB, free: 12.24 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000747/0.5721, allocations: 358 kB / 1.503 GB, free: 11.89 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.743e-06/0.5721, allocations: 11.98 kB / 1.503 GB, free: 11.88 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.5721, allocations: 0 / 1.503 GB, free: 11.88 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001421/0.5722, allocations: 55.67 kB / 1.503 GB, free: 11.82 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.332e-05/0.5723, allocations: 8 kB / 1.503 GB, free: 11.81 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001813/0.5725, allocations: 8 kB / 1.503 GB, free: 11.8 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.699e-05/0.5725, allocations: 27.84 kB / 1.503 GB, free: 11.78 MB / 1.201 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007512/0.5733, allocations: 395 kB / 1.504 GB, free: 11.39 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009895/0.5743, allocations: 0.6467 MB / 1.504 GB, free: 10.72 MB / 1.201 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002497/0.5745, allocations: 121.8 kB / 1.504 GB, free: 10.61 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0002011/0.5747, allocations: 199.1 kB / 1.504 GB, free: 10.41 MB / 1.201 GB Notification: Performance of Backend: time 5.91e-07/0.5747, allocations: 0 / 1.504 GB, free: 10.41 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.001338/0.5761, allocations: 461.5 kB / 1.505 GB, free: 9.961 MB / 1.201 GB Notification: Performance of SimCode: time 0.001759/0.5778, allocations: 1.216 MB / 1.506 GB, free: 8.695 MB / 1.201 GB Notification: Performance of Templates: time 0.01704/0.5949, allocations: 9.249 MB / 1.515 GB, free: 15.58 MB / 1.217 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/Buildings_12_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & ./Buildings_12_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.203400621998298]