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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0009979/0.0009976, allocations: 92.55 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001271/0.001271, allocations: 176.4 kB / 16.92 MB, free: 6.652 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.367/1.367, allocations: 223.3 MB / 241 MB, free: 5.266 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.48/2.48, allocations: 390.9 MB / 0.667 GB, free: 2.34 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003487/0.0003487, allocations: 12 kB / 0.8166 GB, free: 13.26 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6875/0.6878, allocations: 142.4 MB / 0.9557 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.001079/0.689, allocations: 1.015 MB / 0.9567 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1516/0.8406, allocations: 143.8 MB / 1.097 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.644e-05/0.8406, allocations: 0 / 1.097 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.366e-05/0.8407, allocations: 3.984 kB / 1.097 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.538e-05/0.8407, allocations: 7.938 kB / 1.097 GB, free: 14.01 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004183/0.8412, allocations: 99.55 kB / 1.097 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 5.355e-05/0.8412, allocations: 19.86 kB / 1.097 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.352e-05/0.8413, allocations: 4 kB / 1.097 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.094e-05/0.8413, allocations: 8 kB / 1.097 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.178e-05/0.8414, allocations: 7.938 kB / 1.097 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.347e-05/0.8414, allocations: 0 / 1.097 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004461/0.8418, allocations: 179.7 kB / 1.097 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.061e-05/0.8419, allocations: 4 kB / 1.097 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.237e-05/0.8419, allocations: 33.64 kB / 1.097 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001671/0.8421, allocations: 77.83 kB / 1.098 GB, free: 13.58 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.8421, allocations: 0 / 1.098 GB, free: 13.58 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.377e-06/0.8421, allocations: 0 / 1.098 GB, free: 13.58 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 3.547e-06/0.8421, allocations: 7.938 kB / 1.098 GB, free: 13.57 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.0003219/0.8424, allocations: 347.5 kB / 1.098 GB, free: 13.19 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.8425, allocations: 8.031 kB / 1.098 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005718/0.8431, allocations: 36.89 kB / 1.098 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000121/0.8432, allocations: 168.4 kB / 1.098 GB, free: 12.94 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.203e-05/0.8432, allocations: 3.938 kB / 1.098 GB, free: 12.94 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.592e-05/0.8432, allocations: 4 kB / 1.098 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001696/0.8434, allocations: 45.67 kB / 1.098 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.8434, allocations: 7.938 kB / 1.098 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.398e-05/0.8435, allocations: 4 kB / 1.098 GB, free: 12.87 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.8435, allocations: 0 / 1.098 GB, free: 12.87 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001245/0.8436, allocations: 15.97 kB / 1.098 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003636/0.844, allocations: 260.8 kB / 1.098 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.076e-05/0.844, allocations: 22.56 kB / 1.098 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.571e-05/0.8441, allocations: 12.92 kB / 1.098 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 9.127e-06/0.8441, allocations: 0 / 1.098 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.353e-05/0.8441, allocations: 30.56 kB / 1.098 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/0.8441, allocations: 8 kB / 1.098 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001582/0.8443, allocations: 45.55 kB / 1.099 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.938e-05/0.8443, allocations: 55.34 kB / 1.099 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001419/0.8445, allocations: 117.8 kB / 1.099 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.304e-05/0.8445, allocations: 25.7 kB / 1.099 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.245e-05/0.8445, allocations: 84.08 kB / 1.099 GB, free: 12.1 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 8.226e-06/0.8446, allocations: 3.906 kB / 1.099 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.816e-05/0.8446, allocations: 13.84 kB / 1.099 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.909e-05/0.8447, allocations: 326.8 kB / 1.099 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.587e-05/0.8448, allocations: 7.984 kB / 1.099 GB, free: 11.74 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.887e-05/0.8448, allocations: 11.98 kB / 1.099 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.684e-05/0.8449, allocations: 20.84 kB / 1.099 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.8449, allocations: 0 / 1.099 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001932/0.8451, allocations: 65.61 kB / 1.099 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.8452, allocations: 4 kB / 1.099 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.8452, allocations: 0 / 1.099 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/0.8452, allocations: 0 / 1.099 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001082/0.8453, allocations: 11.98 kB / 1.099 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.8453, allocations: 0 / 1.099 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001605/0.8455, allocations: 15.92 kB / 1.099 GB, free: 11.6 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.164e-05/0.8455, allocations: 4 kB / 1.099 GB, free: 11.6 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.367e-05/0.8456, allocations: 109.8 kB / 1.099 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.77e-05/0.8456, allocations: 3.906 kB / 1.099 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.05e-05/0.8456, allocations: 7.109 kB / 1.099 GB, free: 11.47 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.8456, allocations: 4 kB / 1.099 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.8457, allocations: 0 / 1.099 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.8457, allocations: 3.938 kB / 1.099 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001463/0.8458, allocations: 157.6 kB / 1.1 GB, free: 11.26 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.8458, allocations: 0 / 1.1 GB, free: 11.26 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.362e-05/0.8458, allocations: 0 / 1.1 GB, free: 11.26 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.8459, allocations: 8 kB / 1.1 GB, free: 11.25 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.56e-06/0.8459, allocations: 0 / 1.1 GB, free: 11.25 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.866e-06/0.8459, allocations: 0 / 1.1 GB, free: 11.25 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.8459, allocations: 3.938 kB / 1.1 GB, free: 11.25 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001044/0.846, allocations: 135.5 kB / 1.1 GB, free: 11.1 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.816e-05/0.8461, allocations: 89.09 kB / 1.1 GB, free: 10.99 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.588e-05/0.8461, allocations: 0 / 1.1 GB, free: 10.99 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.823e-05/0.8462, allocations: 4.031 kB / 1.1 GB, free: 10.99 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.432e-05/0.8462, allocations: 4 kB / 1.1 GB, free: 10.98 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.628e-06/0.8462, allocations: 3.938 kB / 1.1 GB, free: 10.98 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 9.157e-05/0.8463, allocations: 91.27 kB / 1.1 GB, free: 10.89 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8463, allocations: 0 / 1.1 GB, free: 10.89 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.00025/0.8466, allocations: 12 kB / 1.1 GB, free: 10.88 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.0001662/0.8467, allocations: 115.2 kB / 1.1 GB, free: 10.75 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001292/0.8469, allocations: 27.86 kB / 1.1 GB, free: 10.73 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.8469, allocations: 0 / 1.1 GB, free: 10.73 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.296e-05/0.8469, allocations: 4 kB / 1.1 GB, free: 10.72 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000306/0.8472, allocations: 10.84 kB / 1.1 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002993/0.8475, allocations: 161.8 kB / 1.1 GB, free: 10.53 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002208/0.8478, allocations: 0.677 MB / 1.101 GB, free: 9.828 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.655e-05/0.8478, allocations: 11.44 kB / 1.101 GB, free: 9.816 MB / 0.8575 GB Notification: Performance of SimCode: time 1.813e-06/0.8478, allocations: 0 / 1.101 GB, free: 9.816 MB / 0.8575 GB Notification: Performance of Templates: time 0.002236/0.8501, allocations: 0.8138 MB / 1.102 GB, free: 9.004 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/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