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.001461/0.001462, allocations: 108.1 kB / 16.41 MB, free: 6.512 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.00148/0.00148, allocations: 189.5 kB / 17.34 MB, free: 5.742 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.422/1.422, 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 9.1.3-maint.9.1.x/package.mo): time 2.304/2.304, allocations: 390.3 MB / 0.6655 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 67.89 kB / 0.9515 GB, free: 7.668 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.163/1.165, allocations: 140.4 MB / 1.089 GB, free: 5.535 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.004419/1.169, allocations: 1.67 MB / 1.09 GB, free: 4.375 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0007997/1.17, allocations: 402.9 kB / 1.091 GB, free: 4.105 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.803e-05/1.17, allocations: 5 kB / 1.091 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001299/1.17, allocations: 10.31 kB / 1.091 GB, free: 4.094 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.611e-05/1.17, allocations: 25.83 kB / 1.091 GB, free: 4.074 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004987/1.171, allocations: 124 kB / 1.091 GB, free: 4.012 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002282/1.171, allocations: 105.8 kB / 1.091 GB, free: 3.965 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002067/1.171, allocations: 40.08 kB / 1.091 GB, free: 3.945 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.129e-05/1.171, allocations: 44.42 kB / 1.091 GB, free: 3.926 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 9.792e-05/1.171, allocations: 40.83 kB / 1.091 GB, free: 3.906 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.255e-05/1.172, allocations: 7.812 kB / 1.091 GB, free: 3.906 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001775/1.172, allocations: 61.25 kB / 1.091 GB, free: 3.895 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.666e-05/1.172, allocations: 20 kB / 1.091 GB, free: 3.883 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 7.007e-05/1.172, allocations: 50.23 kB / 1.091 GB, free: 3.852 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002912/1.172, allocations: 134.2 kB / 1.091 GB, free: 3.801 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/1.172, allocations: 4.562 kB / 1.091 GB, free: 3.797 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.973e-06/1.172, allocations: 0 / 1.091 GB, free: 3.797 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.115e-05/1.172, allocations: 1.156 kB / 1.091 GB, free: 3.797 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.0006196/1.173, allocations: 410.3 kB / 1.092 GB, free: 3.406 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/1.173, allocations: 10.2 kB / 1.092 GB, free: 3.406 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002531/1.173, allocations: 36.23 kB / 1.092 GB, free: 3.395 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002765/1.173, allocations: 201.2 kB / 1.092 GB, free: 3.176 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.35e-05/1.173, allocations: 32.52 kB / 1.092 GB, free: 3.145 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.399e-05/1.174, allocations: 9.375 kB / 1.092 GB, free: 3.141 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003068/1.174, allocations: 104.7 kB / 1.092 GB, free: 3.086 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/1.174, allocations: 3.938 kB / 1.092 GB, free: 3.082 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.871e-05/1.174, allocations: 1.562 kB / 1.092 GB, free: 3.082 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.949e-06/1.174, allocations: 1.625 kB / 1.092 GB, free: 3.082 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002749/1.174, allocations: 83.53 kB / 1.092 GB, free: 3.059 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008041/1.175, allocations: 381.8 kB / 1.092 GB, free: 2.738 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005876/1.176, allocations: 129.1 kB / 1.093 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00013/1.176, allocations: 39.58 kB / 1.093 GB, free: 2.676 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.594e-05/1.176, allocations: 0.8438 kB / 1.093 GB, free: 2.676 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.159e-05/1.176, allocations: 37.17 kB / 1.093 GB, free: 2.633 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.994e-06/1.176, allocations: 0 / 1.093 GB, free: 2.633 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0004824/1.176, allocations: 137.8 kB / 1.093 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.296e-05/1.176, allocations: 56.22 kB / 1.093 GB, free: 2.5 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001221/1.176, allocations: 148.7 kB / 1.093 GB, free: 2.379 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.792e-05/1.176, allocations: 25.7 kB / 1.093 GB, free: 2.348 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.335e-05/1.177, allocations: 99.52 kB / 1.093 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.807e-05/1.177, allocations: 24.06 kB / 1.093 GB, free: 2.234 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.325e-05/1.177, allocations: 23.81 kB / 1.093 GB, free: 2.211 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.199e-05/1.177, allocations: 329 kB / 1.093 GB, free: 1.887 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001118/1.177, allocations: 30.22 kB / 1.093 GB, free: 1.879 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001154/1.177, allocations: 46.73 kB / 1.094 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002185/1.177, allocations: 78.78 kB / 1.094 GB, free: 1.812 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/1.177, allocations: 4.625 kB / 1.094 GB, free: 1.809 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.00028/1.177, allocations: 112.3 kB / 1.094 GB, free: 1.75 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/1.177, allocations: 5.531 kB / 1.094 GB, free: 1.75 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/1.177, allocations: 1.203 kB / 1.094 GB, free: 1.75 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/1.178, allocations: 2.234 kB / 1.094 GB, free: 1.75 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001214/1.178, allocations: 25.2 kB / 1.094 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.214e-06/1.178, allocations: 0.7812 kB / 1.094 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001068/1.178, allocations: 15.06 kB / 1.094 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.416e-05/1.178, allocations: 3.172 kB / 1.094 GB, free: 1.734 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 9.576e-05/1.178, allocations: 113.8 kB / 1.094 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.049e-05/1.178, allocations: 9.016 kB / 1.094 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.427e-05/1.178, allocations: 15.52 kB / 1.094 GB, free: 1.598 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.147e-06/1.178, allocations: 9.438 kB / 1.094 GB, free: 1.59 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/1.178, allocations: 0 / 1.094 GB, free: 1.59 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/1.178, allocations: 1.297 kB / 1.094 GB, free: 1.59 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002148/1.178, allocations: 194.4 kB / 1.094 GB, free: 1.387 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/1.178, allocations: 4.812 kB / 1.094 GB, free: 1.383 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001112/1.178, allocations: 15.58 kB / 1.094 GB, free: 1.383 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/1.178, allocations: 0.6875 kB / 1.094 GB, free: 1.383 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.115e-05/1.178, allocations: 4.688 kB / 1.094 GB, free: 1.379 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/1.178, allocations: 5.391 kB / 1.094 GB, free: 1.375 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/1.178, allocations: 0.7188 kB / 1.094 GB, free: 1.375 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003187/1.179, allocations: 208.5 kB / 1.094 GB, free: 1.211 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.252e-05/1.179, allocations: 88.5 kB / 1.094 GB, free: 1.109 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.174e-05/1.179, allocations: 1.922 kB / 1.094 GB, free: 1.109 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001555/1.179, allocations: 13.89 kB / 1.094 GB, free: 1.105 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.968e-05/1.179, allocations: 9.281 kB / 1.094 GB, free: 1.102 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.458e-05/1.179, allocations: 7.594 kB / 1.094 GB, free: 1.098 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.853e-05/1.179, allocations: 106 kB / 1.095 GB, free: 1.016 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.042e-06/1.179, allocations: 0.7188 kB / 1.095 GB, free: 1.016 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002518/1.179, allocations: 20.94 kB / 1.095 GB, free: 1.012 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.0001445/1.18, allocations: 101.8 kB / 1.095 GB, free: 0.9219 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003401/1.18, allocations: 70.64 kB / 1.095 GB, free: 0.9062 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/1.18, allocations: 0.7812 kB / 1.095 GB, free: 0.9062 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001258/1.18, allocations: 39.52 kB / 1.095 GB, free: 0.8945 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003682/1.18, allocations: 41.03 kB / 1.095 GB, free: 0.8711 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006121/1.181, allocations: 226.2 kB / 1.095 GB, free: 0.6914 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002264/1.181, allocations: 0.6934 MB / 1.096 GB, free: 16 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.12e-05/1.181, allocations: 12.47 kB / 1.096 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of SimCode: time 4.21e-07/1.181, allocations: 4 kB / 1.096 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of Templates: time 0.004498/1.186, allocations: 1.318 MB / 1.097 GB, free: 15.88 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/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