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.009157/0.009157, allocations: 101.1 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.001313/0.001313, allocations: 196.8 kB / 16.68 MB, free: 5.965 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.401/1.401, allocations: 222.9 MB / 240.4 MB, free: 15.13 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.239/2.239, allocations: 390.2 MB / 0.6648 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001333/0.001333, allocations: 59.91 kB / 0.9508 GB, free: 7.652 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.063/1.064, allocations: 140.4 MB / 1.088 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.002608/1.067, allocations: 1.291 MB / 1.089 GB, free: 4.617 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.2268/1.294, allocations: 147.6 MB / 1.233 GB, free: 5.703 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.606e-05/1.294, allocations: 1.094 kB / 1.233 GB, free: 5.703 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.52e-05/1.294, allocations: 3.938 kB / 1.233 GB, free: 5.699 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.396e-05/1.294, allocations: 5.062 kB / 1.233 GB, free: 5.695 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004316/1.294, allocations: 117.2 kB / 1.233 GB, free: 5.613 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.25e-05/1.294, allocations: 28.98 kB / 1.234 GB, free: 5.594 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.735e-05/1.294, allocations: 5.141 kB / 1.234 GB, free: 5.59 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 3.505e-05/1.295, allocations: 4.625 kB / 1.234 GB, free: 5.59 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 3.878e-05/1.295, allocations: 7.75 kB / 1.234 GB, free: 5.586 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.045e-05/1.295, allocations: 0 / 1.234 GB, free: 5.586 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004297/1.295, allocations: 174.9 kB / 1.234 GB, free: 5.496 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.002e-05/1.295, allocations: 5.062 kB / 1.234 GB, free: 5.492 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.156e-05/1.295, allocations: 7.312 kB / 1.234 GB, free: 5.488 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002365/1.295, allocations: 110 kB / 1.234 GB, free: 5.438 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/1.295, allocations: 0 / 1.234 GB, free: 5.438 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.443e-06/1.295, allocations: 4 kB / 1.234 GB, free: 5.434 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.639e-06/1.295, allocations: 0 / 1.234 GB, free: 5.434 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.000363/1.296, allocations: 352 kB / 1.234 GB, free: 5.059 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/1.296, allocations: 9.344 kB / 1.234 GB, free: 5.059 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005604/1.296, allocations: 42.17 kB / 1.234 GB, free: 5.039 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001155/1.296, allocations: 165.7 kB / 1.234 GB, free: 4.84 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.298e-05/1.296, allocations: 5.5 kB / 1.234 GB, free: 4.836 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.849e-06/1.296, allocations: 0 / 1.234 GB, free: 4.836 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001546/1.297, allocations: 45.53 kB / 1.234 GB, free: 4.793 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/1.297, allocations: 5.188 kB / 1.234 GB, free: 4.789 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/1.297, allocations: 4 kB / 1.234 GB, free: 4.785 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/1.297, allocations: 0 / 1.234 GB, free: 4.785 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001214/1.297, allocations: 19.17 kB / 1.234 GB, free: 4.777 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003705/1.297, allocations: 250.3 kB / 1.235 GB, free: 4.492 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 4.817e-05/1.297, allocations: 24.23 kB / 1.235 GB, free: 4.465 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.389e-05/1.297, allocations: 9.234 kB / 1.235 GB, free: 4.457 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 8.416e-06/1.297, allocations: 3.984 kB / 1.235 GB, free: 4.453 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.217e-05/1.297, allocations: 43.75 kB / 1.235 GB, free: 4.402 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/1.297, allocations: 3.938 kB / 1.235 GB, free: 4.398 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0001476/1.297, allocations: 39.78 kB / 1.235 GB, free: 4.363 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.534e-05/1.298, allocations: 55.41 kB / 1.235 GB, free: 4.297 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001319/1.298, allocations: 108 kB / 1.235 GB, free: 4.191 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.232e-05/1.298, allocations: 25.7 kB / 1.235 GB, free: 4.16 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.208e-05/1.298, allocations: 89.14 kB / 1.235 GB, free: 4.07 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 8.015e-06/1.298, allocations: 9.062 kB / 1.235 GB, free: 4.062 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.528e-05/1.298, allocations: 26.09 kB / 1.235 GB, free: 4.035 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001118/1.298, allocations: 315.9 kB / 1.235 GB, free: 3.719 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.218e-05/1.298, allocations: 9.453 kB / 1.235 GB, free: 3.715 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.387e-05/1.298, allocations: 6.5 kB / 1.235 GB, free: 3.715 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.579e-05/1.298, allocations: 26.5 kB / 1.235 GB, free: 3.695 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/1.298, allocations: 4 kB / 1.235 GB, free: 3.691 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000194/1.298, allocations: 59.97 kB / 1.235 GB, free: 3.645 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/1.298, allocations: 5.719 kB / 1.235 GB, free: 3.645 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/1.298, allocations: 0 / 1.235 GB, free: 3.645 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/1.298, allocations: 0 / 1.235 GB, free: 3.645 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.412e-05/1.298, allocations: 14.98 kB / 1.236 GB, free: 3.637 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/1.299, allocations: 0 / 1.236 GB, free: 3.637 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001322/1.299, allocations: 17.16 kB / 1.236 GB, free: 3.625 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.15e-05/1.299, allocations: 5.172 kB / 1.236 GB, free: 3.621 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.464e-05/1.299, allocations: 107.2 kB / 1.236 GB, free: 3.508 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.582e-05/1.299, allocations: 5.906 kB / 1.236 GB, free: 3.504 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.777e-05/1.299, allocations: 4.25 kB / 1.236 GB, free: 3.5 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-06/1.299, allocations: 0 / 1.236 GB, free: 3.5 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/1.299, allocations: 4 kB / 1.236 GB, free: 3.496 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/1.299, allocations: 5.031 kB / 1.236 GB, free: 3.492 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000161/1.299, allocations: 153 kB / 1.236 GB, free: 3.297 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/1.299, allocations: 4 kB / 1.236 GB, free: 3.293 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.331e-05/1.299, allocations: 3.344 kB / 1.236 GB, free: 3.293 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.382e-06/1.299, allocations: 0 / 1.236 GB, free: 3.293 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.683e-06/1.299, allocations: 0.9688 kB / 1.236 GB, free: 3.293 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/1.299, allocations: 3.984 kB / 1.236 GB, free: 3.289 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/1.299, allocations: 1.156 kB / 1.236 GB, free: 3.289 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001071/1.299, allocations: 136.1 kB / 1.236 GB, free: 3.148 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.86e-05/1.299, allocations: 83.2 kB / 1.236 GB, free: 3.051 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.672e-05/1.299, allocations: 7.984 kB / 1.236 GB, free: 3.043 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.986e-05/1.299, allocations: 2.344 kB / 1.236 GB, free: 3.043 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.112e-05/1.299, allocations: 1.156 kB / 1.236 GB, free: 3.043 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.362e-06/1.299, allocations: 4.938 kB / 1.236 GB, free: 3.039 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 9.443e-05/1.299, allocations: 95.38 kB / 1.236 GB, free: 2.953 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.6e-07/1.299, allocations: 0 / 1.236 GB, free: 2.953 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002382/1.3, allocations: 20.22 kB / 1.236 GB, free: 2.945 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.0001611/1.3, allocations: 111.5 kB / 1.236 GB, free: 2.852 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001353/1.3, allocations: 17.08 kB / 1.236 GB, free: 2.848 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/1.3, allocations: 0 / 1.236 GB, free: 2.848 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.486e-05/1.3, allocations: 8.031 kB / 1.236 GB, free: 2.844 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000293/1.3, allocations: 7.797 kB / 1.236 GB, free: 2.84 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002872/1.301, allocations: 133 kB / 1.236 GB, free: 2.711 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002485/1.301, allocations: 0.677 MB / 1.237 GB, free: 2.012 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 6.681e-05/1.301, allocations: 11.14 kB / 1.237 GB, free: 2.004 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.368e-05/1.301, allocations: 12.53 kB / 1.237 GB, free: 1.992 MB / 0.9669 GB Notification: Performance of SimCode: time 2.6e-07/1.301, allocations: 1.094 kB / 1.237 GB, free: 1.992 MB / 0.9669 GB Notification: Performance of Templates: time 0.002978/1.304, allocations: 0.7442 MB / 1.238 GB, free: 1.598 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