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.001028/0.001028, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.008649/0.00865, allocations: 170 kB / 16.26 MB, free: 6.613 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.506/1.506, allocations: 223.3 MB / 240.3 MB, free: 5.336 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.61/2.61, allocations: 390.9 MB / 0.6663 GB, free: 2.375 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005246/0.0005251, allocations: 12 kB / 0.816 GB, free: 13.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9032/0.9037, allocations: 142.4 MB / 0.955 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.001222/0.905, allocations: 1.015 MB / 0.956 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1723/1.077, allocations: 143.8 MB / 1.096 GB, free: 13.97 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.077e-05/1.077, allocations: 0 / 1.096 GB, free: 13.97 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.031e-05/1.077, allocations: 3.984 kB / 1.096 GB, free: 13.97 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.063e-05/1.077, allocations: 7.922 kB / 1.096 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004438/1.078, allocations: 99.55 kB / 1.097 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 5.249e-05/1.078, allocations: 19.88 kB / 1.097 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.544e-05/1.078, allocations: 4 kB / 1.097 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.509e-05/1.078, allocations: 4 kB / 1.097 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 3.683e-05/1.078, allocations: 11.94 kB / 1.097 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.029e-05/1.078, allocations: 0 / 1.097 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004783/1.079, allocations: 175.7 kB / 1.097 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.303e-05/1.079, allocations: 7.984 kB / 1.097 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.747e-05/1.079, allocations: 37.64 kB / 1.097 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002528/1.079, allocations: 109.7 kB / 1.097 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/1.079, allocations: 0 / 1.097 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.583e-06/1.079, allocations: 0 / 1.097 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 3.347e-06/1.079, allocations: 4 kB / 1.097 GB, free: 13.49 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.0003972/1.079, allocations: 347.5 kB / 1.097 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/1.079, allocations: 12.03 kB / 1.097 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005682/1.08, allocations: 36.89 kB / 1.097 GB, free: 13.06 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001606/1.08, allocations: 164.4 kB / 1.097 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.513e-05/1.08, allocations: 7.938 kB / 1.097 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.696e-05/1.08, allocations: 4 kB / 1.097 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001779/1.08, allocations: 45.67 kB / 1.098 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/1.08, allocations: 0 / 1.098 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.138e-05/1.08, allocations: 0 / 1.098 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/1.08, allocations: 0 / 1.098 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001253/1.081, allocations: 23.91 kB / 1.098 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003695/1.081, allocations: 252.9 kB / 1.098 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.846e-05/1.081, allocations: 22.58 kB / 1.098 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.543e-05/1.081, allocations: 12.91 kB / 1.098 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 8.937e-06/1.081, allocations: 4 kB / 1.098 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.502e-05/1.081, allocations: 38.48 kB / 1.098 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.192e-06/1.081, allocations: 4 kB / 1.098 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001606/1.081, allocations: 45.55 kB / 1.098 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.777e-05/1.081, allocations: 59.34 kB / 1.098 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001301/1.081, allocations: 109.8 kB / 1.098 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.343e-05/1.081, allocations: 25.7 kB / 1.098 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.587e-05/1.082, allocations: 84.08 kB / 1.098 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 9.928e-06/1.082, allocations: 11.89 kB / 1.098 GB, free: 12.01 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.823e-05/1.082, allocations: 13.84 kB / 1.098 GB, free: 11.99 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001186/1.082, allocations: 322.8 kB / 1.098 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.499e-05/1.082, allocations: 11.98 kB / 1.099 GB, free: 11.65 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.362e-05/1.082, allocations: 7.984 kB / 1.099 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.786e-05/1.082, allocations: 28.78 kB / 1.099 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/1.082, allocations: 0 / 1.099 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001893/1.082, allocations: 57.67 kB / 1.099 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/1.082, allocations: 5.406 kB / 1.099 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/1.082, allocations: 4 kB / 1.099 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/1.082, allocations: 0 / 1.099 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001066/1.082, allocations: 7.984 kB / 1.099 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.385e-06/1.082, allocations: 3.984 kB / 1.099 GB, free: 11.53 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001434/1.082, allocations: 15.92 kB / 1.099 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.928e-06/1.082, allocations: 4 kB / 1.099 GB, free: 11.51 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.068e-05/1.083, allocations: 109.8 kB / 1.099 GB, free: 11.39 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.901e-05/1.083, allocations: 7.906 kB / 1.099 GB, free: 11.39 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.292e-05/1.083, allocations: 7.109 kB / 1.099 GB, free: 11.38 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/1.083, allocations: 0 / 1.099 GB, free: 11.38 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/1.083, allocations: 0 / 1.099 GB, free: 11.38 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/1.083, allocations: 3.938 kB / 1.099 GB, free: 11.38 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003213/1.083, allocations: 153.7 kB / 1.099 GB, free: 11.18 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/1.083, allocations: 3.938 kB / 1.099 GB, free: 11.17 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.409e-05/1.083, allocations: 8 kB / 1.099 GB, free: 11.16 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/1.083, allocations: 0 / 1.099 GB, free: 11.16 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/1.083, allocations: 0 / 1.099 GB, free: 11.16 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/1.083, allocations: 0 / 1.099 GB, free: 11.16 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/1.083, allocations: 0 / 1.099 GB, free: 11.16 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001487/1.083, allocations: 139.5 kB / 1.099 GB, free: 11.01 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.333e-05/1.083, allocations: 77.11 kB / 1.099 GB, free: 10.92 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.903e-05/1.083, allocations: 7.984 kB / 1.099 GB, free: 10.91 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001045/1.083, allocations: 8.031 kB / 1.099 GB, free: 10.9 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.443e-05/1.083, allocations: 3.938 kB / 1.099 GB, free: 10.9 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.813e-06/1.083, allocations: 7.938 kB / 1.099 GB, free: 10.89 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 9.538e-05/1.084, allocations: 91.27 kB / 1.099 GB, free: 10.8 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.11e-07/1.084, allocations: 3.938 kB / 1.099 GB, free: 10.8 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002625/1.084, allocations: 16 kB / 1.099 GB, free: 10.78 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.0001979/1.084, allocations: 115.2 kB / 1.099 GB, free: 10.66 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001433/1.084, allocations: 16.45 kB / 1.099 GB, free: 10.64 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/1.084, allocations: 0 / 1.099 GB, free: 10.64 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.429e-05/1.084, allocations: 8 kB / 1.099 GB, free: 10.63 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003265/1.085, allocations: 9.359 kB / 1.099 GB, free: 10.62 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003299/1.085, allocations: 138.5 kB / 1.1 GB, free: 10.47 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002825/1.085, allocations: 0.677 MB / 1.1 GB, free: 9.766 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 7.874e-05/1.085, allocations: 12.08 kB / 1.1 GB, free: 9.754 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.838e-05/1.085, allocations: 11.44 kB / 1.1 GB, free: 9.742 MB / 0.8575 GB Notification: Performance of SimCode: time 4.5e-07/1.085, allocations: 0 / 1.1 GB, free: 9.742 MB / 0.8575 GB Notification: Performance of Templates: time 0.003716/1.089, allocations: 0.7029 MB / 1.101 GB, free: 9.047 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