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.00127/0.00127, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001666/0.001666, allocations: 189.8 kB / 16.25 MB, free: 6.629 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.433/1.433, allocations: 222.9 MB / 239.9 MB, free: 4.484 MB / 190.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.498/2.498, allocations: 390.2 MB / 0.6643 GB, free: 0.5625 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001613/0.001613, allocations: 71.84 kB / 0.812 GB, free: 14.76 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8959/0.8976, allocations: 140.4 MB / 0.9491 GB, free: 9.215 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.002625/0.9002, allocations: 1.348 MB / 0.9504 GB, free: 8.145 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1795/1.08, allocations: 145.5 MB / 1.092 GB, free: 14.67 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.086e-05/1.08, allocations: 0 / 1.092 GB, free: 14.67 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.179e-05/1.08, allocations: 0 / 1.092 GB, free: 14.67 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.397e-05/1.08, allocations: 3.938 kB / 1.092 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.00043/1.08, allocations: 111.5 kB / 1.093 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 5.31e-05/1.08, allocations: 19.88 kB / 1.093 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.805e-05/1.081, allocations: 3.984 kB / 1.093 GB, free: 14.53 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.257e-05/1.081, allocations: 7.938 kB / 1.093 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 3.292e-05/1.081, allocations: 7.984 kB / 1.093 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.113e-05/1.081, allocations: 0 / 1.093 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003677/1.081, allocations: 179.7 kB / 1.093 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 8.917e-06/1.081, allocations: 0 / 1.093 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.08e-05/1.081, allocations: 7.938 kB / 1.093 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001971/1.081, allocations: 121.7 kB / 1.093 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/1.081, allocations: 4 kB / 1.093 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.222e-06/1.081, allocations: 4 kB / 1.093 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.37e-06/1.081, allocations: 0 / 1.093 GB, free: 14.21 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000326/1.082, allocations: 347.4 kB / 1.093 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/1.082, allocations: 12.03 kB / 1.093 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005735/1.082, allocations: 36.88 kB / 1.093 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001122/1.082, allocations: 160.4 kB / 1.093 GB, free: 13.58 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.222e-05/1.082, allocations: 7.938 kB / 1.093 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.329e-05/1.082, allocations: 4 kB / 1.093 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001713/1.083, allocations: 49.66 kB / 1.094 GB, free: 13.51 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.325e-06/1.083, allocations: 0 / 1.094 GB, free: 13.51 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.397e-05/1.083, allocations: 0 / 1.094 GB, free: 13.51 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/1.083, allocations: 0 / 1.094 GB, free: 13.51 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00012/1.083, allocations: 19.92 kB / 1.094 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003971/1.083, allocations: 260.8 kB / 1.094 GB, free: 13.19 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.067e-05/1.083, allocations: 22.58 kB / 1.094 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.104e-05/1.083, allocations: 12.86 kB / 1.094 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 9.447e-06/1.083, allocations: 0 / 1.094 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.362e-05/1.083, allocations: 38.56 kB / 1.094 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/1.083, allocations: 0 / 1.094 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001579/1.083, allocations: 49.61 kB / 1.094 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.011e-05/1.083, allocations: 55.41 kB / 1.094 GB, free: 12.97 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001389/1.084, allocations: 105.8 kB / 1.094 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.496e-05/1.084, allocations: 25.7 kB / 1.094 GB, free: 12.83 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.586e-05/1.084, allocations: 88.08 kB / 1.094 GB, free: 12.74 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.2e-05/1.084, allocations: 7.906 kB / 1.094 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.627e-05/1.084, allocations: 25.83 kB / 1.094 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000124/1.084, allocations: 318.8 kB / 1.095 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.035e-05/1.084, allocations: 4 kB / 1.095 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.821e-05/1.084, allocations: 15.98 kB / 1.095 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.647e-05/1.084, allocations: 24.78 kB / 1.095 GB, free: 12.33 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/1.084, allocations: 0 / 1.095 GB, free: 12.33 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001958/1.084, allocations: 57.67 kB / 1.095 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/1.084, allocations: 4 kB / 1.095 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/1.084, allocations: 3.984 kB / 1.095 GB, free: 12.26 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/1.084, allocations: 0 / 1.095 GB, free: 12.26 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001057/1.085, allocations: 16 kB / 1.095 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/1.085, allocations: 0 / 1.095 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001544/1.085, allocations: 19.83 kB / 1.095 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.669e-06/1.085, allocations: 4 kB / 1.095 GB, free: 12.22 MB / 0.8575 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 7.457e-05/1.085, allocations: 109.8 kB / 1.095 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.557e-05/1.085, allocations: 0 / 1.095 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.129e-05/1.085, allocations: 11.12 kB / 1.095 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-06/1.085, allocations: 0 / 1.095 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/1.085, allocations: 0 / 1.095 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/1.085, allocations: 11.81 kB / 1.095 GB, free: 12.08 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002397/1.085, allocations: 149.7 kB / 1.095 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/1.085, allocations: 4 kB / 1.095 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.513e-05/1.085, allocations: 4 kB / 1.095 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/1.085, allocations: 0 / 1.095 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.581e-06/1.085, allocations: 0 / 1.095 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/1.085, allocations: 0 / 1.095 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.053e-06/1.085, allocations: 7.922 kB / 1.095 GB, free: 11.87 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001088/1.085, allocations: 139.5 kB / 1.095 GB, free: 11.72 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.518e-05/1.085, allocations: 81.11 kB / 1.095 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.632e-05/1.085, allocations: 4.031 kB / 1.095 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001033/1.085, allocations: 7.984 kB / 1.095 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.049e-05/1.085, allocations: 0 / 1.095 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.657e-06/1.085, allocations: 3.938 kB / 1.095 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.000179/1.086, allocations: 91.27 kB / 1.095 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.4e-07/1.086, allocations: 0 / 1.095 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002401/1.086, allocations: 16 kB / 1.095 GB, free: 11.5 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 (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.0001632/1.086, allocations: 115.2 kB / 1.095 GB, free: 11.38 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001326/1.086, allocations: 24.45 kB / 1.095 GB, free: 11.35 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/1.086, allocations: 0 / 1.095 GB, free: 11.35 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.185e-05/1.086, allocations: 4 kB / 1.095 GB, free: 11.35 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003385/1.087, allocations: 14.53 kB / 1.095 GB, free: 11.34 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003147/1.087, allocations: 131.1 kB / 1.096 GB, free: 11.18 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002592/1.087, allocations: 0.6768 MB / 1.096 GB, free: 10.48 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 8.186e-05/1.087, allocations: 16.02 kB / 1.096 GB, free: 10.46 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.435e-05/1.087, allocations: 7.438 kB / 1.096 GB, free: 10.46 MB / 0.8575 GB Notification: Performance of SimCode: time 2.31e-07/1.087, allocations: 0 / 1.096 GB, free: 10.46 MB / 0.8575 GB Notification: Performance of Templates: time 0.003384/1.091, allocations: 0.7253 MB / 1.097 GB, free: 9.738 MB / 0.8575 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