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.001156/0.001156, allocations: 90.75 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.001225/0.001225, 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.565/1.565, allocations: 223.3 MB / 240 MB, free: 5.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.924/2.924, allocations: 462.6 MB / 0.736 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003581/0.0003582, allocations: 12.81 kB / 0.9021 GB, free: 36.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3504/0.3508, allocations: 159.6 MB / 1.058 GB, free: 5.305 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.00246/0.3533, allocations: 1.35 MB / 1.059 GB, free: 3.945 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0009419/0.3543, allocations: 387 kB / 1.06 GB, free: 3.566 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.978e-05/0.3544, allocations: 0 / 1.06 GB, free: 3.566 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001273/0.3545, allocations: 3.938 kB / 1.06 GB, free: 3.562 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.933e-05/0.3546, allocations: 23.78 kB / 1.06 GB, free: 3.539 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004321/0.355, allocations: 110.7 kB / 1.06 GB, free: 3.434 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001479/0.3552, allocations: 87.64 kB / 1.06 GB, free: 3.348 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001271/0.3553, allocations: 39.94 kB / 1.06 GB, free: 3.305 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.896e-05/0.3554, allocations: 31.92 kB / 1.06 GB, free: 3.273 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.291e-05/0.3555, allocations: 27.86 kB / 1.06 GB, free: 3.246 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.627e-05/0.3555, allocations: 4 kB / 1.06 GB, free: 3.242 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001304/0.3556, allocations: 55.94 kB / 1.06 GB, free: 3.188 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.649e-05/0.3557, allocations: 19.91 kB / 1.06 GB, free: 3.168 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.939e-05/0.3557, allocations: 41.64 kB / 1.06 GB, free: 3.121 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001477/0.3559, allocations: 84.09 kB / 1.06 GB, free: 3.039 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.3559, allocations: 0 / 1.06 GB, free: 3.039 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.285e-06/0.3559, allocations: 4 kB / 1.06 GB, free: 3.035 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.611e-06/0.3559, allocations: 0 / 1.06 GB, free: 3.035 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.0005884/0.3565, allocations: 418.8 kB / 1.061 GB, free: 2.578 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.3566, allocations: 8.031 kB / 1.061 GB, free: 2.57 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002297/0.3568, allocations: 27.89 kB / 1.061 GB, free: 2.543 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002074/0.357, allocations: 186.9 kB / 1.061 GB, free: 2.32 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.181e-05/0.3571, allocations: 41.61 kB / 1.061 GB, free: 2.273 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.615e-05/0.3571, allocations: 12 kB / 1.061 GB, free: 2.262 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002626/0.3574, allocations: 105.6 kB / 1.061 GB, free: 2.152 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.3574, allocations: 0 / 1.061 GB, free: 2.152 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.649e-05/0.3574, allocations: 8 kB / 1.061 GB, free: 2.145 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.3574, allocations: 0 / 1.061 GB, free: 2.145 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002301/0.3577, allocations: 91.94 kB / 1.061 GB, free: 2.055 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007001/0.3584, allocations: 392.4 kB / 1.061 GB, free: 1.621 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004977/0.3589, allocations: 130.6 kB / 1.062 GB, free: 1.484 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001249/0.359, allocations: 52.88 kB / 1.062 GB, free: 1.43 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.49e-05/0.359, allocations: 0 / 1.062 GB, free: 1.43 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.124e-05/0.3591, allocations: 34.5 kB / 1.062 GB, free: 1.387 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 9.81e-07/0.3591, allocations: 0 / 1.062 GB, free: 1.387 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0004303/0.3595, allocations: 157.8 kB / 1.062 GB, free: 1.227 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.478e-05/0.3596, allocations: 55.41 kB / 1.062 GB, free: 1.16 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001215/0.3597, allocations: 141.4 kB / 1.062 GB, free: 1.016 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.781e-05/0.3597, allocations: 29.64 kB / 1.062 GB, free: 0.9805 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.64e-05/0.3598, allocations: 104.3 kB / 1.062 GB, free: 0.875 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.039e-05/0.3598, allocations: 15.66 kB / 1.062 GB, free: 0.8594 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.783e-06/0.3598, allocations: 8 kB / 1.062 GB, free: 0.8516 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001225/0.3599, allocations: 318.8 kB / 1.062 GB, free: 0.5312 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.775e-05/0.3601, allocations: 27.98 kB / 1.062 GB, free: 0.5039 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00011/0.3602, allocations: 61.62 kB / 1.063 GB, free: 448 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001037/0.3603, allocations: 39.98 kB / 1.063 GB, free: 408 kB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.654e-06/0.3603, allocations: 0 / 1.063 GB, free: 408 kB / 0.8106 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003639/0.3607, allocations: 122 kB / 1.063 GB, free: 280 kB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.3607, allocations: 8 kB / 1.063 GB, free: 272 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.3607, allocations: 3.938 kB / 1.063 GB, free: 268 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.3607, allocations: 3.953 kB / 1.063 GB, free: 264 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001102/0.3608, allocations: 23.92 kB / 1.063 GB, free: 240 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-06/0.3608, allocations: 4.062 kB / 1.063 GB, free: 236 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.836e-05/0.3609, allocations: 15.94 kB / 1.063 GB, free: 220 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.281e-05/0.3609, allocations: 15.97 kB / 1.063 GB, free: 204 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.48e-05/0.361, allocations: 113.8 kB / 1.063 GB, free: 80 kB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.073e-05/0.3611, allocations: 7.906 kB / 1.063 GB, free: 72 kB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.703e-05/0.3611, allocations: 12.72 kB / 1.063 GB, free: 60 kB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.077e-06/0.3611, allocations: 7.953 kB / 1.063 GB, free: 52 kB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.3611, allocations: 0 / 1.063 GB, free: 52 kB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.3611, allocations: 0 / 1.063 GB, free: 52 kB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002589/0.3614, allocations: 209.5 kB / 1.063 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.3614, allocations: 0 / 1.063 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.991e-05/0.3615, allocations: 19.92 kB / 1.063 GB, free: 15.78 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.3615, allocations: 0 / 1.063 GB, free: 15.78 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.156e-05/0.3616, allocations: 8 kB / 1.063 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.3616, allocations: 0 / 1.063 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.3616, allocations: 3.953 kB / 1.063 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000286/0.3619, allocations: 207.4 kB / 1.063 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.731e-05/0.3619, allocations: 89 kB / 1.063 GB, free: 15.44 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.649e-05/0.3619, allocations: 0 / 1.063 GB, free: 15.44 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001542/0.3621, allocations: 15.98 kB / 1.063 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.768e-05/0.3621, allocations: 8 kB / 1.063 GB, free: 15.42 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.557e-05/0.3622, allocations: 11.94 kB / 1.063 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.294e-05/0.3622, allocations: 103.3 kB / 1.064 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3622, allocations: 0 / 1.064 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002393/0.3625, allocations: 16 kB / 1.064 GB, free: 15.29 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 (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.000124/0.3626, allocations: 99.19 kB / 1.064 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000258/0.3629, allocations: 91.92 kB / 1.064 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.3629, allocations: 0 / 1.064 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000106/0.363, allocations: 47.86 kB / 1.064 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003773/0.3634, allocations: 34.7 kB / 1.064 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005046/0.3639, allocations: 232.9 kB / 1.064 GB, free: 14.76 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003156/0.3642, allocations: 0.6965 MB / 1.065 GB, free: 14.04 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.201e-05/0.3643, allocations: 16.66 kB / 1.065 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.095e-05/0.3644, allocations: 11.44 kB / 1.065 GB, free: 14 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.3644, allocations: 0 / 1.065 GB, free: 14 MB / 0.8262 GB Notification: Performance of Templates: time 0.004392/0.3688, allocations: 1.265 MB / 1.066 GB, free: 12.76 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