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.00104/0.00104, allocations: 92.16 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001387/0.001387, allocations: 182.9 kB / 16.92 MB, free: 6.926 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.495/1.495, allocations: 223.3 MB / 241 MB, free: 5.352 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.436/2.436, allocations: 390.9 MB / 0.667 GB, free: 2.34 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003724/0.0003726, allocations: 12 kB / 0.8166 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7031/0.7035, allocations: 142.4 MB / 0.9557 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.001688/0.7053, allocations: 1.372 MB / 0.957 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006798/0.706, allocations: 400.1 kB / 0.9574 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.037e-05/0.7061, allocations: 1.219 kB / 0.9574 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 8.609e-05/0.7062, allocations: 9.422 kB / 0.9574 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.442e-05/0.7062, allocations: 18.64 kB / 0.9575 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003925/0.7066, allocations: 103.5 kB / 0.9576 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001427/0.7068, allocations: 112.5 kB / 0.9577 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001197/0.7069, allocations: 39.12 kB / 0.9577 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.516e-05/0.707, allocations: 32.42 kB / 0.9577 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.143e-05/0.7071, allocations: 31.34 kB / 0.9578 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.891e-05/0.7071, allocations: 7 kB / 0.9578 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001292/0.7072, allocations: 54.89 kB / 0.9578 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.169e-05/0.7072, allocations: 15.44 kB / 0.9578 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.038e-05/0.7073, allocations: 70.59 kB / 0.9579 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001464/0.7074, allocations: 92.8 kB / 0.958 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.7075, allocations: 0 / 0.958 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.443e-06/0.7075, allocations: 0 / 0.958 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.408e-06/0.7075, allocations: 0 / 0.958 GB, free: 5.941 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.0004624/0.7079, allocations: 401.5 kB / 0.9584 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.372e-05/0.708, allocations: 8.719 kB / 0.9584 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002528/0.7082, allocations: 38.81 kB / 0.9584 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001517/0.7084, allocations: 203.3 kB / 0.9586 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.092e-05/0.7085, allocations: 32.48 kB / 0.9586 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.845e-05/0.7085, allocations: 9.219 kB / 0.9586 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002549/0.7088, allocations: 116.1 kB / 0.9588 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.397e-06/0.7088, allocations: 7.922 kB / 0.9588 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.651e-05/0.7088, allocations: 4 kB / 0.9588 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.7088, allocations: 1.75 kB / 0.9588 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002418/0.7091, allocations: 88.78 kB / 0.9589 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006067/0.7097, allocations: 392.8 kB / 0.9592 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005021/0.7102, allocations: 145.2 kB / 0.9594 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000121/0.7103, allocations: 48.95 kB / 0.9594 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.486e-05/0.7103, allocations: 5.188 kB / 0.9594 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.589e-05/0.7104, allocations: 31.88 kB / 0.9595 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.462e-06/0.7104, allocations: 0 / 0.9595 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0004252/0.7108, allocations: 149.7 kB / 0.9596 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.451e-05/0.7108, allocations: 52.75 kB / 0.9596 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.089e-05/0.7109, allocations: 143.4 kB / 0.9598 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.616e-05/0.711, allocations: 30.86 kB / 0.9598 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.359e-05/0.711, allocations: 96.3 kB / 0.9599 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.053e-05/0.711, allocations: 25.83 kB / 0.9599 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.521e-05/0.7111, allocations: 11.78 kB / 0.9599 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.193e-05/0.7111, allocations: 325 kB / 0.9602 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001098/0.7112, allocations: 36.89 kB / 0.9603 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000122/0.7113, allocations: 49.94 kB / 0.9603 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002188/0.7116, allocations: 94.56 kB / 0.9604 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.7116, allocations: 0 / 0.9604 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002659/0.7119, allocations: 125 kB / 0.9605 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.7119, allocations: 5.281 kB / 0.9605 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.7119, allocations: 0.9062 kB / 0.9605 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.7119, allocations: 1.031 kB / 0.9605 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001144/0.712, allocations: 23.39 kB / 0.9606 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.501e-06/0.712, allocations: 1 kB / 0.9606 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.068e-05/0.7121, allocations: 19.36 kB / 0.9606 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.905e-06/0.7121, allocations: 2.031 kB / 0.9606 GB, free: 3.664 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.764e-05/0.7122, allocations: 122.5 kB / 0.9607 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.646e-05/0.7123, allocations: 11.28 kB / 0.9607 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.596e-05/0.7123, allocations: 10.69 kB / 0.9607 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.7123, allocations: 4.969 kB / 0.9607 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.7124, allocations: 1.094 kB / 0.9607 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.7124, allocations: 3.984 kB / 0.9607 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001615/0.7125, allocations: 191.8 kB / 0.9609 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.7125, allocations: 4.781 kB / 0.9609 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001048/0.7126, allocations: 23.11 kB / 0.9609 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.7127, allocations: 0 / 0.9609 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.859e-06/0.7127, allocations: 1.375 kB / 0.9609 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.7127, allocations: 7.875 kB / 0.961 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.103e-06/0.7127, allocations: 0 / 0.961 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002699/0.713, allocations: 222.3 kB / 0.9612 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.532e-05/0.713, allocations: 86.33 kB / 0.9613 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.586e-05/0.713, allocations: 1.375 kB / 0.9613 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001613/0.7132, allocations: 18.92 kB / 0.9613 GB, free: 2.988 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.894e-05/0.7132, allocations: 14.73 kB / 0.9613 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.058e-05/0.7132, allocations: 2.75 kB / 0.9613 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.839e-05/0.7133, allocations: 104.7 kB / 0.9614 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7133, allocations: 0 / 0.9614 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002418/0.7135, allocations: 20.41 kB / 0.9614 GB, free: 2.887 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.249e-05/0.7136, allocations: 105.1 kB / 0.9615 GB, free: 2.789 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002599/0.7139, allocations: 83.39 kB / 0.9616 GB, free: 2.758 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.7139, allocations: 1.375 kB / 0.9616 GB, free: 2.758 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001107/0.714, allocations: 38.11 kB / 0.9616 GB, free: 2.746 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003666/0.7144, allocations: 37.72 kB / 0.9617 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000399/0.7148, allocations: 261.9 kB / 0.9619 GB, free: 2.5 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000101/0.7149, allocations: 0.7003 MB / 0.9626 GB, free: 1.789 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.127e-05/0.715, allocations: 12.16 kB / 0.9626 GB, free: 1.781 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.715, allocations: 0 / 0.9626 GB, free: 1.781 MB / 0.7169 GB Notification: Performance of Templates: time 0.002682/0.7177, allocations: 1.292 MB / 0.9639 GB, free: 1.121 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches