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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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=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.001293/0.001292, allocations: 94.91 kB / 15.37 MB, free: 0.7266 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.002066/0.002066, allocations: 177.2 kB / 16.27 MB, free: 6.664 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.372/1.372, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.769/2.769, allocations: 462.7 MB / 0.7364 GB, free: 332 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003427/0.0003428, allocations: 9.469 kB / 0.9028 GB, free: 36.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3416/0.342, allocations: 159.6 MB / 1.059 GB, free: 5.547 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.00217/0.3442, allocations: 1.385 MB / 1.06 GB, free: 4.152 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0009054/0.3452, allocations: 402.7 kB / 1.06 GB, free: 3.758 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001029/0.3453, allocations: 0 / 1.06 GB, free: 3.758 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001119/0.3454, allocations: 11.92 kB / 1.06 GB, free: 3.746 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.75e-05/0.3455, allocations: 23.84 kB / 1.06 GB, free: 3.723 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005686/0.3461, allocations: 106.8 kB / 1.061 GB, free: 3.621 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001955/0.3463, allocations: 103.6 kB / 1.061 GB, free: 3.52 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001679/0.3464, allocations: 47.81 kB / 1.061 GB, free: 3.473 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001049/0.3466, allocations: 27.92 kB / 1.061 GB, free: 3.445 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.918e-05/0.3466, allocations: 31.8 kB / 1.061 GB, free: 3.414 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.408e-05/0.3467, allocations: 7.938 kB / 1.061 GB, free: 3.406 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001645/0.3468, allocations: 63.94 kB / 1.061 GB, free: 3.344 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.159e-05/0.3469, allocations: 19.91 kB / 1.061 GB, free: 3.324 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 8.08e-05/0.347, allocations: 61.5 kB / 1.061 GB, free: 3.258 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002606/0.3472, allocations: 119.9 kB / 1.061 GB, free: 3.141 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.3473, allocations: 0 / 1.061 GB, free: 3.141 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.485e-06/0.3473, allocations: 4 kB / 1.061 GB, free: 3.137 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.242e-06/0.3473, allocations: 0 / 1.061 GB, free: 3.137 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.0007167/0.348, allocations: 411.1 kB / 1.061 GB, free: 2.684 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.055e-05/0.3481, allocations: 8.031 kB / 1.061 GB, free: 2.676 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000286/0.3483, allocations: 32.81 kB / 1.061 GB, free: 2.645 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002338/0.3486, allocations: 192.2 kB / 1.062 GB, free: 2.418 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.354e-05/0.3487, allocations: 34.27 kB / 1.062 GB, free: 2.379 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.677e-05/0.3487, allocations: 4.375 kB / 1.062 GB, free: 2.375 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003088/0.349, allocations: 110.1 kB / 1.062 GB, free: 2.262 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.349, allocations: 3.938 kB / 1.062 GB, free: 2.258 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.997e-05/0.3491, allocations: 8 kB / 1.062 GB, free: 2.25 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.904e-06/0.3491, allocations: 4 kB / 1.062 GB, free: 2.246 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002658/0.3494, allocations: 83.94 kB / 1.062 GB, free: 2.164 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000782/0.3501, allocations: 400.5 kB / 1.062 GB, free: 1.723 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005356/0.3507, allocations: 138.6 kB / 1.062 GB, free: 1.578 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001256/0.3508, allocations: 40.84 kB / 1.062 GB, free: 1.535 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.093e-05/0.3508, allocations: 0 / 1.062 GB, free: 1.535 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.865e-05/0.3509, allocations: 42.5 kB / 1.062 GB, free: 1.484 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.263e-06/0.3509, allocations: 0 / 1.062 GB, free: 1.484 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0004578/0.3514, allocations: 149.5 kB / 1.063 GB, free: 1.332 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.805e-05/0.3514, allocations: 55.41 kB / 1.063 GB, free: 1.266 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001359/0.3515, allocations: 143.6 kB / 1.063 GB, free: 1.117 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.529e-05/0.3516, allocations: 25.7 kB / 1.063 GB, free: 1.086 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.655e-05/0.3516, allocations: 100 kB / 1.063 GB, free: 0.9844 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.697e-05/0.3517, allocations: 27.75 kB / 1.063 GB, free: 0.957 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.238e-05/0.3517, allocations: 17.7 kB / 1.063 GB, free: 0.9336 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001226/0.3518, allocations: 318.8 kB / 1.063 GB, free: 0.6133 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001174/0.352, allocations: 39.95 kB / 1.063 GB, free: 0.5742 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001221/0.3521, allocations: 49.69 kB / 1.063 GB, free: 0.5195 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002205/0.3523, allocations: 89.62 kB / 1.063 GB, free: 436 kB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.3523, allocations: 0 / 1.063 GB, free: 436 kB / 0.8106 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002951/0.3526, allocations: 129.5 kB / 1.064 GB, free: 300 kB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.3527, allocations: 4 kB / 1.064 GB, free: 296 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-06/0.3527, allocations: 8 kB / 1.064 GB, free: 288 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.3527, allocations: 3.984 kB / 1.064 GB, free: 284 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001135/0.3528, allocations: 23.92 kB / 1.064 GB, free: 260 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.682e-06/0.3528, allocations: 0.5469 kB / 1.064 GB, free: 260 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.541e-05/0.3529, allocations: 8 kB / 1.064 GB, free: 252 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.807e-06/0.3529, allocations: 4 kB / 1.064 GB, free: 248 kB / 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 9.338e-05/0.353, allocations: 127.3 kB / 1.064 GB, free: 112 kB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.543e-05/0.3531, allocations: 7.906 kB / 1.064 GB, free: 104 kB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.767e-05/0.3531, allocations: 12.72 kB / 1.064 GB, free: 92 kB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/0.3531, allocations: 3.938 kB / 1.064 GB, free: 88 kB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.3531, allocations: 0 / 1.064 GB, free: 88 kB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.3531, allocations: 0 / 1.064 GB, free: 88 kB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002225/0.3534, allocations: 213.4 kB / 1.064 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.3534, allocations: 0 / 1.064 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001046/0.3535, allocations: 23.98 kB / 1.064 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/0.3535, allocations: 0 / 1.064 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.964e-06/0.3535, allocations: 0 / 1.064 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.868e-06/0.3535, allocations: 3.938 kB / 1.064 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3535, allocations: 0 / 1.064 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003216/0.3538, allocations: 219.4 kB / 1.064 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.335e-05/0.3539, allocations: 85 kB / 1.064 GB, free: 15.47 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.8e-05/0.3539, allocations: 4 kB / 1.064 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001654/0.3541, allocations: 19.92 kB / 1.064 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.11e-05/0.3542, allocations: 7.938 kB / 1.064 GB, free: 15.44 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.54e-05/0.3542, allocations: 7.984 kB / 1.064 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.288e-05/0.3543, allocations: 112.8 kB / 1.064 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3543, allocations: 0 / 1.064 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002436/0.3545, allocations: 20 kB / 1.064 GB, free: 15.3 MB / 0.8262 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.0001276/0.3546, allocations: 95.25 kB / 1.064 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003038/0.355, allocations: 83.95 kB / 1.065 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.355, allocations: 0 / 1.065 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001749/0.3552, allocations: 47.91 kB / 1.065 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005416/0.3557, allocations: 27.91 kB / 1.065 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007652/0.3565, allocations: 237.1 kB / 1.065 GB, free: 14.78 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003993/0.3569, allocations: 0.6965 MB / 1.066 GB, free: 14.06 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.618e-05/0.357, allocations: 4.672 kB / 1.066 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.299e-05/0.3571, allocations: 11.44 kB / 1.066 GB, free: 14.04 MB / 0.8262 GB Notification: Performance of SimCode: time 3.81e-07/0.3571, allocations: 4 kB / 1.066 GB, free: 14.04 MB / 0.8262 GB Notification: Performance of Templates: time 0.004612/0.3617, allocations: 1.329 MB / 1.067 GB, free: 12.73 MB / 0.8262 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches