Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.0009877/0.0009876, allocations: 94.03 kB / 15.06 MB, free: 1.086 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.001375/0.001375, allocations: 168.7 kB / 15.95 MB, free: 204 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.483/1.483, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.794/2.794, allocations: 437.7 MB / 0.7117 GB, free: 7.055 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004444/0.0004447, allocations: 8 kB / 0.8722 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8614/0.8619, allocations: 153.8 MB / 1.022 GB, free: 56 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.002315/0.8642, allocations: 1.355 MB / 1.024 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0007868/0.8651, allocations: 379 kB / 1.024 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.741e-05/0.8652, allocations: 4 kB / 1.024 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001172/0.8653, allocations: 11.86 kB / 1.024 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.749e-05/0.8654, allocations: 19.84 kB / 1.024 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004752/0.8658, allocations: 105.8 kB / 1.024 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001726/0.866, allocations: 99.56 kB / 1.024 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001531/0.8662, allocations: 24.17 kB / 1.024 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 7.433e-05/0.8663, allocations: 31.92 kB / 1.024 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 8.832e-05/0.8664, allocations: 31.83 kB / 1.024 GB, free: 14 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.79e-05/0.8664, allocations: 4 kB / 1.024 GB, free: 14 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000131/0.8665, allocations: 59.95 kB / 1.024 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.513e-05/0.8665, allocations: 11.92 kB / 1.024 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.441e-05/0.8666, allocations: 41.64 kB / 1.024 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001801/0.8668, allocations: 85.77 kB / 1.025 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/0.8668, allocations: 0 / 1.025 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.605e-06/0.8668, allocations: 0 / 1.025 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.867e-06/0.8668, allocations: 0 / 1.025 GB, free: 13.8 MB / 0.7794 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.0006485/0.8675, allocations: 415 kB / 1.025 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.335e-05/0.8675, allocations: 8.562 kB / 1.025 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002806/0.8678, allocations: 31.88 kB / 1.025 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002543/0.8681, allocations: 187 kB / 1.025 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.152e-05/0.8682, allocations: 41.59 kB / 1.025 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.088e-05/0.8682, allocations: 12 kB / 1.025 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002825/0.8685, allocations: 109.5 kB / 1.025 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.8685, allocations: 0 / 1.025 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.076e-05/0.8686, allocations: 0 / 1.025 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.8686, allocations: 4 kB / 1.025 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002546/0.8688, allocations: 94.12 kB / 1.025 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007726/0.8696, allocations: 392.4 kB / 1.026 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005261/0.8701, allocations: 134.6 kB / 1.026 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001194/0.8703, allocations: 52.78 kB / 1.026 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.772e-05/0.8703, allocations: 0 / 1.026 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.255e-05/0.8703, allocations: 30.56 kB / 1.026 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.653e-06/0.8704, allocations: 0 / 1.026 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0004221/0.8708, allocations: 161.8 kB / 1.026 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.196e-05/0.8708, allocations: 55.41 kB / 1.026 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001141/0.871, allocations: 134 kB / 1.026 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.106e-05/0.871, allocations: 33.7 kB / 1.026 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.706e-05/0.8711, allocations: 100.2 kB / 1.026 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.184e-05/0.8711, allocations: 23.72 kB / 1.026 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.08e-06/0.8711, allocations: 0 / 1.026 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001123/0.8712, allocations: 322.8 kB / 1.027 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.624e-05/0.8713, allocations: 35.91 kB / 1.027 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001097/0.8714, allocations: 53.7 kB / 1.027 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001006/0.8715, allocations: 35.97 kB / 1.027 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.8715, allocations: 0 / 1.027 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000252/0.8718, allocations: 129.5 kB / 1.027 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.8718, allocations: 8 kB / 1.027 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.8718, allocations: 0 / 1.027 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.8719, allocations: 0 / 1.027 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001115/0.872, allocations: 23.94 kB / 1.027 GB, free: 11 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.872, allocations: 0 / 1.027 GB, free: 11 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.754e-05/0.8721, allocations: 27.81 kB / 1.027 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.018e-05/0.8721, allocations: 4 kB / 1.027 GB, free: 10.96 MB / 0.7794 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 8.721e-05/0.8722, allocations: 113.8 kB / 1.027 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.155e-05/0.8722, allocations: 7.906 kB / 1.027 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.221e-05/0.8723, allocations: 12.72 kB / 1.027 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.8723, allocations: 0 / 1.027 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/0.8723, allocations: 7.953 kB / 1.027 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.8723, allocations: 7.984 kB / 1.027 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002035/0.8725, allocations: 193.6 kB / 1.027 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.8725, allocations: 4 kB / 1.027 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001021/0.8726, allocations: 27.92 kB / 1.027 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.8726, allocations: 0 / 1.027 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.355e-06/0.8726, allocations: 0 / 1.027 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.8727, allocations: 0 / 1.027 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.8727, allocations: 4 kB / 1.027 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002941/0.873, allocations: 219.3 kB / 1.028 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.103e-05/0.873, allocations: 88.95 kB / 1.028 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.722e-05/0.873, allocations: 0 / 1.028 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001443/0.8732, allocations: 15.98 kB / 1.028 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.88e-05/0.8732, allocations: 11.98 kB / 1.028 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.155e-05/0.8733, allocations: 4 kB / 1.028 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.831e-05/0.8733, allocations: 104.5 kB / 1.028 GB, free: 10.06 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8733, allocations: 0 / 1.028 GB, free: 10.06 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002585/0.8736, allocations: 19.95 kB / 1.028 GB, free: 10.04 MB / 0.7794 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.000128/0.8737, allocations: 111.2 kB / 1.028 GB, free: 9.926 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002711/0.874, allocations: 79.95 kB / 1.028 GB, free: 9.848 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.874, allocations: 3.938 kB / 1.028 GB, free: 9.844 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001097/0.8741, allocations: 43.92 kB / 1.028 GB, free: 9.801 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003828/0.8745, allocations: 33.44 kB / 1.028 GB, free: 9.77 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004656/0.875, allocations: 225.9 kB / 1.028 GB, free: 9.523 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003211/0.8753, allocations: 0.6965 MB / 1.029 GB, free: 8.801 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.973e-05/0.8754, allocations: 16.66 kB / 1.029 GB, free: 8.781 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.642e-05/0.8755, allocations: 11.44 kB / 1.029 GB, free: 8.77 MB / 0.7794 GB Notification: Performance of SimCode: time 2.41e-07/0.8755, allocations: 3.938 kB / 1.029 GB, free: 8.766 MB / 0.7794 GB Notification: Performance of Templates: time 0.00381/0.8793, allocations: 1.268 MB / 1.03 GB, free: 7.52 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.makefile (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.sim & ./Buildings_10_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches