Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.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.Examples.Phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|phi.phi",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX") translateModel(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|phi.phi",fileNamePrefix="Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001239/0.001239, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.01048/0.01048, allocations: 170.1 kB / 16.27 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.552/1.552, allocations: 223.3 MB / 240.3 MB, free: 5.332 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.709/2.709, allocations: 390.9 MB / 0.6663 GB, free: 2.336 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003942/0.0003944, allocations: 11.98 kB / 0.8159 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.022/1.023, allocations: 142.4 MB / 0.955 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.001842/1.025, allocations: 1.213 MB / 0.9562 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001319/1.026, allocations: 0.8091 MB / 0.957 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.679e-05/1.026, allocations: 1.094 kB / 0.957 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.66e-05/1.026, allocations: 0 / 0.957 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.93e-05/1.026, allocations: 14.05 kB / 0.957 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000555/1.027, allocations: 109.2 kB / 0.9571 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001084/1.027, allocations: 56.61 kB / 0.9572 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001164/1.027, allocations: 10.38 kB / 0.9572 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.442e-05/1.027, allocations: 19.11 kB / 0.9572 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.112e-05/1.027, allocations: 22.39 kB / 0.9572 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.605e-05/1.027, allocations: 2.344 kB / 0.9572 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000446/1.028, allocations: 172.9 kB / 0.9574 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.512e-05/1.028, allocations: 13.14 kB / 0.9574 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.115e-05/1.028, allocations: 39.39 kB / 0.9575 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003376/1.028, allocations: 149.1 kB / 0.9576 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/1.028, allocations: 1.281 kB / 0.9576 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.185e-06/1.028, allocations: 0 / 0.9576 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.182e-06/1.028, allocations: 0 / 0.9576 GB, free: 5.73 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006015/1.029, allocations: 403.4 kB / 0.958 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/1.029, allocations: 13.09 kB / 0.958 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.154e-05/1.029, allocations: 4.531 kB / 0.958 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001049/1.029, allocations: 179 kB / 0.9582 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.115e-05/1.029, allocations: 1.688 kB / 0.9582 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.792e-05/1.029, allocations: 1.75 kB / 0.9582 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002894/1.029, allocations: 88.44 kB / 0.9583 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/1.029, allocations: 4.125 kB / 0.9583 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.415e-05/1.029, allocations: 5.094 kB / 0.9583 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-06/1.029, allocations: 0 / 0.9583 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003276/1.03, allocations: 94.39 kB / 0.9584 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003814/1.03, allocations: 287.8 kB / 0.9586 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002273/1.03, allocations: 69.81 kB / 0.9587 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001626/1.03, allocations: 49.77 kB / 0.9587 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001564/1.031, allocations: 89.66 kB / 0.9588 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.867e-05/1.031, allocations: 30.56 kB / 0.9589 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.352e-06/1.031, allocations: 4 kB / 0.9589 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0005686/1.031, allocations: 161.7 kB / 0.959 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.097e-05/1.031, allocations: 51.41 kB / 0.9591 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.303e-05/1.031, allocations: 120.2 kB / 0.9592 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.023e-05/1.031, allocations: 29.69 kB / 0.9592 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.647e-05/1.031, allocations: 97.83 kB / 0.9593 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.011e-05/1.031, allocations: 9.625 kB / 0.9593 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.13e-05/1.031, allocations: 11.53 kB / 0.9593 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.923e-05/1.031, allocations: 324.6 kB / 0.9596 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001524/1.032, allocations: 41.81 kB / 0.9597 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001386/1.032, allocations: 43.45 kB / 0.9597 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002811/1.032, allocations: 92.06 kB / 0.9598 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/1.032, allocations: 0 / 0.9598 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000328/1.032, allocations: 122.1 kB / 0.9599 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/1.032, allocations: 5.5 kB / 0.9599 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/1.032, allocations: 0 / 0.9599 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/1.032, allocations: 4 kB / 0.9599 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00012/1.033, allocations: 23.05 kB / 0.9599 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/1.033, allocations: 5.375 kB / 0.96 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.453e-05/1.033, allocations: 20.27 kB / 0.96 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-06/1.033, allocations: 0 / 0.96 GB, free: 3.59 MB / 0.7169 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 6.444e-05/1.033, allocations: 124.5 kB / 0.9601 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.701e-05/1.033, allocations: 2.75 kB / 0.9601 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003726/1.033, allocations: 136.6 kB / 0.9602 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/1.033, allocations: 3.938 kB / 0.9602 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/1.033, allocations: 1.375 kB / 0.9602 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/1.033, allocations: 0 / 0.9602 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001365/1.033, allocations: 173.8 kB / 0.9604 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/1.033, allocations: 1.375 kB / 0.9604 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.776e-05/1.033, allocations: 27.05 kB / 0.9604 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.387e-06/1.033, allocations: 0 / 0.9604 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-06/1.033, allocations: 1.375 kB / 0.9604 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/1.033, allocations: 0 / 0.9604 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/1.033, allocations: 0 / 0.9604 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003601/1.034, allocations: 225.2 kB / 0.9606 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.066e-05/1.034, allocations: 78.48 kB / 0.9607 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.703e-05/1.034, allocations: 1.375 kB / 0.9607 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001075/1.034, allocations: 18.98 kB / 0.9607 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.126e-05/1.034, allocations: 5.359 kB / 0.9607 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.589e-06/1.034, allocations: 1.375 kB / 0.9607 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.755e-05/1.034, allocations: 92.89 kB / 0.9608 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/1.034, allocations: 0 / 0.9608 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002876/1.034, allocations: 39.34 kB / 0.9609 GB, free: 2.766 MB / 0.7169 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 (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 Backend phase and start with SimCode phase: time 0.0002181/1.035, allocations: 131.9 kB / 0.961 GB, free: 2.66 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003659/1.035, allocations: 93.97 kB / 0.9611 GB, free: 2.625 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/1.035, allocations: 0 / 0.9611 GB, free: 2.625 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000159/1.035, allocations: 42.59 kB / 0.9611 GB, free: 2.613 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002909/1.035, allocations: 16.91 kB / 0.9611 GB, free: 2.602 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000289/1.036, allocations: 174.1 kB / 0.9613 GB, free: 2.441 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001029/1.036, allocations: 0.6811 MB / 0.962 GB, free: 1.742 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.785e-05/1.036, allocations: 10.02 kB / 0.962 GB, free: 1.734 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.294e-05/1.036, allocations: 9.438 kB / 0.962 GB, free: 1.727 MB / 0.7169 GB Notification: Performance of SimCode: time 3.01e-07/1.036, allocations: 1 kB / 0.962 GB, free: 1.727 MB / 0.7169 GB Notification: Performance of Templates: time 0.003584/1.04, allocations: 1.207 MB / 0.9632 GB, free: 1.109 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Examples_Phi_pTX.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches