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.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.001491/0.001491, allocations: 106.2 kB / 19.69 MB, free: 2.277 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.001687/0.001687, allocations: 217.9 kB / 23.01 MB, free: 4.602 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.351/1.351, allocations: 230.6 MB / 256.8 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.96/2.96, allocations: 0.505 GB / 0.8108 GB, free: 22.23 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_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: 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.001886/0.001886, allocations: 75 kB / 1.178 GB, free: 16.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3112/0.313, allocations: 180.2 MB / 1.354 GB, free: 7.973 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.1982/0.5113, allocations: 183.2 MB / 1.533 GB, free: 48 kB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.009694/0.5209, allocations: 7.945 MB / 1.541 GB, free: 8.078 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004604/0.5214, allocations: 27.75 kB / 1.541 GB, free: 8.051 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.0006471/0.5221, allocations: 246.2 kB / 1.541 GB, free: 7.809 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.002796/0.5249, allocations: 1.276 MB / 1.542 GB, free: 6.527 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.001729/0.5266, allocations: 0.7734 MB / 1.543 GB, free: 5.754 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.001234/0.5278, allocations: 1.083 MB / 1.544 GB, free: 4.668 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005133/0.5283, allocations: 333.9 kB / 1.544 GB, free: 4.336 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002627/0.531, allocations: 1.027 MB / 1.545 GB, free: 3.316 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000606/0.5316, allocations: 442.4 kB / 1.546 GB, free: 2.883 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 5.449e-05/0.5316, allocations: 36 kB / 1.546 GB, free: 2.848 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001627/0.5332, allocations: 1.021 MB / 1.547 GB, free: 1.824 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.000161/0.5334, allocations: 159.5 kB / 1.547 GB, free: 1.668 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.0002535/0.5337, allocations: 246.8 kB / 1.547 GB, free: 1.426 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.001282/0.5349, allocations: 0.9421 MB / 1.548 GB, free: 492 kB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.5349, allocations: 0 / 1.548 GB, free: 492 kB / 1.232 GB Notification: Performance of FrontEnd: time 1.192e-06/0.5349, allocations: 0 / 1.548 GB, free: 492 kB / 1.232 GB Notification: Performance of Transformations before backend: time 1.393e-05/0.535, allocations: 0 / 1.548 GB, free: 492 kB / 1.232 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.001125/0.5361, allocations: 0.7458 MB / 1.549 GB, free: 15.7 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 3.479e-05/0.5361, allocations: 15.97 kB / 1.549 GB, free: 15.69 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008809/0.537, allocations: 151.5 kB / 1.549 GB, free: 15.54 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005946/0.5376, allocations: 340.5 kB / 1.549 GB, free: 15.18 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.364e-05/0.5376, allocations: 36.88 kB / 1.549 GB, free: 15.14 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.37e-05/0.5377, allocations: 36 kB / 1.549 GB, free: 15.11 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007276/0.5384, allocations: 446.4 kB / 1.55 GB, free: 14.64 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.647e-05/0.5384, allocations: 3.938 kB / 1.55 GB, free: 14.64 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.329e-05/0.5385, allocations: 23.94 kB / 1.55 GB, free: 14.62 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.929e-06/0.5385, allocations: 8 kB / 1.55 GB, free: 14.61 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006032/0.5391, allocations: 319.8 kB / 1.55 GB, free: 14.3 MB / 1.248 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00223/0.5413, allocations: 1.98 MB / 1.552 GB, free: 12.15 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004057/0.5417, allocations: 214.5 kB / 1.552 GB, free: 11.93 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002477/0.542, allocations: 144.7 kB / 1.553 GB, free: 11.79 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004555/0.5424, allocations: 79.91 kB / 1.553 GB, free: 11.71 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.55e-05/0.5425, allocations: 34.97 kB / 1.553 GB, free: 11.67 MB / 1.248 GB Notification: Performance of pre-optimization done (n=24): time 1.603e-06/0.5425, allocations: 0 / 1.553 GB, free: 11.67 MB / 1.248 GB Notification: Performance of matching and sorting (n=24): time 0.0009966/0.5435, allocations: 463.8 kB / 1.553 GB, free: 11.21 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.366e-05/0.5435, allocations: 59.39 kB / 1.553 GB, free: 11.14 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004185/0.5439, allocations: 393.9 kB / 1.554 GB, free: 10.75 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 2.948e-05/0.544, allocations: 29.7 kB / 1.554 GB, free: 10.71 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001738/0.5441, allocations: 232.5 kB / 1.554 GB, free: 10.48 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 7.566e-05/0.5442, allocations: 91.25 kB / 1.554 GB, free: 10.39 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.37e-05/0.5443, allocations: 65.64 kB / 1.554 GB, free: 10.32 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001724/0.5445, allocations: 354.7 kB / 1.554 GB, free: 9.965 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002233/0.5447, allocations: 111.9 kB / 1.554 GB, free: 9.855 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002805/0.545, allocations: 182.7 kB / 1.555 GB, free: 9.652 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005151/0.5455, allocations: 308.2 kB / 1.555 GB, free: 9.328 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.5455, allocations: 0 / 1.555 GB, free: 9.328 MB / 1.248 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006216/0.5461, allocations: 361.6 kB / 1.555 GB, free: 8.969 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.5461, allocations: 10.5 kB / 1.555 GB, free: 8.961 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.688e-06/0.5461, allocations: 224 / 1.555 GB, free: 8.961 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.5461, allocations: 8 kB / 1.555 GB, free: 8.953 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002648/0.5464, allocations: 59.91 kB / 1.555 GB, free: 8.895 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.071e-05/0.5464, allocations: 7.938 kB / 1.555 GB, free: 8.887 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002169/0.5466, allocations: 39.72 kB / 1.555 GB, free: 8.848 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.827e-05/0.5467, allocations: 8 kB / 1.555 GB, free: 8.84 MB / 1.248 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.0001842/0.5469, allocations: 177.6 kB / 1.555 GB, free: 8.656 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.755e-05/0.5469, allocations: 43.72 kB / 1.556 GB, free: 8.613 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006908/0.5476, allocations: 371.7 kB / 1.556 GB, free: 8.246 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.5476, allocations: 0 / 1.556 GB, free: 8.246 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.5476, allocations: 8 kB / 1.556 GB, free: 8.238 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.5476, allocations: 0 / 1.556 GB, free: 8.238 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00141/0.549, allocations: 0.9011 MB / 1.557 GB, free: 7.266 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.549, allocations: 7.938 kB / 1.557 GB, free: 7.258 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002432/0.5493, allocations: 47.92 kB / 1.557 GB, free: 7.211 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.042e-05/0.5493, allocations: 11.92 kB / 1.557 GB, free: 7.199 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.096e-05/0.5493, allocations: 4 kB / 1.557 GB, free: 7.195 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.698e-06/0.5493, allocations: 8.219 kB / 1.557 GB, free: 7.188 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.5493, allocations: 3.938 kB / 1.557 GB, free: 7.184 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009222/0.5502, allocations: 0.622 MB / 1.557 GB, free: 6.523 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001473/0.5504, allocations: 79.58 kB / 1.558 GB, free: 6.445 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.851e-05/0.5504, allocations: 4 kB / 1.558 GB, free: 6.441 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002019/0.5506, allocations: 15.98 kB / 1.558 GB, free: 6.426 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.129e-05/0.5507, allocations: 27.98 kB / 1.558 GB, free: 6.398 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.554e-05/0.5507, allocations: 7.984 kB / 1.558 GB, free: 6.391 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.000295/0.551, allocations: 283.1 kB / 1.558 GB, free: 6.113 MB / 1.248 GB Notification: Performance of sort global known variables: time 9e-08/0.551, allocations: 0 / 1.558 GB, free: 6.113 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.0004111/0.5514, allocations: 111.8 kB / 1.558 GB, free: 6.004 MB / 1.248 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.0002487/0.5517, allocations: 155 kB / 1.558 GB, free: 5.844 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.0005595/0.5522, allocations: 281.7 kB / 1.558 GB, free: 5.57 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/0.5522, allocations: 4 kB / 1.558 GB, free: 5.566 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.0002648/0.5525, allocations: 147.7 kB / 1.559 GB, free: 5.422 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009767/0.5535, allocations: 222.8 kB / 1.559 GB, free: 5.211 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001281/0.5548, allocations: 0.856 MB / 1.56 GB, free: 4.293 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004561/0.5552, allocations: 0.8233 MB / 1.56 GB, free: 3.438 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001129/0.5553, allocations: 39.44 kB / 1.56 GB, free: 3.398 MB / 1.248 GB Notification: Performance of SimCode: time 2.81e-07/0.5553, allocations: 0 / 1.56 GB, free: 3.398 MB / 1.248 GB Notification: Performance of Templates: time 0.0102/0.5655, allocations: 6.87 MB / 1.567 GB, free: 12.6 MB / 1.264 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/jenkins1/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: 11.518891027983045]