Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001435/0.001435, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.001053/0.001053, allocations: 166.8 kB / 24.87 MB, free: 8.891 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 1.04/1.04, allocations: 177.1 MB / 205.3 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.958/1.958, allocations: 377.9 MB / 0.6247 GB, free: 8.43 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 0.8127 GB, free: 1.469 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.703e-05/1.847e-05, allocations: 3.75 kB / 0.8127 GB, free: 1.465 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.002937/0.002955, allocations: 1.708 MB / 0.8144 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.0007461/0.003701, allocations: 409.6 kB / 0.8148 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.224e-05/0.003784, allocations: 4 kB / 0.8148 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001217/0.003905, allocations: 16.98 kB / 0.8148 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 6.295e-05/0.003968, allocations: 19.8 kB / 0.8148 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004426/0.004411, allocations: 121.2 kB / 0.815 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001805/0.004591, allocations: 108.2 kB / 0.8151 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001262/0.004718, allocations: 32.72 kB / 0.8151 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001037/0.004821, allocations: 55.89 kB / 0.8151 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 7.524e-05/0.004896, allocations: 33.14 kB / 0.8152 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.477e-05/0.004921, allocations: 8 kB / 0.8152 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001358/0.005057, allocations: 55.95 kB / 0.8152 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 3.104e-05/0.005088, allocations: 23.91 kB / 0.8153 GB, free: 14.9 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 4.223e-05/0.00513, allocations: 33.92 kB / 0.8153 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002166/0.005347, allocations: 127.5 kB / 0.8154 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.394e-06/0.005349, allocations: 0 / 0.8154 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.964e-06/0.005351, allocations: 4 kB / 0.8154 GB, free: 14.74 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.047e-06/0.005355, allocations: 0 / 0.8154 GB, free: 14.74 MB / 0.7761 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.0004953/0.005851, allocations: 441 kB / 0.8158 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.005887, allocations: 12.03 kB / 0.8159 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002095/0.006096, allocations: 46.27 kB / 0.8159 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000178/0.006274, allocations: 140.4 kB / 0.816 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.862e-05/0.006333, allocations: 60.94 kB / 0.8161 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.616e-05/0.006349, allocations: 8.312 kB / 0.8161 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001865/0.006536, allocations: 121.3 kB / 0.8162 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.006545, allocations: 192 / 0.8162 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.288e-05/0.006558, allocations: 1.312 kB / 0.8162 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.057e-06/0.006567, allocations: 8.125 kB / 0.8162 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.739e-05/0.006644, allocations: 33.62 kB / 0.8163 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004744/0.007119, allocations: 328 kB / 0.8166 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003376/0.007456, allocations: 104.4 kB / 0.8167 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.527e-05/0.007491, allocations: 24.31 kB / 0.8167 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.068e-05/0.007502, allocations: 4 kB / 0.8167 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.515e-05/0.007527, allocations: 34.42 kB / 0.8167 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=7): time 1.583e-06/0.007529, allocations: 0 / 0.8167 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7): time 0.0001746/0.007703, allocations: 74.36 kB / 0.8168 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.263e-05/0.007726, allocations: 51.41 kB / 0.8168 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.316e-05/0.007809, allocations: 179.3 kB / 0.817 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.547e-05/0.007825, allocations: 25.7 kB / 0.817 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.59e-05/0.007891, allocations: 150.8 kB / 0.8172 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.362e-05/0.007914, allocations: 24.98 kB / 0.8172 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.539e-05/0.00796, allocations: 31.34 kB / 0.8172 GB, free: 12.69 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001254/0.008085, allocations: 0.4884 MB / 0.8177 GB, free: 12.19 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.867e-05/0.008104, allocations: 12.45 kB / 0.8177 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.701e-05/0.008131, allocations: 27.38 kB / 0.8178 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.573e-05/0.008176, allocations: 48.59 kB / 0.8178 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.008178, allocations: 1.656 kB / 0.8178 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8) (initialization): time 8.121e-05/0.008259, allocations: 81.5 kB / 0.8179 GB, free: 12 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.075e-05/0.00827, allocations: 4 kB / 0.8179 GB, free: 12 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.008274, allocations: 0 / 0.8179 GB, free: 12 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.065e-06/0.008282, allocations: 9.328 kB / 0.8179 GB, free: 11.99 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.89e-05/0.008351, allocations: 12 kB / 0.8179 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.365e-06/0.008353, allocations: 0 / 0.8179 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.23e-05/0.008386, allocations: 12.64 kB / 0.8179 GB, free: 11.97 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.198e-06/0.00839, allocations: 0 / 0.8179 GB, free: 11.97 MB / 0.7761 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 7.047e-05/0.00846, allocations: 170.4 kB / 0.8181 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.281e-05/0.008483, allocations: 7.953 kB / 0.8181 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.341e-05/0.008507, allocations: 12.44 kB / 0.8181 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.008508, allocations: 4 kB / 0.8181 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.00851, allocations: 0 / 0.8181 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.008512, allocations: 0.8125 kB / 0.8181 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001103/0.008623, allocations: 125.2 kB / 0.8182 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-07/0.008623, allocations: 3.438 kB / 0.8182 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.986e-05/0.008663, allocations: 19.94 kB / 0.8182 GB, free: 11.6 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.008665, allocations: 0 / 0.8182 GB, free: 11.6 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.809e-06/0.008669, allocations: 0 / 0.8182 GB, free: 11.6 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.008671, allocations: 4 kB / 0.8182 GB, free: 11.6 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.008673, allocations: 3.984 kB / 0.8183 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001128/0.008786, allocations: 211.9 kB / 0.8185 GB, free: 11.37 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 9.528e-06/0.008795, allocations: 7.891 kB / 0.8185 GB, free: 11.36 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.415e-06/0.008804, allocations: 0 / 0.8185 GB, free: 11.36 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001902/0.008994, allocations: 8.625 kB / 0.8185 GB, free: 11.35 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.124e-05/0.009025, allocations: 3.984 kB / 0.8185 GB, free: 11.35 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.518e-06/0.009035, allocations: 8.5 kB / 0.8185 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.588e-05/0.009081, allocations: 139.3 kB / 0.8186 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.009081, allocations: 0 / 0.8186 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001572/0.009238, allocations: 19.95 kB / 0.8186 GB, free: 11.19 MB / 0.7761 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 7.626e-05/0.009314, allocations: 104 kB / 0.8187 GB, free: 11.08 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 8.559e-05/0.0094, allocations: 39.61 kB / 0.8188 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.213e-06/0.009401, allocations: 0.9375 kB / 0.8188 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.867e-05/0.00943, allocations: 27.66 kB / 0.8188 GB, free: 11 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002186/0.009648, allocations: 30.36 kB / 0.8188 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004525/0.0101, allocations: 213.7 kB / 0.819 GB, free: 10.74 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.332e-05/0.01014, allocations: 59.34 kB / 0.8191 GB, free: 10.66 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.975e-05/0.01019, allocations: 12.92 kB / 0.8191 GB, free: 10.65 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001175/0.01031, allocations: 98.16 kB / 0.8192 GB, free: 10.55 MB / 0.7761 GB Notification: Performance of SimCode: time 5.51e-07/0.01031, allocations: 1.125 kB / 0.8192 GB, free: 10.55 MB / 0.7761 GB Notification: Performance of Templates: time 0.002893/0.01321, allocations: 1.538 MB / 0.8207 GB, free: 9.07 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.sim & ./Buildings_12_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.18946883501485]