Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.00176/0.00176, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001956/0.001956, allocations: 189.8 kB / 16.13 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.54/1.54, allocations: 222.9 MB / 239.8 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.779/2.779, allocations: 437 MB / 0.71 GB, free: 5.367 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002196/0.002196, allocations: 59.91 kB / 0.8686 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6609/0.6631, allocations: 151.6 MB / 1.017 GB, free: 2.773 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.002624/0.6658, allocations: 1.358 MB / 1.018 GB, free: 1.406 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.1691/0.8349, allocations: 145.3 MB / 1.16 GB, free: 15.52 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.786e-05/0.835, allocations: 0 / 1.16 GB, free: 15.52 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.343e-05/0.8351, allocations: 3.984 kB / 1.16 GB, free: 15.51 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.809e-05/0.8351, allocations: 3.938 kB / 1.16 GB, free: 15.51 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004715/0.8356, allocations: 99.59 kB / 1.16 GB, free: 15.41 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 6.863e-05/0.8357, allocations: 19.88 kB / 1.16 GB, free: 15.39 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.416e-05/0.8358, allocations: 4 kB / 1.16 GB, free: 15.39 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 3.779e-05/0.8358, allocations: 7.938 kB / 1.16 GB, free: 15.38 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 4.073e-05/0.8358, allocations: 8 kB / 1.16 GB, free: 15.37 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.187e-05/0.8359, allocations: 0 / 1.16 GB, free: 15.37 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004718/0.8363, allocations: 183.6 kB / 1.16 GB, free: 15.19 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.133e-05/0.8364, allocations: 0 / 1.16 GB, free: 15.19 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.578e-05/0.8364, allocations: 7.938 kB / 1.16 GB, free: 15.18 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002712/0.8367, allocations: 117.7 kB / 1.16 GB, free: 15.07 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.8367, allocations: 4 kB / 1.16 GB, free: 15.07 MB / 0.92 GB Notification: Performance of FrontEnd: time 8.22e-07/0.8367, allocations: 0 / 1.16 GB, free: 15.07 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.8367, allocations: 0 / 1.16 GB, free: 15.07 MB / 0.92 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.0004028/0.8371, allocations: 347.5 kB / 1.161 GB, free: 14.68 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.8372, allocations: 8.031 kB / 1.161 GB, free: 14.67 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006023/0.8378, allocations: 36.89 kB / 1.161 GB, free: 14.64 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001583/0.8379, allocations: 172.2 kB / 1.161 GB, free: 14.43 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.562e-05/0.838, allocations: 11.92 kB / 1.161 GB, free: 14.42 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.318e-05/0.838, allocations: 0 / 1.161 GB, free: 14.42 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001876/0.8382, allocations: 49.67 kB / 1.161 GB, free: 14.36 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.8382, allocations: 0 / 1.161 GB, free: 14.36 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.607e-05/0.8382, allocations: 7.984 kB / 1.161 GB, free: 14.36 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.8382, allocations: 0 / 1.161 GB, free: 14.36 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001249/0.8384, allocations: 15.98 kB / 1.161 GB, free: 14.34 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003899/0.8388, allocations: 248.9 kB / 1.161 GB, free: 14.05 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 6.627e-05/0.8388, allocations: 38.44 kB / 1.161 GB, free: 14 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.278e-05/0.8389, allocations: 8.922 kB / 1.161 GB, free: 13.99 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.12e-05/0.8389, allocations: 0 / 1.161 GB, free: 13.99 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.724e-05/0.8389, allocations: 34.56 kB / 1.161 GB, free: 13.95 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 8.92e-07/0.8389, allocations: 0 / 1.161 GB, free: 13.95 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0001568/0.8391, allocations: 37.83 kB / 1.161 GB, free: 13.9 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.94e-05/0.8391, allocations: 59.34 kB / 1.161 GB, free: 13.83 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001506/0.8393, allocations: 117.8 kB / 1.161 GB, free: 13.71 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.404e-05/0.8393, allocations: 25.7 kB / 1.161 GB, free: 13.68 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.482e-05/0.8394, allocations: 91.98 kB / 1.162 GB, free: 13.58 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 5.65e-06/0.8394, allocations: 0 / 1.162 GB, free: 13.58 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.564e-05/0.8394, allocations: 25.61 kB / 1.162 GB, free: 13.55 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001347/0.8396, allocations: 318.8 kB / 1.162 GB, free: 13.23 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.743e-05/0.8397, allocations: 12 kB / 1.162 GB, free: 13.22 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.34e-05/0.8397, allocations: 7.984 kB / 1.162 GB, free: 13.21 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.109e-05/0.8398, allocations: 24.84 kB / 1.162 GB, free: 13.18 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.8398, allocations: 0 / 1.162 GB, free: 13.18 MB / 0.92 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001972/0.8401, allocations: 61.61 kB / 1.162 GB, free: 13.12 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.8401, allocations: 5.562 kB / 1.162 GB, free: 13.11 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.8401, allocations: 4 kB / 1.162 GB, free: 13.11 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.8401, allocations: 0 / 1.162 GB, free: 13.11 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001147/0.8402, allocations: 7.984 kB / 1.162 GB, free: 13.1 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.677e-06/0.8402, allocations: 0 / 1.162 GB, free: 13.1 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001625/0.8404, allocations: 19.92 kB / 1.162 GB, free: 13.08 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.517e-05/0.8404, allocations: 4 kB / 1.162 GB, free: 13.08 MB / 0.92 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.259e-05/0.8405, allocations: 110.6 kB / 1.162 GB, free: 12.96 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.262e-05/0.8406, allocations: 7.984 kB / 1.162 GB, free: 12.95 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.933e-05/0.8406, allocations: 3.125 kB / 1.162 GB, free: 12.95 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.8406, allocations: 336 / 1.162 GB, free: 12.95 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.8406, allocations: 0 / 1.162 GB, free: 12.95 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.389e-06/0.8406, allocations: 3.938 kB / 1.162 GB, free: 12.95 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001713/0.8408, allocations: 157.7 kB / 1.162 GB, free: 12.74 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.8408, allocations: 0 / 1.162 GB, free: 12.74 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.943e-05/0.8408, allocations: 4 kB / 1.162 GB, free: 12.74 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.8408, allocations: 0 / 1.162 GB, free: 12.74 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.115e-06/0.8409, allocations: 4 kB / 1.162 GB, free: 12.73 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.8409, allocations: 3.938 kB / 1.162 GB, free: 12.73 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.8409, allocations: 0 / 1.162 GB, free: 12.73 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001316/0.841, allocations: 143.4 kB / 1.162 GB, free: 12.57 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 6.032e-05/0.8411, allocations: 81.02 kB / 1.163 GB, free: 12.48 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.727e-05/0.8411, allocations: 0 / 1.163 GB, free: 12.48 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001045/0.8412, allocations: 8 kB / 1.163 GB, free: 12.47 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.801e-05/0.8412, allocations: 8.016 kB / 1.163 GB, free: 12.46 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.178e-06/0.8412, allocations: 3.938 kB / 1.163 GB, free: 12.46 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0001013/0.8414, allocations: 87.27 kB / 1.163 GB, free: 12.37 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8414, allocations: 0 / 1.163 GB, free: 12.37 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002612/0.8416, allocations: 16 kB / 1.163 GB, free: 12.36 MB / 0.92 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.0001977/0.8418, allocations: 115.2 kB / 1.163 GB, free: 12.23 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001429/0.842, allocations: 19.98 kB / 1.163 GB, free: 12.21 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/0.842, allocations: 3.938 kB / 1.163 GB, free: 12.21 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 1.484e-05/0.842, allocations: 11.94 kB / 1.163 GB, free: 12.2 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003431/0.8424, allocations: 13.7 kB / 1.163 GB, free: 12.19 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002868/0.8427, allocations: 112.9 kB / 1.163 GB, free: 12.05 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002807/0.843, allocations: 0.6732 MB / 1.164 GB, free: 11.36 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 8.242e-05/0.8431, allocations: 11.98 kB / 1.164 GB, free: 11.34 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.623e-05/0.8431, allocations: 15.38 kB / 1.164 GB, free: 11.33 MB / 0.92 GB Notification: Performance of SimCode: time 5.71e-07/0.8431, allocations: 0 / 1.164 GB, free: 11.33 MB / 0.92 GB Notification: Performance of Templates: time 0.00341/0.8465, allocations: 0.7114 MB / 1.164 GB, free: 10.62 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.makefile (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.sim & ./Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches