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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.009013/0.009014, allocations: 101.7 kB / 15.73 MB, free: 6.07 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.001571/0.001572, allocations: 196.6 kB / 16.68 MB, free: 5.977 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.502/1.502, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.353/2.353, allocations: 390.2 MB / 0.6648 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001802/0.001802, allocations: 59.91 kB / 0.9508 GB, free: 7.676 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.18/1.182, allocations: 140.4 MB / 1.088 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.002797/1.185, allocations: 1.673 MB / 1.09 GB, free: 4.371 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0007595/1.186, allocations: 398.7 kB / 1.09 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.833e-05/1.186, allocations: 1.344 kB / 1.09 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001244/1.186, allocations: 15.59 kB / 1.09 GB, free: 4.09 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.561e-05/1.186, allocations: 20.61 kB / 1.09 GB, free: 4.074 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004758/1.187, allocations: 123.6 kB / 1.09 GB, free: 4.012 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001737/1.187, allocations: 110.4 kB / 1.09 GB, free: 3.961 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001449/1.187, allocations: 44.5 kB / 1.09 GB, free: 3.938 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.147e-05/1.187, allocations: 40.73 kB / 1.09 GB, free: 3.922 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.68e-05/1.187, allocations: 40.52 kB / 1.09 GB, free: 3.902 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.415e-05/1.187, allocations: 8.469 kB / 1.09 GB, free: 3.902 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001494/1.187, allocations: 60.19 kB / 1.09 GB, free: 3.891 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.193e-05/1.187, allocations: 20.34 kB / 1.09 GB, free: 3.879 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.056e-05/1.188, allocations: 50.89 kB / 1.09 GB, free: 3.848 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002728/1.188, allocations: 130.9 kB / 1.091 GB, free: 3.801 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/1.188, allocations: 0 / 1.091 GB, free: 3.801 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.292e-06/1.188, allocations: 0 / 1.091 GB, free: 3.801 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.672e-06/1.188, allocations: 1.031 kB / 1.091 GB, free: 3.801 MB / 0.8575 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.0005745/1.188, allocations: 429.6 kB / 1.091 GB, free: 3.391 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/1.188, allocations: 8.562 kB / 1.091 GB, free: 3.391 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000245/1.189, allocations: 28.16 kB / 1.091 GB, free: 3.387 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002203/1.189, allocations: 194.6 kB / 1.091 GB, free: 3.176 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.407e-05/1.189, allocations: 35.44 kB / 1.091 GB, free: 3.141 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.082e-05/1.189, allocations: 6.359 kB / 1.091 GB, free: 3.141 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002812/1.189, allocations: 103.5 kB / 1.091 GB, free: 3.086 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/1.189, allocations: 4.547 kB / 1.091 GB, free: 3.082 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.789e-05/1.189, allocations: 9.781 kB / 1.091 GB, free: 3.074 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/1.189, allocations: 5.406 kB / 1.091 GB, free: 3.07 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002587/1.19, allocations: 79.38 kB / 1.091 GB, free: 3.051 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006921/1.19, allocations: 386.6 kB / 1.092 GB, free: 2.727 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005476/1.191, allocations: 127.9 kB / 1.092 GB, free: 2.68 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000124/1.191, allocations: 39.84 kB / 1.092 GB, free: 2.664 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.36e-05/1.191, allocations: 4.719 kB / 1.092 GB, free: 2.66 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.936e-05/1.191, allocations: 36.73 kB / 1.092 GB, free: 2.617 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.132e-06/1.191, allocations: 0 / 1.092 GB, free: 2.617 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0004485/1.192, allocations: 133.8 kB / 1.092 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.597e-05/1.192, allocations: 52.73 kB / 1.092 GB, free: 2.492 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001092/1.192, allocations: 144.1 kB / 1.092 GB, free: 2.375 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.4e-05/1.192, allocations: 30.64 kB / 1.092 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.652e-05/1.192, allocations: 102.5 kB / 1.092 GB, free: 2.242 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.54e-05/1.192, allocations: 21.22 kB / 1.092 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.018e-05/1.192, allocations: 20.11 kB / 1.092 GB, free: 2.207 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.132e-05/1.192, allocations: 323.8 kB / 1.093 GB, free: 1.887 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001083/1.192, allocations: 30.33 kB / 1.093 GB, free: 1.879 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001137/1.192, allocations: 47.25 kB / 1.093 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002083/1.192, allocations: 84.72 kB / 1.093 GB, free: 1.809 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/1.192, allocations: 0 / 1.093 GB, free: 1.809 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002611/1.193, allocations: 111.5 kB / 1.093 GB, free: 1.75 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/1.193, allocations: 5.797 kB / 1.093 GB, free: 1.75 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/1.193, allocations: 4.719 kB / 1.093 GB, free: 1.746 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/1.193, allocations: 5.469 kB / 1.093 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001148/1.193, allocations: 21.58 kB / 1.093 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.126e-06/1.193, allocations: 5.578 kB / 1.093 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.123e-05/1.193, allocations: 15.5 kB / 1.093 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.917e-06/1.193, allocations: 2.156 kB / 1.093 GB, free: 1.727 MB / 0.8575 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 6.546e-05/1.193, allocations: 118.3 kB / 1.093 GB, free: 1.605 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.6e-05/1.193, allocations: 8.109 kB / 1.093 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.986e-05/1.193, allocations: 16.33 kB / 1.093 GB, free: 1.586 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/1.193, allocations: 5.25 kB / 1.093 GB, free: 1.582 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/1.193, allocations: 0 / 1.093 GB, free: 1.582 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/1.193, allocations: 1.547 kB / 1.093 GB, free: 1.582 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001812/1.193, allocations: 198 kB / 1.093 GB, free: 1.375 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/1.193, allocations: 0.7188 kB / 1.093 GB, free: 1.375 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001049/1.193, allocations: 19.52 kB / 1.093 GB, free: 1.371 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/1.193, allocations: 0.7812 kB / 1.093 GB, free: 1.371 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.191e-05/1.193, allocations: 1.375 kB / 1.093 GB, free: 1.371 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.866e-06/1.193, allocations: 4.688 kB / 1.093 GB, free: 1.367 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/1.193, allocations: 4 kB / 1.093 GB, free: 1.363 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002956/1.194, allocations: 205.5 kB / 1.094 GB, free: 1.203 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.074e-05/1.194, allocations: 84.53 kB / 1.094 GB, free: 1.105 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.938e-05/1.194, allocations: 1.688 kB / 1.094 GB, free: 1.105 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001552/1.194, allocations: 18.39 kB / 1.094 GB, free: 1.098 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.749e-05/1.194, allocations: 11.95 kB / 1.094 GB, free: 1.09 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.259e-05/1.194, allocations: 4.062 kB / 1.094 GB, free: 1.09 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.746e-05/1.194, allocations: 110.5 kB / 1.094 GB, free: 1.004 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/1.194, allocations: 0 / 1.094 GB, free: 1.004 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002421/1.194, allocations: 17.09 kB / 1.094 GB, free: 1.004 MB / 0.8575 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.0001156/1.194, allocations: 109.7 kB / 1.094 GB, free: 0.9062 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002879/1.195, allocations: 75.17 kB / 1.094 GB, free: 0.8867 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/1.195, allocations: 0 / 1.094 GB, free: 0.8867 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001279/1.195, allocations: 41.11 kB / 1.094 GB, free: 0.875 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003651/1.195, allocations: 26.48 kB / 1.094 GB, free: 0.8672 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004802/1.196, allocations: 209 kB / 1.094 GB, free: 0.7109 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001393/1.196, allocations: 0.6935 MB / 1.095 GB, free: 16 kB / 0.8575 GB Notification: Performance of simCode: alias equations: time 8.624e-05/1.196, allocations: 12.7 kB / 1.095 GB, free: 8 kB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.656e-05/1.196, allocations: 11.88 kB / 1.095 GB, free: 0 / 0.8575 GB Notification: Performance of SimCode: time 2.3e-07/1.196, allocations: 0 / 1.095 GB, free: 0 / 0.8575 GB Notification: Performance of Templates: time 0.004737/1.201, allocations: 1.456 MB / 1.096 GB, free: 15.87 MB / 0.8731 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches