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) 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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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=5000,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=5000,variableFilter="time|humRat.p|humRat.p_w|humRat.X_w",fileNamePrefix="Buildings_latest_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.001211/0.001211, allocations: 103.5 kB / 16.35 MB, free: 5.879 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.001134/0.001134, allocations: 194.2 kB / 17.3 MB, free: 5.52 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.331/1.331, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.392/2.392, allocations: 442.6 MB / 0.7165 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 66.97 kB / 0.8773 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3402/0.3415, allocations: 153 MB / 1.027 GB, free: 2.066 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.003195/0.3448, allocations: 1.669 MB / 1.028 GB, free: 400 kB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0008203/0.3456, allocations: 410.6 kB / 1.029 GB, free: 15.99 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.641e-05/0.3457, allocations: 0 / 1.029 GB, free: 15.99 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001033/0.3458, allocations: 7.875 kB / 1.029 GB, free: 15.98 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.617e-05/0.3459, allocations: 27.78 kB / 1.029 GB, free: 15.95 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004543/0.3464, allocations: 119.1 kB / 1.029 GB, free: 15.84 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001658/0.3465, allocations: 103.6 kB / 1.029 GB, free: 15.74 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001565/0.3467, allocations: 51.81 kB / 1.029 GB, free: 15.69 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.826e-05/0.3468, allocations: 39.91 kB / 1.029 GB, free: 15.65 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.437e-05/0.3469, allocations: 39.78 kB / 1.029 GB, free: 15.61 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.041e-05/0.3469, allocations: 8 kB / 1.029 GB, free: 15.6 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001306/0.347, allocations: 59.95 kB / 1.029 GB, free: 15.54 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.234e-05/0.3471, allocations: 23.91 kB / 1.029 GB, free: 15.52 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.35e-05/0.3471, allocations: 47.78 kB / 1.029 GB, free: 15.47 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002178/0.3474, allocations: 131.5 kB / 1.029 GB, free: 15.34 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.052e-06/0.3474, allocations: 4 kB / 1.029 GB, free: 15.34 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.314e-06/0.3474, allocations: 0 / 1.029 GB, free: 15.34 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.283e-06/0.3474, allocations: 0 / 1.029 GB, free: 15.34 MB / 0.8106 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.0006466/0.348, allocations: 424.7 kB / 1.03 GB, free: 14.88 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.3481, allocations: 12.69 kB / 1.03 GB, free: 14.86 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000253/0.3484, allocations: 28.83 kB / 1.03 GB, free: 14.84 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002941/0.3487, allocations: 200 kB / 1.03 GB, free: 14.6 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.852e-05/0.3487, allocations: 34.25 kB / 1.03 GB, free: 14.56 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.054e-05/0.3488, allocations: 8.375 kB / 1.03 GB, free: 14.55 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002882/0.3491, allocations: 108.2 kB / 1.03 GB, free: 14.45 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.417e-05/0.3491, allocations: 3.938 kB / 1.03 GB, free: 14.44 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.895e-05/0.3491, allocations: 4 kB / 1.03 GB, free: 14.44 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.762e-06/0.3491, allocations: 0 / 1.03 GB, free: 14.44 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002422/0.3494, allocations: 79.94 kB / 1.03 GB, free: 14.36 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000767/0.3502, allocations: 388.4 kB / 1.031 GB, free: 13.93 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005709/0.3507, allocations: 134.6 kB / 1.031 GB, free: 13.79 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001195/0.3509, allocations: 36.84 kB / 1.031 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.912e-05/0.3509, allocations: 0 / 1.031 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.118e-05/0.3509, allocations: 30.56 kB / 1.031 GB, free: 13.71 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.082e-06/0.3509, allocations: 0 / 1.031 GB, free: 13.71 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0004435/0.3514, allocations: 145.9 kB / 1.031 GB, free: 13.56 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.832e-05/0.3514, allocations: 51.41 kB / 1.031 GB, free: 13.5 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001237/0.3516, allocations: 141.7 kB / 1.031 GB, free: 13.35 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.92e-05/0.3516, allocations: 25.7 kB / 1.031 GB, free: 13.32 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.036e-05/0.3517, allocations: 96.12 kB / 1.031 GB, free: 13.22 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.606e-05/0.3517, allocations: 27.59 kB / 1.031 GB, free: 13.2 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.532e-05/0.3517, allocations: 21.7 kB / 1.031 GB, free: 13.17 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001431/0.3519, allocations: 322.8 kB / 1.032 GB, free: 12.84 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001041/0.352, allocations: 31.97 kB / 1.032 GB, free: 12.81 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001065/0.3521, allocations: 49.91 kB / 1.032 GB, free: 12.76 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001991/0.3523, allocations: 73.67 kB / 1.032 GB, free: 12.68 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.3523, allocations: 4 kB / 1.032 GB, free: 12.68 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002653/0.3526, allocations: 117.5 kB / 1.032 GB, free: 12.55 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.3526, allocations: 6.344 kB / 1.032 GB, free: 12.55 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.3526, allocations: 0 / 1.032 GB, free: 12.55 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.3527, allocations: 4 kB / 1.032 GB, free: 12.55 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001141/0.3528, allocations: 19.92 kB / 1.032 GB, free: 12.53 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.3528, allocations: 3.938 kB / 1.032 GB, free: 12.52 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.98e-05/0.3529, allocations: 15.84 kB / 1.032 GB, free: 12.51 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.123e-06/0.3529, allocations: 4.031 kB / 1.032 GB, free: 12.5 MB / 0.8106 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.0001014/0.353, allocations: 125.7 kB / 1.032 GB, free: 12.37 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.474e-05/0.353, allocations: 7.906 kB / 1.032 GB, free: 12.36 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.059e-05/0.3531, allocations: 16.72 kB / 1.032 GB, free: 12.34 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.3531, allocations: 3.938 kB / 1.032 GB, free: 12.34 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.3531, allocations: 0 / 1.032 GB, free: 12.34 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.3531, allocations: 0 / 1.032 GB, free: 12.34 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002301/0.3533, allocations: 197.6 kB / 1.032 GB, free: 12.1 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.3533, allocations: 0 / 1.032 GB, free: 12.1 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001002/0.3535, allocations: 19.98 kB / 1.032 GB, free: 12.08 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.3535, allocations: 0 / 1.032 GB, free: 12.08 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.169e-05/0.3535, allocations: 4 kB / 1.032 GB, free: 12.07 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.3535, allocations: 3.938 kB / 1.032 GB, free: 12.07 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.3535, allocations: 0 / 1.032 GB, free: 12.07 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003017/0.3538, allocations: 203.3 kB / 1.032 GB, free: 11.86 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.582e-05/0.3539, allocations: 93 kB / 1.033 GB, free: 11.75 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.061e-05/0.3539, allocations: 4 kB / 1.033 GB, free: 11.74 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002198/0.3541, allocations: 15.92 kB / 1.033 GB, free: 11.73 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.069e-05/0.3542, allocations: 4 kB / 1.033 GB, free: 11.72 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.572e-05/0.3542, allocations: 11.97 kB / 1.033 GB, free: 11.71 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 7.833e-05/0.3543, allocations: 103.3 kB / 1.033 GB, free: 11.61 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3543, allocations: 0 / 1.033 GB, free: 11.61 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002397/0.3545, allocations: 16 kB / 1.033 GB, free: 11.59 MB / 0.8106 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.0001547/0.3547, allocations: 107.2 kB / 1.033 GB, free: 11.48 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002681/0.355, allocations: 71.89 kB / 1.033 GB, free: 11.41 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.355, allocations: 0 / 1.033 GB, free: 11.41 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001019/0.3551, allocations: 39.97 kB / 1.033 GB, free: 11.37 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003442/0.3554, allocations: 32.61 kB / 1.033 GB, free: 11.34 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004839/0.3559, allocations: 218.9 kB / 1.033 GB, free: 11.09 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000249/0.3562, allocations: 0.6963 MB / 1.034 GB, free: 10.37 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 6.317e-05/0.3563, allocations: 12.67 kB / 1.034 GB, free: 10.36 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.888e-05/0.3563, allocations: 11.44 kB / 1.034 GB, free: 10.34 MB / 0.8106 GB Notification: Performance of SimCode: time 4.1e-07/0.3563, allocations: 3.938 kB / 1.034 GB, free: 10.34 MB / 0.8106 GB Notification: Performance of Templates: time 0.003929/0.3603, allocations: 1.448 MB / 1.035 GB, free: 8.922 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.makefile (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=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches