Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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=5000,variableFilter="time|humRat.p|humRat.p_w|humRat.X_w",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure") translateModel(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|humRat.p|humRat.p_w|humRat.X_w",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001223/0.001223, allocations: 91.61 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001542/0.001541, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.498/1.498, allocations: 223.3 MB / 240 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.533/2.533, allocations: 390.9 MB / 0.666 GB, free: 2.539 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000349/0.0003491, allocations: 11.98 kB / 0.8153 GB, free: 13.68 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7598/0.7601, allocations: 142.4 MB / 0.9544 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.001918/0.7621, allocations: 1.348 MB / 0.9557 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007624/0.7629, allocations: 385.8 kB / 0.9561 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001182/0.763, allocations: 0.75 kB / 0.9561 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 9.523e-05/0.7631, allocations: 8.859 kB / 0.9561 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.742e-05/0.7632, allocations: 14.95 kB / 0.9561 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004928/0.7637, allocations: 110.3 kB / 0.9562 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001824/0.7639, allocations: 94.3 kB / 0.9563 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001272/0.764, allocations: 32.73 kB / 0.9564 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.285e-05/0.7641, allocations: 36.34 kB / 0.9564 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.789e-05/0.7642, allocations: 32.03 kB / 0.9564 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.981e-05/0.7642, allocations: 6.156 kB / 0.9564 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001641/0.7644, allocations: 58.42 kB / 0.9565 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.249e-05/0.7644, allocations: 7.984 kB / 0.9565 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.328e-05/0.7645, allocations: 40.86 kB / 0.9565 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001684/0.7647, allocations: 87.61 kB / 0.9566 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.7647, allocations: 1.312 kB / 0.9566 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.773e-06/0.7647, allocations: 0 / 0.9566 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.721e-06/0.7647, allocations: 0 / 0.9566 GB, free: 6.082 MB / 0.7169 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.0005736/0.7653, allocations: 410.2 kB / 0.957 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.896e-05/0.7653, allocations: 9.469 kB / 0.957 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002841/0.7656, allocations: 28.95 kB / 0.957 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001877/0.7658, allocations: 187.8 kB / 0.9572 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.619e-05/0.7659, allocations: 46.3 kB / 0.9573 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.657e-05/0.7659, allocations: 11.31 kB / 0.9573 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002671/0.7662, allocations: 107.7 kB / 0.9574 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.848e-06/0.7662, allocations: 5.188 kB / 0.9574 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.673e-05/0.7662, allocations: 3.953 kB / 0.9574 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.7663, allocations: 2.281 kB / 0.9574 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002422/0.7665, allocations: 97.09 kB / 0.9575 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006422/0.7671, allocations: 392.1 kB / 0.9579 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005091/0.7677, allocations: 131.9 kB / 0.958 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001151/0.7678, allocations: 54.12 kB / 0.958 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.763e-05/0.7678, allocations: 0 / 0.958 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.89e-05/0.7679, allocations: 32.38 kB / 0.9581 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.192e-06/0.7679, allocations: 0 / 0.9581 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0004287/0.7683, allocations: 157 kB / 0.9582 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.977e-05/0.7683, allocations: 52.78 kB / 0.9583 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001068/0.7684, allocations: 135.3 kB / 0.9584 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.88e-05/0.7685, allocations: 31.08 kB / 0.9584 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.307e-05/0.7685, allocations: 106.9 kB / 0.9585 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.192e-05/0.7685, allocations: 19.84 kB / 0.9585 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.029e-06/0.7686, allocations: 0 / 0.9585 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.744e-05/0.7686, allocations: 325.5 kB / 0.9589 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001016/0.7687, allocations: 36.59 kB / 0.9589 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.975e-05/0.7688, allocations: 47.7 kB / 0.9589 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000103/0.7689, allocations: 42.11 kB / 0.959 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.769, allocations: 1.375 kB / 0.959 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002424/0.7692, allocations: 124.5 kB / 0.9591 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.7692, allocations: 5.5 kB / 0.9591 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.7692, allocations: 0 / 0.9591 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.7693, allocations: 1.375 kB / 0.9591 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001112/0.7694, allocations: 20.48 kB / 0.9591 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.7694, allocations: 0 / 0.9591 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.703e-05/0.7695, allocations: 24.11 kB / 0.9591 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.244e-06/0.7695, allocations: 1.375 kB / 0.9591 GB, free: 3.863 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.726e-05/0.7696, allocations: 121.9 kB / 0.9593 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.642e-05/0.7696, allocations: 8.031 kB / 0.9593 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.819e-05/0.7697, allocations: 15.47 kB / 0.9593 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-06/0.7697, allocations: 0 / 0.9593 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.73e-06/0.7697, allocations: 1.375 kB / 0.9593 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.7697, allocations: 0 / 0.9593 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001811/0.7699, allocations: 207.4 kB / 0.9595 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.7699, allocations: 1.375 kB / 0.9595 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001014/0.77, allocations: 21.58 kB / 0.9595 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.77, allocations: 1.344 kB / 0.9595 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.845e-06/0.77, allocations: 0 / 0.9595 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.77, allocations: 1.344 kB / 0.9595 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.77, allocations: 7.938 kB / 0.9595 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002662/0.7703, allocations: 225.3 kB / 0.9597 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.984e-05/0.7703, allocations: 86.8 kB / 0.9598 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.773e-05/0.7704, allocations: 1.031 kB / 0.9598 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001504/0.7705, allocations: 19.61 kB / 0.9598 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.459e-05/0.7706, allocations: 10.23 kB / 0.9598 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.148e-05/0.7706, allocations: 2.812 kB / 0.9598 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.062e-05/0.7707, allocations: 103.5 kB / 0.9599 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7707, allocations: 0 / 0.9599 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002583/0.7709, allocations: 15.94 kB / 0.96 GB, free: 3.086 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001044/0.771, allocations: 104.3 kB / 0.9601 GB, free: 2.988 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002612/0.7713, allocations: 87.72 kB / 0.9601 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.7713, allocations: 0 / 0.9601 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001133/0.7714, allocations: 38.64 kB / 0.9602 GB, free: 2.941 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003948/0.7718, allocations: 39.91 kB / 0.9602 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004507/0.7723, allocations: 239.5 kB / 0.9604 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001368/0.7724, allocations: 0.6922 MB / 0.9611 GB, free: 2.012 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 8.414e-05/0.7725, allocations: 15.41 kB / 0.9611 GB, free: 1.996 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.774e-05/0.7726, allocations: 11.88 kB / 0.9611 GB, free: 1.992 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.7726, allocations: 3.938 kB / 0.9612 GB, free: 1.988 MB / 0.7169 GB Notification: Performance of Templates: time 0.004356/0.7769, allocations: 1.262 MB / 0.9624 GB, free: 1.355 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches