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.00183/0.00183, allocations: 111.2 kB / 17.61 MB, free: 4.703 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.002291/0.002291, allocations: 186 kB / 20.78 MB, free: 1.547 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.545/1.545, allocations: 225.6 MB / 249.4 MB, free: 3.156 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.039/3.039, allocations: 496.2 MB / 0.7819 GB, free: 12.3 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.002036/0.002036, allocations: 63.89 kB / 1.136 GB, free: 10.36 MB / 0.8731 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.14/1.142, allocations: 173.6 MB / 1.305 GB, free: 0.7109 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.2946/1.437, allocations: 180.3 MB / 1.482 GB, free: 0.8203 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.01276/1.449, allocations: 7.923 MB / 1.489 GB, free: 8.875 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008435/1.45, allocations: 19.88 kB / 1.489 GB, free: 8.855 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0009741/1.451, allocations: 254.2 kB / 1.49 GB, free: 8.605 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.004247/1.455, allocations: 1.256 MB / 1.491 GB, free: 7.344 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002348/1.458, allocations: 0.7394 MB / 1.491 GB, free: 6.605 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.00189/1.46, allocations: 1.076 MB / 1.493 GB, free: 5.527 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000989/1.461, allocations: 325.5 kB / 1.493 GB, free: 5.195 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004445/1.465, allocations: 1.016 MB / 1.494 GB, free: 4.191 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001215/1.466, allocations: 446.4 kB / 1.494 GB, free: 3.754 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.000167/1.466, allocations: 40 kB / 1.494 GB, free: 3.715 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00277/1.469, allocations: 0.9977 MB / 1.495 GB, free: 2.715 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0003647/1.47, allocations: 167.4 kB / 1.495 GB, free: 2.551 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0006517/1.47, allocations: 238.8 kB / 1.496 GB, free: 2.316 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.002975/1.473, allocations: 0.9449 MB / 1.497 GB, free: 1.371 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 8.306e-06/1.473, allocations: 4 kB / 1.497 GB, free: 1.367 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.984e-06/1.473, allocations: 0 / 1.497 GB, free: 1.367 MB / 1.17 GB Notification: Performance of Transformations before backend: time 3.671e-05/1.473, allocations: 0 / 1.497 GB, free: 1.367 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001934/1.475, allocations: 0.8133 MB / 1.497 GB, free: 0.5039 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 5.672e-05/1.475, allocations: 15.98 kB / 1.497 GB, free: 500 kB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001194/1.476, allocations: 155.4 kB / 1.498 GB, free: 344 kB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009255/1.477, allocations: 415.7 kB / 1.498 GB, free: 15.89 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.879e-05/1.477, allocations: 29 kB / 1.498 GB, free: 15.86 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.632e-05/1.478, allocations: 36 kB / 1.498 GB, free: 15.82 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009337/1.478, allocations: 450.4 kB / 1.498 GB, free: 15.36 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.825e-05/1.478, allocations: 0 / 1.498 GB, free: 15.36 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.344e-05/1.479, allocations: 19.75 kB / 1.498 GB, free: 15.34 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.387e-05/1.479, allocations: 8 kB / 1.498 GB, free: 15.34 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000697/1.479, allocations: 323.7 kB / 1.499 GB, free: 15.02 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002999/1.482, allocations: 2.016 MB / 1.501 GB, free: 12.83 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004874/1.483, allocations: 218.4 kB / 1.501 GB, free: 12.61 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002894/1.483, allocations: 140.8 kB / 1.501 GB, free: 12.46 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006997/1.484, allocations: 307.2 kB / 1.501 GB, free: 12.11 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.547e-05/1.484, allocations: 34.56 kB / 1.501 GB, free: 12.07 MB / 1.186 GB Notification: Performance of pre-optimization done (n=24): time 1.723e-06/1.484, allocations: 0 / 1.501 GB, free: 12.07 MB / 1.186 GB Notification: Performance of matching and sorting (n=24): time 0.001304/1.485, allocations: 459.9 kB / 1.502 GB, free: 11.61 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.646e-05/1.485, allocations: 51.41 kB / 1.502 GB, free: 11.55 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005866/1.486, allocations: 401.9 kB / 1.502 GB, free: 11.16 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 4.142e-05/1.486, allocations: 29.7 kB / 1.502 GB, free: 11.12 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.000234/1.486, allocations: 240.5 kB / 1.503 GB, free: 10.88 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001036/1.486, allocations: 83.28 kB / 1.503 GB, free: 10.8 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001579/1.486, allocations: 61.62 kB / 1.503 GB, free: 10.73 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0002325/1.486, allocations: 354.7 kB / 1.503 GB, free: 10.38 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002765/1.487, allocations: 111.9 kB / 1.503 GB, free: 10.27 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003346/1.487, allocations: 182.8 kB / 1.503 GB, free: 10.07 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005604/1.488, allocations: 309.3 kB / 1.504 GB, free: 9.742 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.991e-06/1.488, allocations: 4 kB / 1.504 GB, free: 9.738 MB / 1.186 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007448/1.488, allocations: 365 kB / 1.504 GB, free: 9.375 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.115e-05/1.488, allocations: 4 kB / 1.504 GB, free: 9.371 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/1.488, allocations: 4 kB / 1.504 GB, free: 9.367 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.05e-05/1.488, allocations: 3.938 kB / 1.504 GB, free: 9.363 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002978/1.489, allocations: 63.91 kB / 1.504 GB, free: 9.301 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.023e-05/1.489, allocations: 4.219 kB / 1.504 GB, free: 9.297 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003156/1.489, allocations: 43.72 kB / 1.504 GB, free: 9.254 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.645e-05/1.489, allocations: 8 kB / 1.504 GB, free: 9.246 MB / 1.186 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.0002385/1.489, allocations: 169.7 kB / 1.504 GB, free: 9.07 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.818e-05/1.489, allocations: 43.72 kB / 1.504 GB, free: 9.027 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008453/1.49, allocations: 368.9 kB / 1.505 GB, free: 8.656 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.197e-06/1.49, allocations: 8 kB / 1.505 GB, free: 8.648 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.205e-06/1.49, allocations: 0 / 1.505 GB, free: 8.648 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/1.49, allocations: 3.938 kB / 1.505 GB, free: 8.645 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001968/1.492, allocations: 0.941 MB / 1.506 GB, free: 7.625 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/1.492, allocations: 4 kB / 1.506 GB, free: 7.621 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002635/1.493, allocations: 47.91 kB / 1.506 GB, free: 7.574 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.624e-05/1.493, allocations: 7.938 kB / 1.506 GB, free: 7.566 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.142e-05/1.493, allocations: 8 kB / 1.506 GB, free: 7.559 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.743e-06/1.493, allocations: 4 kB / 1.506 GB, free: 7.555 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/1.493, allocations: 0 / 1.506 GB, free: 7.555 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001152/1.494, allocations: 0.6327 MB / 1.506 GB, free: 6.887 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002621/1.494, allocations: 148.8 kB / 1.506 GB, free: 6.723 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.195e-05/1.494, allocations: 11.98 kB / 1.506 GB, free: 6.711 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002315/1.494, allocations: 8 kB / 1.506 GB, free: 6.703 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.567e-05/1.494, allocations: 23.97 kB / 1.506 GB, free: 6.68 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.323e-05/1.494, allocations: 8 kB / 1.506 GB, free: 6.672 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0003796/1.495, allocations: 287.1 kB / 1.507 GB, free: 6.398 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.2e-07/1.495, allocations: 0 / 1.507 GB, free: 6.398 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0005778/1.495, allocations: 111.8 kB / 1.507 GB, free: 6.289 MB / 1.186 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.0005115/1.496, allocations: 172.9 kB / 1.507 GB, free: 6.117 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0006462/1.497, allocations: 279.6 kB / 1.507 GB, free: 5.844 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/1.497, allocations: 0 / 1.507 GB, free: 5.844 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0003086/1.497, allocations: 145.6 kB / 1.507 GB, free: 5.703 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001076/1.498, allocations: 224.8 kB / 1.508 GB, free: 5.48 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001578/1.5, allocations: 0.8303 MB / 1.508 GB, free: 4.602 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005557/1.5, allocations: 0.8233 MB / 1.509 GB, free: 3.75 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0003025/1.5, allocations: 103.4 kB / 1.509 GB, free: 3.648 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001127/1.5, allocations: 35.44 kB / 1.509 GB, free: 3.613 MB / 1.186 GB Notification: Performance of SimCode: time 6.81e-07/1.5, allocations: 0 / 1.509 GB, free: 3.613 MB / 1.186 GB Notification: Performance of Templates: time 0.01634/1.517, allocations: 7.795 MB / 1.517 GB, free: 11.93 MB / 1.201 GB " [Timeout remaining time 298] 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=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1) [Timeout 400] 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: 10.462749761529267]