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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001293/0.001293, allocations: 112.8 kB / 16.41 MB, free: 5.992 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.00129/0.00129, allocations: 196.5 kB / 17.34 MB, free: 5.602 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.461/1.461, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.637/2.637, allocations: 437.1 MB / 0.7112 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001924/0.001924, allocations: 59.91 kB / 1.019 GB, free: 9.469 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8951/0.897, allocations: 151.6 MB / 1.167 GB, free: 3.883 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.003051/0.9001, allocations: 1.675 MB / 1.169 GB, free: 2.199 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0007654/0.9009, allocations: 398.8 kB / 1.169 GB, free: 1.809 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.62e-05/0.901, allocations: 4 kB / 1.169 GB, free: 1.805 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.000107/0.9011, allocations: 7.875 kB / 1.169 GB, free: 1.797 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 6.011e-05/0.9012, allocations: 23.78 kB / 1.169 GB, free: 1.773 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004319/0.9016, allocations: 121.2 kB / 1.169 GB, free: 1.656 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001689/0.9018, allocations: 107.6 kB / 1.17 GB, free: 1.551 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001484/0.9019, allocations: 43.95 kB / 1.17 GB, free: 1.508 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 7.468e-05/0.902, allocations: 39.84 kB / 1.17 GB, free: 1.469 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 8.146e-05/0.9021, allocations: 43.78 kB / 1.17 GB, free: 1.426 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.19e-05/0.9021, allocations: 8 kB / 1.17 GB, free: 1.418 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001333/0.9023, allocations: 63.95 kB / 1.17 GB, free: 1.355 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3.469e-05/0.9023, allocations: 23.97 kB / 1.17 GB, free: 1.332 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 5.843e-05/0.9024, allocations: 47.73 kB / 1.17 GB, free: 1.285 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002386/0.9026, allocations: 136 kB / 1.17 GB, free: 1.156 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.9026, allocations: 0 / 1.17 GB, free: 1.156 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.142e-06/0.9026, allocations: 0 / 1.17 GB, free: 1.156 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.9026, allocations: 0 / 1.17 GB, free: 1.156 MB / 0.8887 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.0006126/0.9033, allocations: 419 kB / 1.17 GB, free: 0.6953 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.9033, allocations: 12.62 kB / 1.17 GB, free: 0.6836 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002266/0.9035, allocations: 36.83 kB / 1.17 GB, free: 0.6484 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002714/0.9038, allocations: 193.4 kB / 1.171 GB, free: 432 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.454e-05/0.9039, allocations: 34.25 kB / 1.171 GB, free: 392 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.483e-05/0.9039, allocations: 12.38 kB / 1.171 GB, free: 380 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002856/0.9042, allocations: 98.2 kB / 1.171 GB, free: 276 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.9042, allocations: 3.938 kB / 1.171 GB, free: 272 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.529e-05/0.9043, allocations: 0 / 1.171 GB, free: 272 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.9043, allocations: 8 kB / 1.171 GB, free: 264 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002443/0.9045, allocations: 79.88 kB / 1.171 GB, free: 184 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007513/0.9053, allocations: 392.4 kB / 1.171 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005198/0.9058, allocations: 130.5 kB / 1.171 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001209/0.906, allocations: 40.88 kB / 1.171 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.49e-05/0.906, allocations: 0 / 1.171 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.72e-05/0.906, allocations: 34.56 kB / 1.171 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=7): time 1.031e-06/0.906, allocations: 4 kB / 1.171 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7): time 0.0004287/0.9064, allocations: 133.5 kB / 1.172 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.999e-05/0.9065, allocations: 51.41 kB / 1.172 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001342/0.9066, allocations: 144.1 kB / 1.172 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.601e-05/0.9067, allocations: 29.7 kB / 1.172 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 6.608e-05/0.9068, allocations: 100.1 kB / 1.172 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.693e-05/0.9068, allocations: 23.8 kB / 1.172 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.506e-05/0.9068, allocations: 21.72 kB / 1.172 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.000168/0.907, allocations: 318.8 kB / 1.172 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001075/0.9071, allocations: 35.97 kB / 1.172 GB, free: 14.63 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000116/0.9072, allocations: 49.83 kB / 1.172 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000216/0.9075, allocations: 82.09 kB / 1.172 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.9075, allocations: 0 / 1.172 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002694/0.9077, allocations: 109.5 kB / 1.172 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.9078, allocations: 4 kB / 1.172 GB, free: 14.37 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.9078, allocations: 4 kB / 1.172 GB, free: 14.37 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.9078, allocations: 7.969 kB / 1.172 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001136/0.9079, allocations: 27.91 kB / 1.172 GB, free: 14.33 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.065e-05/0.9079, allocations: 7.984 kB / 1.172 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.449e-05/0.908, allocations: 7.938 kB / 1.172 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.044e-06/0.908, allocations: 0 / 1.172 GB, free: 14.32 MB / 0.9044 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.0001127/0.9082, allocations: 113.8 kB / 1.173 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.53e-05/0.9082, allocations: 11.89 kB / 1.173 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.937e-05/0.9083, allocations: 20.7 kB / 1.173 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.9083, allocations: 3.938 kB / 1.173 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.9083, allocations: 0 / 1.173 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.9083, allocations: 4 kB / 1.173 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000237/0.9085, allocations: 205.5 kB / 1.173 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.9085, allocations: 0 / 1.173 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001013/0.9086, allocations: 15.98 kB / 1.173 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.9087, allocations: 3.938 kB / 1.173 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.646e-06/0.9087, allocations: 0 / 1.173 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-06/0.9087, allocations: 7.938 kB / 1.173 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.9087, allocations: 0 / 1.173 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003385/0.909, allocations: 203.4 kB / 1.173 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 6.679e-05/0.9091, allocations: 85.06 kB / 1.173 GB, free: 13.56 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.432e-05/0.9091, allocations: 7.984 kB / 1.173 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001462/0.9093, allocations: 11.92 kB / 1.173 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.587e-05/0.9093, allocations: 4 kB / 1.173 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.159e-05/0.9094, allocations: 4 kB / 1.173 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 8.844e-05/0.9094, allocations: 109.9 kB / 1.173 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9095, allocations: 4 kB / 1.173 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002374/0.9097, allocations: 16 kB / 1.173 GB, free: 13.41 MB / 0.9044 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.0001391/0.9098, allocations: 99.25 kB / 1.173 GB, free: 13.3 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002772/0.9101, allocations: 71.89 kB / 1.173 GB, free: 13.23 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.429e-06/0.9101, allocations: 4 kB / 1.173 GB, free: 13.23 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001303/0.9103, allocations: 35.97 kB / 1.173 GB, free: 13.2 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000343/0.9106, allocations: 35.92 kB / 1.174 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005549/0.9112, allocations: 214.8 kB / 1.174 GB, free: 12.92 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004774/0.9117, allocations: 0.7002 MB / 1.174 GB, free: 12.2 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 6.871e-05/0.9118, allocations: 8.672 kB / 1.174 GB, free: 12.18 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.132e-05/0.9118, allocations: 15.38 kB / 1.174 GB, free: 12.17 MB / 0.9044 GB Notification: Performance of SimCode: time 8.72e-07/0.9118, allocations: 0 / 1.174 GB, free: 12.17 MB / 0.9044 GB Notification: Performance of Templates: time 0.004817/0.9166, allocations: 1.441 MB / 1.176 GB, free: 10.75 MB / 0.9044 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches