Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.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.Functions.Examples.X_pSatpphi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|phi|X_w",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|phi|X_w",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006903/0.006903, allocations: 102.5 kB / 15.73 MB, free: 5.984 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.00132/0.00132, allocations: 199.1 kB / 16.68 MB, free: 5.91 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.501/1.501, allocations: 222.9 MB / 240.4 MB, free: 15.11 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.27/2.27, allocations: 390.2 MB / 0.6648 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 59.91 kB / 0.9508 GB, free: 7.699 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.041/1.043, allocations: 140.4 MB / 1.088 GB, free: 5.547 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.002596/1.045, allocations: 1.282 MB / 1.089 GB, free: 4.652 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.2246/1.27, allocations: 147.6 MB / 1.233 GB, free: 5.781 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.946e-05/1.27, allocations: 0 / 1.233 GB, free: 5.781 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.778e-05/1.27, allocations: 0 / 1.233 GB, free: 5.781 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.235e-05/1.27, allocations: 9.141 kB / 1.233 GB, free: 5.773 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007348/1.271, allocations: 122.2 kB / 1.233 GB, free: 5.688 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 8.244e-05/1.271, allocations: 20.81 kB / 1.233 GB, free: 5.676 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 5.345e-05/1.271, allocations: 1.188 kB / 1.233 GB, free: 5.676 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.481e-05/1.271, allocations: 4.625 kB / 1.233 GB, free: 5.676 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.979e-05/1.271, allocations: 15.3 kB / 1.234 GB, free: 5.664 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.282e-05/1.271, allocations: 1.344 kB / 1.234 GB, free: 5.664 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000581/1.272, allocations: 170.2 kB / 1.234 GB, free: 5.578 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.402e-05/1.272, allocations: 3.984 kB / 1.234 GB, free: 5.574 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.14e-05/1.272, allocations: 16 kB / 1.234 GB, free: 5.562 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003286/1.272, allocations: 102.1 kB / 1.234 GB, free: 5.52 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.032e-06/1.272, allocations: 0 / 1.234 GB, free: 5.52 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.294e-06/1.272, allocations: 0 / 1.234 GB, free: 5.52 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.101e-06/1.272, allocations: 0 / 1.234 GB, free: 5.52 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004504/1.273, allocations: 351.9 kB / 1.234 GB, free: 5.145 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.14e-05/1.273, allocations: 10.09 kB / 1.234 GB, free: 5.145 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006161/1.273, allocations: 45.77 kB / 1.234 GB, free: 5.121 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000132/1.274, allocations: 177.4 kB / 1.234 GB, free: 4.91 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.437e-05/1.274, allocations: 5.062 kB / 1.234 GB, free: 4.906 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.584e-05/1.274, allocations: 1 kB / 1.234 GB, free: 4.906 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001826/1.274, allocations: 45.33 kB / 1.234 GB, free: 4.863 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/1.274, allocations: 0 / 1.234 GB, free: 4.863 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.665e-05/1.274, allocations: 5.078 kB / 1.234 GB, free: 4.859 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/1.274, allocations: 0 / 1.234 GB, free: 4.859 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001198/1.274, allocations: 18.52 kB / 1.234 GB, free: 4.852 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003873/1.274, allocations: 251 kB / 1.235 GB, free: 4.566 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 6.114e-05/1.275, allocations: 27.91 kB / 1.235 GB, free: 4.535 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.883e-05/1.275, allocations: 12.52 kB / 1.235 GB, free: 4.523 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 8.607e-06/1.275, allocations: 5.094 kB / 1.235 GB, free: 4.52 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.337e-05/1.275, allocations: 31.72 kB / 1.235 GB, free: 4.48 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/1.275, allocations: 0 / 1.235 GB, free: 4.48 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.000155/1.275, allocations: 39.52 kB / 1.235 GB, free: 4.445 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.706e-05/1.275, allocations: 55.34 kB / 1.235 GB, free: 4.379 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001428/1.275, allocations: 111.8 kB / 1.235 GB, free: 4.27 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.468e-05/1.275, allocations: 30.83 kB / 1.235 GB, free: 4.234 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.633e-05/1.275, allocations: 88.92 kB / 1.235 GB, free: 4.145 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.01e-05/1.275, allocations: 13.33 kB / 1.235 GB, free: 4.133 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.628e-05/1.275, allocations: 16.86 kB / 1.235 GB, free: 4.113 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001162/1.275, allocations: 319.7 kB / 1.235 GB, free: 3.793 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.522e-05/1.275, allocations: 11 kB / 1.235 GB, free: 3.789 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.759e-05/1.275, allocations: 9.391 kB / 1.235 GB, free: 3.785 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.748e-05/1.275, allocations: 26.28 kB / 1.235 GB, free: 3.766 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/1.276, allocations: 1.406 kB / 1.235 GB, free: 3.766 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001887/1.276, allocations: 55.02 kB / 1.235 GB, free: 3.723 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/1.276, allocations: 9.219 kB / 1.235 GB, free: 3.719 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/1.276, allocations: 0 / 1.235 GB, free: 3.719 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/1.276, allocations: 1.094 kB / 1.235 GB, free: 3.719 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001116/1.276, allocations: 18.08 kB / 1.236 GB, free: 3.707 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/1.276, allocations: 0 / 1.236 GB, free: 3.707 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001434/1.276, allocations: 13.2 kB / 1.236 GB, free: 3.699 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.197e-05/1.276, allocations: 5.422 kB / 1.236 GB, free: 3.695 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (3): * Single equations (assignments): 3 * 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.066e-05/1.276, allocations: 108.4 kB / 1.236 GB, free: 3.582 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.061e-05/1.276, allocations: 3.984 kB / 1.236 GB, free: 3.578 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.469e-05/1.276, allocations: 8.703 kB / 1.236 GB, free: 3.57 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/1.276, allocations: 0 / 1.236 GB, free: 3.57 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/1.276, allocations: 5.375 kB / 1.236 GB, free: 3.566 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/1.276, allocations: 7.922 kB / 1.236 GB, free: 3.559 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001805/1.276, allocations: 149.5 kB / 1.236 GB, free: 3.367 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/1.276, allocations: 0 / 1.236 GB, free: 3.367 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.756e-05/1.276, allocations: 10.59 kB / 1.236 GB, free: 3.359 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/1.276, allocations: 1.031 kB / 1.236 GB, free: 3.359 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.927e-06/1.277, allocations: 0 / 1.236 GB, free: 3.359 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/1.277, allocations: 1.094 kB / 1.236 GB, free: 3.359 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.011e-06/1.277, allocations: 4 kB / 1.236 GB, free: 3.355 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001559/1.277, allocations: 149 kB / 1.236 GB, free: 3.203 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.934e-05/1.277, allocations: 78.27 kB / 1.236 GB, free: 3.109 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.821e-05/1.277, allocations: 1.062 kB / 1.236 GB, free: 3.109 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.489e-05/1.277, allocations: 1.344 kB / 1.236 GB, free: 3.109 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.859e-05/1.277, allocations: 5.297 kB / 1.236 GB, free: 3.105 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.173e-06/1.277, allocations: 5.156 kB / 1.236 GB, free: 3.102 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 9.437e-05/1.277, allocations: 90.98 kB / 1.236 GB, free: 3.02 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.21e-07/1.277, allocations: 4.031 kB / 1.236 GB, free: 3.016 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002557/1.277, allocations: 15.56 kB / 1.236 GB, free: 3.012 MB / 0.9669 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 (2): * Single equations (assignments): 2 * 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.0002108/1.277, allocations: 109 kB / 1.236 GB, free: 2.922 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001633/1.278, allocations: 19.17 kB / 1.236 GB, free: 2.914 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/1.278, allocations: 1.188 kB / 1.236 GB, free: 2.914 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.584e-05/1.278, allocations: 7.5 kB / 1.236 GB, free: 2.91 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002955/1.278, allocations: 12.77 kB / 1.236 GB, free: 2.902 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003237/1.278, allocations: 120.7 kB / 1.236 GB, free: 2.785 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003919/1.279, allocations: 0.6734 MB / 1.237 GB, free: 2.09 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 6.28e-05/1.279, allocations: 10.14 kB / 1.237 GB, free: 2.082 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.888e-05/1.279, allocations: 13.53 kB / 1.237 GB, free: 2.07 MB / 0.9669 GB Notification: Performance of SimCode: time 5.21e-07/1.279, allocations: 3.938 kB / 1.237 GB, free: 2.066 MB / 0.9669 GB Notification: Performance of Templates: time 0.003305/1.282, allocations: 0.7391 MB / 1.238 GB, free: 1.68 MB / 0.9669 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches