Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.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.002035/0.002035, allocations: 113.9 kB / 18.94 MB, free: 2.953 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.002241/0.002241, allocations: 191.3 kB / 22.23 MB, free: 5.137 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.438/1.438, allocations: 225.6 MB / 251 MB, free: 13.05 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.172/3.172, allocations: 0.4893 GB / 0.7884 GB, free: 33.25 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-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.Utilities.Psychrometrics.Examples.HumidityRatioPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|humRat.p|humRat.p_w|humRat.X_w",fileNamePrefix="Buildings_latest_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_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002012/0.002012, allocations: 66.27 kB / 1.145 GB, free: 30.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3508/0.3529, allocations: 174.9 MB / 1.316 GB, free: 9.75 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.004189/0.357, allocations: 1.684 MB / 1.318 GB, free: 8.055 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001054/0.3581, allocations: 402.8 kB / 1.318 GB, free: 7.66 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001297/0.3582, allocations: 0 / 1.318 GB, free: 7.66 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001446/0.3584, allocations: 11.86 kB / 1.318 GB, free: 7.648 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 8.591e-05/0.3585, allocations: 31.72 kB / 1.318 GB, free: 7.617 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005891/0.359, allocations: 118.5 kB / 1.318 GB, free: 7.504 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002629/0.3593, allocations: 103.6 kB / 1.318 GB, free: 7.402 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000164/0.3595, allocations: 39.78 kB / 1.318 GB, free: 7.363 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001018/0.3596, allocations: 39.91 kB / 1.318 GB, free: 7.324 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001009/0.3597, allocations: 43.78 kB / 1.318 GB, free: 7.281 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.857e-05/0.3597, allocations: 12 kB / 1.318 GB, free: 7.27 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001823/0.3599, allocations: 63.94 kB / 1.318 GB, free: 7.207 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.647e-05/0.3599, allocations: 19.92 kB / 1.318 GB, free: 7.188 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 7.257e-05/0.36, allocations: 47.78 kB / 1.319 GB, free: 7.141 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0003108/0.3603, allocations: 127.5 kB / 1.319 GB, free: 7.016 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.3603, allocations: 0 / 1.319 GB, free: 7.016 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.184e-06/0.3603, allocations: 3.938 kB / 1.319 GB, free: 7.012 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.224e-06/0.3603, allocations: 0 / 1.319 GB, free: 7.012 MB / 1.014 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.0007593/0.3611, allocations: 349.8 kB / 1.319 GB, free: 6.637 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/0.3611, allocations: 8.031 kB / 1.319 GB, free: 6.629 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003086/0.3614, allocations: 28.86 kB / 1.319 GB, free: 6.602 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003464/0.3618, allocations: 142.3 kB / 1.319 GB, free: 6.438 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.2e-05/0.3619, allocations: 38.25 kB / 1.319 GB, free: 6.395 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.748e-05/0.3619, allocations: 4.375 kB / 1.319 GB, free: 6.391 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003038/0.3622, allocations: 102.2 kB / 1.319 GB, free: 6.285 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.374e-05/0.3622, allocations: 11.88 kB / 1.319 GB, free: 6.273 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.926e-05/0.3622, allocations: 4 kB / 1.319 GB, free: 6.27 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.3622, allocations: 0 / 1.319 GB, free: 6.27 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002606/0.3625, allocations: 87.78 kB / 1.319 GB, free: 6.184 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007842/0.3633, allocations: 355.5 kB / 1.32 GB, free: 5.793 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005511/0.3638, allocations: 126.6 kB / 1.32 GB, free: 5.66 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001206/0.364, allocations: 40.83 kB / 1.32 GB, free: 5.617 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.005e-05/0.364, allocations: 0 / 1.32 GB, free: 5.617 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.041e-05/0.364, allocations: 34.56 kB / 1.32 GB, free: 5.574 MB / 1.014 GB Notification: Performance of pre-optimization done (n=7): time 1.884e-06/0.364, allocations: 0 / 1.32 GB, free: 5.574 MB / 1.014 GB Notification: Performance of matching and sorting (n=7): time 0.000447/0.3645, allocations: 137.7 kB / 1.32 GB, free: 5.434 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.937e-05/0.3645, allocations: 55.41 kB / 1.32 GB, free: 5.367 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001505/0.3647, allocations: 147.5 kB / 1.32 GB, free: 5.215 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.374e-05/0.3647, allocations: 25.7 kB / 1.32 GB, free: 5.184 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 7.029e-05/0.3647, allocations: 96.14 kB / 1.32 GB, free: 5.086 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 3.864e-05/0.3648, allocations: 31.73 kB / 1.32 GB, free: 5.055 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.384e-05/0.3648, allocations: 17.72 kB / 1.32 GB, free: 5.031 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001583/0.365, allocations: 322.8 kB / 1.321 GB, free: 4.707 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001204/0.3651, allocations: 27.98 kB / 1.321 GB, free: 4.68 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001118/0.3652, allocations: 41.69 kB / 1.321 GB, free: 4.633 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002193/0.3655, allocations: 86.08 kB / 1.321 GB, free: 4.543 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.3655, allocations: 0 / 1.321 GB, free: 4.543 MB / 1.014 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002811/0.3657, allocations: 113.6 kB / 1.321 GB, free: 4.426 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.3658, allocations: 4 kB / 1.321 GB, free: 4.422 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.3658, allocations: 4 kB / 1.321 GB, free: 4.418 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.3658, allocations: 4.031 kB / 1.321 GB, free: 4.414 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001259/0.3659, allocations: 31.86 kB / 1.321 GB, free: 4.383 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.3659, allocations: 0 / 1.321 GB, free: 4.383 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.671e-05/0.366, allocations: 7.984 kB / 1.321 GB, free: 4.375 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.062e-05/0.366, allocations: 4 kB / 1.321 GB, free: 4.371 MB / 1.014 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 0.0001209/0.3661, allocations: 114.7 kB / 1.321 GB, free: 4.25 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.06e-05/0.3662, allocations: 11.91 kB / 1.321 GB, free: 4.238 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.647e-05/0.3662, allocations: 12.72 kB / 1.321 GB, free: 4.219 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/0.3662, allocations: 19.81 kB / 1.321 GB, free: 4.199 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.285e-06/0.3662, allocations: 3.984 kB / 1.321 GB, free: 4.195 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.3662, allocations: 0 / 1.321 GB, free: 4.195 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002234/0.3665, allocations: 168.6 kB / 1.321 GB, free: 3.988 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.3665, allocations: 0 / 1.321 GB, free: 3.988 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001029/0.3666, allocations: 15.98 kB / 1.321 GB, free: 3.973 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.3666, allocations: 0 / 1.321 GB, free: 3.973 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.228e-05/0.3666, allocations: 4 kB / 1.321 GB, free: 3.969 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.666e-06/0.3666, allocations: 7.875 kB / 1.321 GB, free: 3.961 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3666, allocations: 0 / 1.321 GB, free: 3.961 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003376/0.3669, allocations: 207.4 kB / 1.322 GB, free: 3.742 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 2.208e-05/0.3669, allocations: 7.953 kB / 1.322 GB, free: 3.734 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.729e-05/0.367, allocations: 0 / 1.322 GB, free: 3.734 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001556/0.3671, allocations: 15.92 kB / 1.322 GB, free: 3.719 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.328e-05/0.3672, allocations: 7.984 kB / 1.322 GB, free: 3.711 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.209e-05/0.3672, allocations: 4 kB / 1.322 GB, free: 3.707 MB / 1.014 GB Notification: Performance of sorting global known variables: time 8.243e-05/0.3673, allocations: 109 kB / 1.322 GB, free: 3.602 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/0.3673, allocations: 0 / 1.322 GB, free: 3.602 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002527/0.3675, allocations: 19.98 kB / 1.322 GB, free: 3.582 MB / 1.014 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.0001404/0.3676, allocations: 102.9 kB / 1.322 GB, free: 3.477 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0002825/0.3679, allocations: 67.89 kB / 1.322 GB, free: 3.41 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3679, allocations: 0 / 1.322 GB, free: 3.41 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001167/0.3681, allocations: 43.97 kB / 1.322 GB, free: 3.367 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003661/0.3684, allocations: 27.97 kB / 1.322 GB, free: 3.34 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006002/0.369, allocations: 211 kB / 1.322 GB, free: 3.109 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003273/0.3693, allocations: 0.6963 MB / 1.323 GB, free: 2.387 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 8.097e-05/0.3694, allocations: 12.66 kB / 1.323 GB, free: 2.371 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.023e-05/0.3695, allocations: 15.44 kB / 1.323 GB, free: 2.355 MB / 1.014 GB Notification: Performance of SimCode: time 4.01e-07/0.3695, allocations: 0 / 1.323 GB, free: 2.355 MB / 1.014 GB Notification: Performance of Templates: time 0.004918/0.3744, allocations: 1.502 MB / 1.324 GB, free: 0.8789 MB / 1.014 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 8.936656383797526]