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.0008523/0.0008523, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.000817/0.000817, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 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 0.8829/0.8829, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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 1.764/1.764, allocations: 389 MB / 0.6338 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 1.001 GB, free: 12.98 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.629e-05/1.753e-05, allocations: 2.281 kB / 1.001 GB, free: 12.97 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.6167/0.6168, allocations: 158.4 MB / 1.156 GB, free: 0.5977 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.007554/0.6243, allocations: 7.168 MB / 1.163 GB, free: 11.78 MB / 1.026 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009208/0.6252, allocations: 23.56 kB / 1.163 GB, free: 11.77 MB / 1.026 GB Notification: Performance of NFTyping.typeComponents: time 0.0009102/0.6261, allocations: 255 kB / 1.163 GB, free: 11.6 MB / 1.026 GB Notification: Performance of NFTyping.typeBindings: time 0.003242/0.6294, allocations: 1.247 MB / 1.164 GB, free: 10.95 MB / 1.026 GB Notification: Performance of NFTyping.typeClassSections: time 0.001879/0.6313, allocations: 0.7936 MB / 1.165 GB, free: 10.55 MB / 1.026 GB Notification: Performance of NFFlatten.flatten: time 0.001428/0.6327, allocations: 1.04 MB / 1.166 GB, free: 10.07 MB / 1.026 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000529/0.6332, allocations: 317.6 kB / 1.166 GB, free: 9.938 MB / 1.026 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002762/0.636, allocations: 1.151 MB / 1.167 GB, free: 9.449 MB / 1.026 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006217/0.6366, allocations: 389.6 kB / 1.168 GB, free: 9.332 MB / 1.026 GB Notification: Performance of NFPackage.collectConstants: time 5.53e-05/0.6367, allocations: 37.03 kB / 1.168 GB, free: 9.332 MB / 1.026 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00162/0.6383, allocations: 0.7892 MB / 1.168 GB, free: 9.043 MB / 1.026 GB Notification: Performance of NFScalarize.scalarize: time 0.0001854/0.6385, allocations: 172.9 kB / 1.169 GB, free: 8.961 MB / 1.026 GB Notification: Performance of NFVerifyModel.verify: time 0.0001758/0.6386, allocations: 174.2 kB / 1.169 GB, free: 8.891 MB / 1.026 GB Notification: Performance of NFConvertDAE.convert: time 0.001535/0.6402, allocations: 0.947 MB / 1.17 GB, free: 8.566 MB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.6402, allocations: 4 kB / 1.17 GB, free: 8.562 MB / 1.026 GB Notification: Performance of FrontEnd: time 1.894e-06/0.6402, allocations: 5.438 kB / 1.17 GB, free: 8.559 MB / 1.026 GB Notification: Performance of Transformations before backend: time 8.446e-06/0.6402, allocations: 0 / 1.17 GB, free: 8.559 MB / 1.026 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.001009/0.6412, allocations: 0.7275 MB / 1.17 GB, free: 8.02 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.6412, allocations: 14.58 kB / 1.17 GB, free: 8.016 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005884/0.6418, allocations: 152.9 kB / 1.171 GB, free: 7.977 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004868/0.6423, allocations: 335.4 kB / 1.171 GB, free: 7.73 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.715e-05/0.6423, allocations: 33.19 kB / 1.171 GB, free: 7.715 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.087e-05/0.6424, allocations: 37.11 kB / 1.171 GB, free: 7.703 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005746/0.643, allocations: 452.4 kB / 1.171 GB, free: 7.484 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.398e-05/0.643, allocations: 3.938 kB / 1.171 GB, free: 7.48 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.552e-05/0.643, allocations: 15.84 kB / 1.171 GB, free: 7.469 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.213e-05/0.643, allocations: 10.03 kB / 1.171 GB, free: 7.469 MB / 1.026 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004277/0.6435, allocations: 319.5 kB / 1.172 GB, free: 7.367 MB / 1.026 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001439/0.6449, allocations: 1.394 MB / 1.173 GB, free: 6.371 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003057/0.6452, allocations: 224.1 kB / 1.173 GB, free: 6.273 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001778/0.6454, allocations: 144.8 kB / 1.173 GB, free: 6.219 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003171/0.6457, allocations: 77.67 kB / 1.174 GB, free: 6.215 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.759e-05/0.6457, allocations: 41.03 kB / 1.174 GB, free: 6.172 MB / 1.026 GB Notification: Performance of pre-optimization done (n=24): time 1.863e-06/0.6457, allocations: 0 / 1.174 GB, free: 6.172 MB / 1.026 GB Notification: Performance of matching and sorting (n=24): time 0.0007258/0.6464, allocations: 449.6 kB / 1.174 GB, free: 6.008 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.528e-05/0.6465, allocations: 59.58 kB / 1.174 GB, free: 5.941 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002278/0.6467, allocations: 271.4 kB / 1.174 GB, free: 5.793 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 2.222e-05/0.6467, allocations: 31.02 kB / 1.174 GB, free: 5.758 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001324/0.6469, allocations: 241.4 kB / 1.175 GB, free: 5.562 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 5.897e-05/0.6469, allocations: 87.22 kB / 1.175 GB, free: 5.492 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.1e-05/0.647, allocations: 57.64 kB / 1.175 GB, free: 5.457 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 0.0001022/0.6471, allocations: 343 kB / 1.175 GB, free: 5.129 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001525/0.6472, allocations: 114.6 kB / 1.175 GB, free: 5.094 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002256/0.6475, allocations: 257.8 kB / 1.175 GB, free: 4.898 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003455/0.6478, allocations: 306.8 kB / 1.176 GB, free: 4.738 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.6478, allocations: 0 / 1.176 GB, free: 4.738 MB / 1.026 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004206/0.6482, allocations: 359 kB / 1.176 GB, free: 4.59 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.6483, allocations: 8.672 kB / 1.176 GB, free: 4.59 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.6483, allocations: 5.5 kB / 1.176 GB, free: 4.586 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.6483, allocations: 3.562 kB / 1.176 GB, free: 4.586 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001646/0.6484, allocations: 56.64 kB / 1.176 GB, free: 4.582 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.6485, allocations: 8.047 kB / 1.176 GB, free: 4.578 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001209/0.6486, allocations: 33.5 kB / 1.176 GB, free: 4.559 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.832e-05/0.6486, allocations: 11.08 kB / 1.176 GB, free: 4.559 MB / 1.026 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.0001442/0.6488, allocations: 166.9 kB / 1.176 GB, free: 4.414 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.072e-05/0.6488, allocations: 39 kB / 1.176 GB, free: 4.391 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000482/0.6493, allocations: 359.3 kB / 1.177 GB, free: 4.234 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.6493, allocations: 3.938 kB / 1.177 GB, free: 4.234 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.6493, allocations: 0 / 1.177 GB, free: 4.234 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.6493, allocations: 5.484 kB / 1.177 GB, free: 4.23 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000983/0.6503, allocations: 0.8306 MB / 1.178 GB, free: 3.742 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.6503, allocations: 1.734 kB / 1.178 GB, free: 3.742 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001374/0.6504, allocations: 51.56 kB / 1.178 GB, free: 3.738 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.49e-06/0.6504, allocations: 2.812 kB / 1.178 GB, free: 3.738 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.721e-05/0.6504, allocations: 8.188 kB / 1.178 GB, free: 3.734 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.09e-06/0.6504, allocations: 4.031 kB / 1.178 GB, free: 3.734 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.598e-06/0.6504, allocations: 5.844 kB / 1.178 GB, free: 3.73 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006548/0.6511, allocations: 0.6214 MB / 1.178 GB, free: 3.375 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 8.563e-05/0.6512, allocations: 60.44 kB / 1.178 GB, free: 3.344 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.78e-05/0.6512, allocations: 12.83 kB / 1.178 GB, free: 3.336 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.021e-05/0.6513, allocations: 7.438 kB / 1.178 GB, free: 3.336 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.825e-05/0.6514, allocations: 29.47 kB / 1.178 GB, free: 3.324 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.236e-05/0.6514, allocations: 7.609 kB / 1.178 GB, free: 3.324 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.0001441/0.6515, allocations: 196.3 kB / 1.178 GB, free: 3.215 MB / 1.026 GB Notification: Performance of sort global known variables: time 5e-08/0.6515, allocations: 0 / 1.178 GB, free: 3.215 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.0004082/0.6519, allocations: 124.7 kB / 1.179 GB, free: 3.184 MB / 1.026 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.0002786/0.6522, allocations: 158.9 kB / 1.179 GB, free: 3.074 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.0004281/0.6526, allocations: 275.9 kB / 1.179 GB, free: 2.996 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.6526, allocations: 0 / 1.179 GB, free: 2.996 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.0001819/0.6528, allocations: 145.9 kB / 1.179 GB, free: 2.953 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004855/0.6533, allocations: 124.5 kB / 1.179 GB, free: 2.922 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001039/0.6543, allocations: 0.8027 MB / 1.18 GB, free: 2.398 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002098/0.6546, allocations: 224.9 kB / 1.18 GB, free: 2.301 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.283e-05/0.6546, allocations: 33.44 kB / 1.18 GB, free: 2.293 MB / 1.026 GB Notification: Performance of SimCode: time 8.82e-07/0.6546, allocations: 0 / 1.18 GB, free: 2.293 MB / 1.026 GB Notification: Performance of Templates: time 0.007326/0.662, allocations: 5.809 MB / 1.186 GB, free: 1.664 MB / 1.026 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.093079216778278]