Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.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.002016/0.002016, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002456/0.002456, allocations: 206.8 kB / 22.24 MB, free: 5.262 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.57/1.57, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.878/2.878, allocations: 476 MB / 0.7699 GB, free: 4.762 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.Utilities.Psychrometrics.Examples.HumidityRatioPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|humRat.p|humRat.p_w|humRat.X_w",fileNamePrefix="Buildings_11_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure") translateModel(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|humRat.p|humRat.p_w|humRat.X_w",fileNamePrefix="Buildings_11_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure") [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.002153/0.002153, allocations: 68.23 kB / 1.117 GB, free: 41.19 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3449/0.347, allocations: 170 MB / 1.283 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.003322/0.3503, allocations: 1.658 MB / 1.285 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0008908/0.3512, allocations: 376.7 kB / 1.285 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.761e-05/0.3513, allocations: 7.938 kB / 1.285 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001125/0.3514, allocations: 11.86 kB / 1.285 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.099e-05/0.3515, allocations: 19.8 kB / 1.285 GB, free: 9.988 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005002/0.352, allocations: 124.9 kB / 1.285 GB, free: 9.867 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001699/0.3521, allocations: 107.6 kB / 1.285 GB, free: 9.762 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001397/0.3523, allocations: 35.83 kB / 1.285 GB, free: 9.727 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.508e-05/0.3524, allocations: 47.86 kB / 1.285 GB, free: 9.68 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.547e-05/0.3524, allocations: 31.84 kB / 1.285 GB, free: 9.648 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.514e-05/0.3525, allocations: 8 kB / 1.285 GB, free: 9.641 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001386/0.3526, allocations: 55.95 kB / 1.285 GB, free: 9.586 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.685e-05/0.3526, allocations: 27.91 kB / 1.285 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.498e-05/0.3527, allocations: 43.78 kB / 1.285 GB, free: 9.516 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002474/0.3529, allocations: 135.5 kB / 1.286 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.3529, allocations: 0 / 1.286 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.443e-06/0.3529, allocations: 0 / 1.286 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.11e-06/0.3529, allocations: 3.938 kB / 1.286 GB, free: 9.379 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0006388/0.3536, allocations: 345.8 kB / 1.286 GB, free: 9.012 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/0.3536, allocations: 8.031 kB / 1.286 GB, free: 9.004 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002458/0.3539, allocations: 24.88 kB / 1.286 GB, free: 8.98 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002707/0.3541, allocations: 142.3 kB / 1.286 GB, free: 8.82 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.931e-05/0.3542, allocations: 55.97 kB / 1.286 GB, free: 8.754 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.984e-05/0.3542, allocations: 8.375 kB / 1.286 GB, free: 8.746 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003207/0.3546, allocations: 141.9 kB / 1.286 GB, free: 8.598 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.3546, allocations: 4 kB / 1.286 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.422e-05/0.3546, allocations: 0 / 1.286 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.3546, allocations: 0 / 1.286 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000299/0.3549, allocations: 83.84 kB / 1.286 GB, free: 8.512 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006778/0.3556, allocations: 304.2 kB / 1.287 GB, free: 8.184 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000562/0.3561, allocations: 126.6 kB / 1.287 GB, free: 8.051 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000126/0.3563, allocations: 40.83 kB / 1.287 GB, free: 8.008 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.723e-05/0.3563, allocations: 4 kB / 1.287 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.953e-05/0.3563, allocations: 30.56 kB / 1.287 GB, free: 7.965 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/0.3563, allocations: 3.938 kB / 1.287 GB, free: 7.961 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0004445/0.3567, allocations: 129.6 kB / 1.287 GB, free: 7.828 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.827e-05/0.3568, allocations: 59.34 kB / 1.287 GB, free: 7.758 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001187/0.3569, allocations: 126 kB / 1.287 GB, free: 7.621 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.216e-05/0.357, allocations: 25.7 kB / 1.287 GB, free: 7.59 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.41e-05/0.357, allocations: 108 kB / 1.287 GB, free: 7.48 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.977e-05/0.3571, allocations: 27.94 kB / 1.287 GB, free: 7.453 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.592e-05/0.3571, allocations: 21.7 kB / 1.287 GB, free: 7.426 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001528/0.3573, allocations: 318.8 kB / 1.288 GB, free: 7.105 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000112/0.3574, allocations: 27.97 kB / 1.288 GB, free: 7.078 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001153/0.3575, allocations: 49.69 kB / 1.288 GB, free: 7.023 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002162/0.3577, allocations: 78.08 kB / 1.288 GB, free: 6.941 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.3577, allocations: 0 / 1.288 GB, free: 6.941 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002834/0.358, allocations: 117.5 kB / 1.288 GB, free: 6.82 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.358, allocations: 4 kB / 1.288 GB, free: 6.816 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.358, allocations: 4.031 kB / 1.288 GB, free: 6.812 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.037e-05/0.358, allocations: 0 / 1.288 GB, free: 6.812 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001363/0.3582, allocations: 19.98 kB / 1.288 GB, free: 6.793 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.762e-06/0.3582, allocations: 0 / 1.288 GB, free: 6.793 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.53e-05/0.3583, allocations: 15.92 kB / 1.288 GB, free: 6.777 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-06/0.3583, allocations: 4 kB / 1.288 GB, free: 6.773 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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 9.658e-05/0.3584, allocations: 113.8 kB / 1.288 GB, free: 6.652 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.61e-05/0.3584, allocations: 7.953 kB / 1.288 GB, free: 6.645 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.376e-05/0.3584, allocations: 16.36 kB / 1.288 GB, free: 6.625 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.3584, allocations: 4 kB / 1.288 GB, free: 6.621 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.3584, allocations: 3.938 kB / 1.288 GB, free: 6.617 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.3585, allocations: 7.938 kB / 1.288 GB, free: 6.609 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001831/0.3586, allocations: 137.2 kB / 1.288 GB, free: 6.445 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.3586, allocations: 4 kB / 1.288 GB, free: 6.441 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001045/0.3587, allocations: 19.92 kB / 1.288 GB, free: 6.422 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.3587, allocations: 0 / 1.288 GB, free: 6.422 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.877e-06/0.3588, allocations: 0 / 1.288 GB, free: 6.422 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.3588, allocations: 0 / 1.288 GB, free: 6.422 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.3588, allocations: 4 kB / 1.288 GB, free: 6.418 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003225/0.3591, allocations: 203.4 kB / 1.288 GB, free: 6.203 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.573e-05/0.3591, allocations: 7.953 kB / 1.288 GB, free: 6.195 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.052e-05/0.3591, allocations: 7.984 kB / 1.288 GB, free: 6.188 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001594/0.3593, allocations: 15.92 kB / 1.288 GB, free: 6.172 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.579e-05/0.3593, allocations: 4 kB / 1.288 GB, free: 6.168 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.096e-05/0.3593, allocations: 3.984 kB / 1.289 GB, free: 6.164 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.309e-05/0.3594, allocations: 99.2 kB / 1.289 GB, free: 6.066 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3594, allocations: 3.938 kB / 1.289 GB, free: 6.062 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000253/0.3597, allocations: 23.95 kB / 1.289 GB, free: 6.039 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (7): * Single equations (assignments): 7 * 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.0001798/0.3599, allocations: 99.25 kB / 1.289 GB, free: 5.934 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002765/0.3601, allocations: 67.95 kB / 1.289 GB, free: 5.867 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3601, allocations: 0 / 1.289 GB, free: 5.867 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.00012/0.3602, allocations: 47.89 kB / 1.289 GB, free: 5.82 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003433/0.3606, allocations: 20.05 kB / 1.289 GB, free: 5.801 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005012/0.3611, allocations: 199.2 kB / 1.289 GB, free: 5.578 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.674e-05/0.3612, allocations: 79.19 kB / 1.289 GB, free: 5.48 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.958e-05/0.3613, allocations: 12 kB / 1.289 GB, free: 5.469 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.405e-05/0.3613, allocations: 15.42 kB / 1.289 GB, free: 5.453 MB / 0.9825 GB Notification: Performance of SimCode: time 3.11e-07/0.3613, allocations: 0 / 1.289 GB, free: 5.453 MB / 0.9825 GB Notification: Performance of Templates: time 0.004554/0.3658, allocations: 1.428 MB / 1.291 GB, free: 4.062 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.sim & ./Buildings_11_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.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.13838391751051]