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.00134/0.001341, allocations: 103.5 kB / 15.98 MB, free: 5.891 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.001474/0.001474, allocations: 187.9 kB / 16.91 MB, free: 5.746 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.487/1.487, allocations: 222.9 MB / 240.6 MB, free: 4.504 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.43/2.43, allocations: 390.2 MB / 0.665 GB, free: 0.5508 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001439/0.001439, allocations: 63.91 kB / 0.8127 GB, free: 14.74 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.623/0.6244, allocations: 140.4 MB / 0.9498 GB, free: 9.199 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.002193/0.6267, allocations: 1.345 MB / 0.9511 GB, free: 8.133 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.151/0.7777, allocations: 145.5 MB / 1.093 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.972e-05/0.7778, allocations: 0 / 1.093 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.149e-05/0.7779, allocations: 0 / 1.093 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.547e-05/0.7779, allocations: 7.938 kB / 1.093 GB, free: 14.65 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004904/0.7784, allocations: 111.5 kB / 1.093 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 5.169e-05/0.7785, allocations: 19.88 kB / 1.093 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.477e-05/0.7785, allocations: 7.984 kB / 1.093 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.234e-05/0.7786, allocations: 4 kB / 1.093 GB, free: 14.51 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 3.402e-05/0.7786, allocations: 11.94 kB / 1.093 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 9.448e-06/0.7786, allocations: 0 / 1.093 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004081/0.779, allocations: 175.7 kB / 1.093 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.034e-05/0.7791, allocations: 4 kB / 1.094 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.658e-05/0.7791, allocations: 7.938 kB / 1.094 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001743/0.7793, allocations: 77.81 kB / 1.094 GB, free: 14.24 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.7793, allocations: 4 kB / 1.094 GB, free: 14.24 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.193e-06/0.7793, allocations: 0 / 1.094 GB, free: 14.24 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.649e-06/0.7793, allocations: 0 / 1.094 GB, free: 14.24 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.0003394/0.7797, allocations: 355.4 kB / 1.094 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.49e-05/0.7797, allocations: 12.03 kB / 1.094 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006041/0.7803, allocations: 32.89 kB / 1.094 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001302/0.7805, allocations: 164.3 kB / 1.094 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.205e-05/0.7805, allocations: 3.938 kB / 1.094 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.651e-05/0.7805, allocations: 11.94 kB / 1.094 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001614/0.7807, allocations: 49.66 kB / 1.094 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.251e-06/0.7807, allocations: 0 / 1.094 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.7807, allocations: 0 / 1.094 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.7807, allocations: 0 / 1.094 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000117/0.7808, allocations: 19.98 kB / 1.094 GB, free: 13.51 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003622/0.7812, allocations: 256.7 kB / 1.094 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.981e-05/0.7813, allocations: 34.52 kB / 1.094 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.07e-05/0.7813, allocations: 4.859 kB / 1.094 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.213e-05/0.7813, allocations: 8.047 kB / 1.094 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.726e-05/0.7813, allocations: 30.56 kB / 1.095 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.7813, allocations: 0 / 1.095 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001462/0.7815, allocations: 45.62 kB / 1.095 GB, free: 13.06 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.726e-05/0.7815, allocations: 59.53 kB / 1.095 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001267/0.7817, allocations: 105.8 kB / 1.095 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.259e-05/0.7817, allocations: 25.7 kB / 1.095 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.995e-05/0.7817, allocations: 88.08 kB / 1.095 GB, free: 12.76 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.111e-05/0.7818, allocations: 11.89 kB / 1.095 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.799e-05/0.7818, allocations: 17.7 kB / 1.095 GB, free: 12.72 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.7819, allocations: 318.8 kB / 1.095 GB, free: 12.4 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.53e-05/0.782, allocations: 11.98 kB / 1.095 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.67e-05/0.7821, allocations: 11.98 kB / 1.095 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.344e-05/0.7822, allocations: 16.86 kB / 1.095 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.7822, allocations: 0 / 1.095 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001979/0.7824, allocations: 65.59 kB / 1.095 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.7824, allocations: 8 kB / 1.095 GB, free: 12.28 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.7824, allocations: 0 / 1.095 GB, free: 12.28 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.06e-05/0.7824, allocations: 0 / 1.095 GB, free: 12.28 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001091/0.7825, allocations: 11.98 kB / 1.095 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.842e-06/0.7825, allocations: 0 / 1.095 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001539/0.7827, allocations: 11.84 kB / 1.095 GB, free: 12.26 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.228e-05/0.7827, allocations: 7.984 kB / 1.095 GB, free: 12.25 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 8.38e-05/0.7828, allocations: 113.8 kB / 1.095 GB, free: 12.13 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.664e-05/0.7828, allocations: 0 / 1.095 GB, free: 12.13 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.993e-05/0.7829, allocations: 7.125 kB / 1.095 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.7829, allocations: 0 / 1.095 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.7829, allocations: 3.938 kB / 1.095 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.7829, allocations: 3.938 kB / 1.095 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000148/0.783, allocations: 153.7 kB / 1.096 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.7831, allocations: 4 kB / 1.096 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.789e-05/0.7831, allocations: 7.984 kB / 1.096 GB, free: 11.9 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.7831, allocations: 0 / 1.096 GB, free: 11.9 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.681e-06/0.7831, allocations: 0 / 1.096 GB, free: 11.9 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.7831, allocations: 4 kB / 1.096 GB, free: 11.9 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.7831, allocations: 0 / 1.096 GB, free: 11.9 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001067/0.7832, allocations: 139.4 kB / 1.096 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.731e-05/0.7833, allocations: 81.09 kB / 1.096 GB, free: 11.65 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.678e-05/0.7833, allocations: 0 / 1.096 GB, free: 11.65 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.943e-05/0.7834, allocations: 7.938 kB / 1.096 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.478e-05/0.7834, allocations: 0 / 1.096 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.527e-06/0.7834, allocations: 7.969 kB / 1.096 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 9.592e-05/0.7835, allocations: 91.59 kB / 1.096 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7836, allocations: 0 / 1.096 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002451/0.7838, allocations: 16 kB / 1.096 GB, free: 11.53 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.000172/0.784, allocations: 107.2 kB / 1.096 GB, free: 11.41 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001396/0.7841, allocations: 27.92 kB / 1.096 GB, free: 11.38 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.7841, allocations: 0 / 1.096 GB, free: 11.38 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.33e-05/0.7842, allocations: 7.984 kB / 1.096 GB, free: 11.38 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003353/0.7845, allocations: 12.17 kB / 1.096 GB, free: 11.36 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002962/0.7848, allocations: 148.8 kB / 1.096 GB, free: 11.19 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002528/0.7851, allocations: 0.6807 MB / 1.097 GB, free: 10.48 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.678e-05/0.7851, allocations: 11.44 kB / 1.097 GB, free: 10.47 MB / 0.8575 GB Notification: Performance of SimCode: time 3.91e-07/0.7851, allocations: 0 / 1.097 GB, free: 10.47 MB / 0.8575 GB Notification: Performance of Templates: time 0.002322/0.7874, allocations: 0.8092 MB / 1.098 GB, free: 9.66 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