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.002306/0.002306, allocations: 107.3 kB / 16.41 MB, free: 6.406 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.002498/0.002499, allocations: 191.4 kB / 17.34 MB, free: 5.695 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.408/1.408, allocations: 222.9 MB / 241 MB, free: 15.08 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.32/2.32, allocations: 390.2 MB / 0.6655 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00143/0.00143, allocations: 63.91 kB / 0.9515 GB, free: 7.637 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8462/0.8476, allocations: 140.4 MB / 1.089 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.002214/0.8499, allocations: 1.293 MB / 1.09 GB, free: 4.621 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1775/1.027, allocations: 147.6 MB / 1.234 GB, free: 5.695 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.712e-05/1.027, allocations: 0 / 1.234 GB, free: 5.695 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.827e-05/1.028, allocations: 1 kB / 1.234 GB, free: 5.695 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.376e-05/1.028, allocations: 8.984 kB / 1.234 GB, free: 5.688 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005203/1.028, allocations: 112.6 kB / 1.234 GB, free: 5.609 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 6.804e-05/1.028, allocations: 28.84 kB / 1.234 GB, free: 5.59 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.031e-05/1.028, allocations: 10.06 kB / 1.234 GB, free: 5.582 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 3.385e-05/1.028, allocations: 3.75 kB / 1.234 GB, free: 5.582 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 3.657e-05/1.028, allocations: 11.88 kB / 1.234 GB, free: 5.574 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.072e-05/1.028, allocations: 1.062 kB / 1.234 GB, free: 5.574 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004422/1.029, allocations: 174.6 kB / 1.234 GB, free: 5.484 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 9.468e-06/1.029, allocations: 0 / 1.234 GB, free: 5.484 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.731e-05/1.029, allocations: 8.344 kB / 1.234 GB, free: 5.48 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000248/1.029, allocations: 108.8 kB / 1.234 GB, free: 5.43 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/1.029, allocations: 1.094 kB / 1.234 GB, free: 5.43 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.412e-06/1.029, allocations: 0 / 1.234 GB, free: 5.43 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.796e-06/1.029, allocations: 0 / 1.234 GB, free: 5.43 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.0003617/1.03, allocations: 356.3 kB / 1.235 GB, free: 5.051 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/1.03, allocations: 9.688 kB / 1.235 GB, free: 5.051 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005427/1.03, allocations: 37.52 kB / 1.235 GB, free: 5.035 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001172/1.03, allocations: 165.3 kB / 1.235 GB, free: 4.836 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.395e-05/1.03, allocations: 5.031 kB / 1.235 GB, free: 4.832 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.552e-05/1.03, allocations: 5 kB / 1.235 GB, free: 4.828 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001593/1.03, allocations: 49.5 kB / 1.235 GB, free: 4.781 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.724e-06/1.03, allocations: 0 / 1.235 GB, free: 4.781 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.759e-06/1.03, allocations: 1.219 kB / 1.235 GB, free: 4.781 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/1.03, allocations: 3.984 kB / 1.235 GB, free: 4.777 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000118/1.031, allocations: 19.09 kB / 1.235 GB, free: 4.77 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003438/1.031, allocations: 254.2 kB / 1.235 GB, free: 4.48 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 5.213e-05/1.031, allocations: 24.14 kB / 1.235 GB, free: 4.453 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.086e-05/1.031, allocations: 13.39 kB / 1.235 GB, free: 4.441 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 7.294e-06/1.031, allocations: 0 / 1.235 GB, free: 4.441 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.357e-05/1.031, allocations: 35.67 kB / 1.235 GB, free: 4.398 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 7.51e-07/1.031, allocations: 0 / 1.235 GB, free: 4.398 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0001338/1.031, allocations: 43.67 kB / 1.235 GB, free: 4.359 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.286e-05/1.031, allocations: 51.41 kB / 1.236 GB, free: 4.297 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001393/1.031, allocations: 112.2 kB / 1.236 GB, free: 4.188 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.26e-05/1.031, allocations: 25.7 kB / 1.236 GB, free: 4.156 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.3e-05/1.032, allocations: 93.06 kB / 1.236 GB, free: 4.062 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.095e-05/1.032, allocations: 8.906 kB / 1.236 GB, free: 4.055 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.082e-05/1.032, allocations: 18.14 kB / 1.236 GB, free: 4.035 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001095/1.032, allocations: 320.2 kB / 1.236 GB, free: 3.715 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.763e-05/1.032, allocations: 13.27 kB / 1.236 GB, free: 3.707 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.686e-05/1.032, allocations: 10.86 kB / 1.236 GB, free: 3.703 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.649e-05/1.032, allocations: 22.16 kB / 1.236 GB, free: 3.688 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/1.032, allocations: 0 / 1.236 GB, free: 3.688 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001882/1.032, allocations: 59.64 kB / 1.236 GB, free: 3.641 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/1.032, allocations: 9.938 kB / 1.236 GB, free: 3.637 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.289e-06/1.032, allocations: 3.938 kB / 1.236 GB, free: 3.633 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/1.032, allocations: 1.031 kB / 1.236 GB, free: 3.633 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001091/1.032, allocations: 9.922 kB / 1.236 GB, free: 3.629 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/1.032, allocations: 0 / 1.236 GB, free: 3.629 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001447/1.032, allocations: 21.48 kB / 1.236 GB, free: 3.613 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.786e-06/1.032, allocations: 1.125 kB / 1.236 GB, free: 3.613 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 6.888e-05/1.033, allocations: 112 kB / 1.236 GB, free: 3.496 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.887e-05/1.033, allocations: 1.062 kB / 1.236 GB, free: 3.496 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.06e-05/1.033, allocations: 8.375 kB / 1.236 GB, free: 3.488 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/1.033, allocations: 0 / 1.236 GB, free: 3.488 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/1.033, allocations: 0 / 1.236 GB, free: 3.488 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.274e-05/1.033, allocations: 5.125 kB / 1.236 GB, free: 3.484 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000142/1.033, allocations: 149.3 kB / 1.236 GB, free: 3.293 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/1.033, allocations: 3.984 kB / 1.236 GB, free: 3.289 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.518e-05/1.033, allocations: 2.094 kB / 1.236 GB, free: 3.289 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/1.033, allocations: 5.031 kB / 1.236 GB, free: 3.285 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.721e-06/1.033, allocations: 0 / 1.236 GB, free: 3.285 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/1.033, allocations: 1 kB / 1.236 GB, free: 3.285 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/1.033, allocations: 0 / 1.236 GB, free: 3.285 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001208/1.033, allocations: 145.2 kB / 1.237 GB, free: 3.137 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.618e-05/1.033, allocations: 82.58 kB / 1.237 GB, free: 3.039 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.785e-05/1.033, allocations: 1.094 kB / 1.237 GB, free: 3.039 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.615e-05/1.033, allocations: 6.281 kB / 1.237 GB, free: 3.035 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.299e-05/1.033, allocations: 1.281 kB / 1.237 GB, free: 3.035 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.638e-06/1.033, allocations: 3.938 kB / 1.237 GB, free: 3.031 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 9.81e-05/1.033, allocations: 95.28 kB / 1.237 GB, free: 2.945 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.41e-07/1.033, allocations: 0 / 1.237 GB, free: 2.945 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002537/1.034, allocations: 15.91 kB / 1.237 GB, free: 2.941 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.0001722/1.034, allocations: 112.1 kB / 1.237 GB, free: 2.848 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.000142/1.034, allocations: 25.09 kB / 1.237 GB, free: 2.836 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/1.034, allocations: 0 / 1.237 GB, free: 2.836 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.28e-05/1.034, allocations: 8.312 kB / 1.237 GB, free: 2.832 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003078/1.034, allocations: 6.719 kB / 1.237 GB, free: 2.832 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003025/1.035, allocations: 148.8 kB / 1.237 GB, free: 2.68 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002469/1.035, allocations: 0.6797 MB / 1.238 GB, free: 1.977 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.812e-05/1.035, allocations: 14.33 kB / 1.238 GB, free: 1.965 MB / 0.9669 GB Notification: Performance of SimCode: time 2.8e-07/1.035, allocations: 0 / 1.238 GB, free: 1.965 MB / 0.9669 GB Notification: Performance of Templates: time 0.002296/1.037, allocations: 0.8147 MB / 1.239 GB, free: 1.543 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/jenkins1/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