Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.007719/0.007719, allocations: 97.44 kB / 15.73 MB, free: 6.039 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.001685/0.001685, allocations: 195.8 kB / 16.67 MB, free: 5.961 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.431/1.431, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.859/2.859, allocations: 469.8 MB / 0.7425 GB, free: 7.348 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001449/0.001449, allocations: 64.12 kB / 1.065 GB, free: 13.1 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3204/0.3219, allocations: 159.1 MB / 1.221 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.002908/0.3248, allocations: 1.682 MB / 1.222 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0007397/0.3255, allocations: 398.7 kB / 1.223 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.865e-05/0.3256, allocations: 4 kB / 1.223 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001046/0.3257, allocations: 7.875 kB / 1.223 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.142e-05/0.3258, allocations: 19.78 kB / 1.223 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004621/0.3262, allocations: 123.6 kB / 1.223 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001691/0.3264, allocations: 111.6 kB / 1.223 GB, free: 11.49 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001195/0.3265, allocations: 27.98 kB / 1.223 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 9.056e-05/0.3266, allocations: 35.91 kB / 1.223 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.312e-05/0.3267, allocations: 39.78 kB / 1.223 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.12e-05/0.3267, allocations: 8 kB / 1.223 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000139/0.3269, allocations: 59.95 kB / 1.223 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.038e-05/0.3269, allocations: 27.91 kB / 1.223 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.893e-05/0.3269, allocations: 47.78 kB / 1.223 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002277/0.3272, allocations: 135.4 kB / 1.223 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.3272, allocations: 0 / 1.223 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.213e-06/0.3272, allocations: 0 / 1.223 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.273e-06/0.3272, allocations: 4 kB / 1.223 GB, free: 11.11 MB / 0.9825 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.0005804/0.3278, allocations: 418.9 kB / 1.224 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.342e-05/0.3278, allocations: 12.03 kB / 1.224 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002449/0.328, allocations: 24.88 kB / 1.224 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002655/0.3283, allocations: 195.5 kB / 1.224 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.586e-05/0.3284, allocations: 42.19 kB / 1.224 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.572e-05/0.3284, allocations: 12.31 kB / 1.224 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002635/0.3287, allocations: 102.1 kB / 1.224 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.906e-06/0.3287, allocations: 3.938 kB / 1.224 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.664e-05/0.3287, allocations: 4 kB / 1.224 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.3287, allocations: 4 kB / 1.224 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002382/0.3289, allocations: 79.94 kB / 1.224 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006934/0.3296, allocations: 384.5 kB / 1.224 GB, free: 9.711 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005496/0.3302, allocations: 122.6 kB / 1.225 GB, free: 9.582 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001188/0.3303, allocations: 44.81 kB / 1.225 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.293e-05/0.3303, allocations: 0 / 1.225 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.368e-05/0.3303, allocations: 34.56 kB / 1.225 GB, free: 9.492 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 2.645e-06/0.3303, allocations: 3.984 kB / 1.225 GB, free: 9.488 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0004516/0.3308, allocations: 145.5 kB / 1.225 GB, free: 9.34 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.932e-05/0.3308, allocations: 51.41 kB / 1.225 GB, free: 9.277 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001083/0.3309, allocations: 140 kB / 1.225 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.388e-05/0.3309, allocations: 29.7 kB / 1.225 GB, free: 9.098 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.837e-05/0.331, allocations: 92.28 kB / 1.225 GB, free: 9.004 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.792e-05/0.331, allocations: 31.73 kB / 1.225 GB, free: 8.973 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.879e-05/0.3311, allocations: 29.7 kB / 1.225 GB, free: 8.938 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000122/0.3312, allocations: 314.8 kB / 1.225 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001116/0.3313, allocations: 35.91 kB / 1.225 GB, free: 8.586 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001076/0.3314, allocations: 45.69 kB / 1.226 GB, free: 8.535 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001984/0.3316, allocations: 73.69 kB / 1.226 GB, free: 8.457 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.3316, allocations: 4 kB / 1.226 GB, free: 8.453 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000266/0.3319, allocations: 110 kB / 1.226 GB, free: 8.34 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.3319, allocations: 7.984 kB / 1.226 GB, free: 8.332 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.3319, allocations: 4 kB / 1.226 GB, free: 8.328 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.3319, allocations: 0 / 1.226 GB, free: 8.328 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001189/0.332, allocations: 19.92 kB / 1.226 GB, free: 8.309 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.332, allocations: 4.062 kB / 1.226 GB, free: 8.305 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.703e-05/0.3321, allocations: 15.97 kB / 1.226 GB, free: 8.289 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.885e-06/0.3321, allocations: 0 / 1.226 GB, free: 8.289 MB / 0.9825 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.423e-05/0.3322, allocations: 122.3 kB / 1.226 GB, free: 8.16 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.805e-05/0.3323, allocations: 11.89 kB / 1.226 GB, free: 8.148 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.62e-05/0.3323, allocations: 16.72 kB / 1.226 GB, free: 8.125 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.3323, allocations: 3.938 kB / 1.226 GB, free: 8.121 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.3323, allocations: 0 / 1.226 GB, free: 8.121 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.3323, allocations: 4 kB / 1.226 GB, free: 8.117 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002093/0.3325, allocations: 209.5 kB / 1.226 GB, free: 7.863 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.3325, allocations: 0 / 1.226 GB, free: 7.863 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001092/0.3326, allocations: 15.98 kB / 1.226 GB, free: 7.848 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.3326, allocations: 0 / 1.226 GB, free: 7.848 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.709e-06/0.3327, allocations: 4 kB / 1.226 GB, free: 7.844 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.057e-06/0.3327, allocations: 7.938 kB / 1.226 GB, free: 7.836 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.3327, allocations: 0 / 1.226 GB, free: 7.836 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002912/0.3329, allocations: 199.5 kB / 1.226 GB, free: 7.625 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.2e-05/0.333, allocations: 88.98 kB / 1.226 GB, free: 7.52 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.829e-05/0.333, allocations: 0 / 1.226 GB, free: 7.52 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001563/0.3332, allocations: 15.92 kB / 1.226 GB, free: 7.504 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.103e-05/0.3332, allocations: 4 kB / 1.226 GB, free: 7.5 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.276e-05/0.3332, allocations: 7.984 kB / 1.226 GB, free: 7.492 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7e-05/0.3333, allocations: 105.5 kB / 1.227 GB, free: 7.391 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3333, allocations: 0 / 1.227 GB, free: 7.391 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002588/0.3335, allocations: 16 kB / 1.227 GB, free: 7.375 MB / 0.9825 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.0001162/0.3337, allocations: 111.1 kB / 1.227 GB, free: 7.258 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002653/0.3339, allocations: 75.88 kB / 1.227 GB, free: 7.184 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.3339, allocations: 0 / 1.227 GB, free: 7.184 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000108/0.334, allocations: 35.97 kB / 1.227 GB, free: 7.148 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003502/0.3344, allocations: 24.05 kB / 1.227 GB, free: 7.125 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006246/0.335, allocations: 211 kB / 1.227 GB, free: 6.895 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003785/0.3354, allocations: 0.704 MB / 1.228 GB, free: 6.164 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.501e-05/0.3355, allocations: 8.672 kB / 1.228 GB, free: 6.152 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.91e-05/0.3355, allocations: 15.38 kB / 1.228 GB, free: 6.137 MB / 0.9825 GB Notification: Performance of SimCode: time 5.71e-07/0.3355, allocations: 0 / 1.228 GB, free: 6.137 MB / 0.9825 GB Notification: Performance of Templates: time 0.004203/0.3397, allocations: 1.446 MB / 1.229 GB, free: 4.715 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.makefile (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.sim & ./Buildings_11_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Examples_HumidityRatioPressure.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches