Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Examples.Phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|phi.phi",fileNamePrefix="Buildings_10_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_10_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.008959/0.008959, allocations: 100.6 kB / 15.73 MB, free: 5.988 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.002125/0.002125, allocations: 188.8 kB / 16.67 MB, free: 5.914 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.558/1.558, allocations: 222.9 MB / 240.4 MB, free: 4.176 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.682/2.682, allocations: 437 MB / 0.7105 GB, free: 4.945 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001348/0.001348, allocations: 59.91 kB / 1.019 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3226/0.324, allocations: 151.6 MB / 1.167 GB, free: 6.84 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.003112/0.3272, allocations: 1.49 MB / 1.168 GB, free: 5.332 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001377/0.3286, allocations: 0.8068 MB / 1.169 GB, free: 4.52 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.593e-05/0.3286, allocations: 0 / 1.169 GB, free: 4.52 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.244e-05/0.3287, allocations: 3.938 kB / 1.169 GB, free: 4.516 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.885e-05/0.3288, allocations: 15.88 kB / 1.169 GB, free: 4.5 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005909/0.3294, allocations: 127.4 kB / 1.169 GB, free: 4.375 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001188/0.3296, allocations: 63.72 kB / 1.169 GB, free: 4.312 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001249/0.3297, allocations: 8 kB / 1.169 GB, free: 4.305 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 6.214e-05/0.3298, allocations: 19.92 kB / 1.169 GB, free: 4.285 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.785e-05/0.3298, allocations: 31.91 kB / 1.169 GB, free: 4.254 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.815e-05/0.3299, allocations: 4 kB / 1.169 GB, free: 4.25 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004126/0.3303, allocations: 167.8 kB / 1.169 GB, free: 4.086 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.522e-05/0.3303, allocations: 11.94 kB / 1.169 GB, free: 4.074 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.986e-05/0.3304, allocations: 19.92 kB / 1.169 GB, free: 4.055 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003459/0.3307, allocations: 151.5 kB / 1.169 GB, free: 3.906 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.3307, allocations: 0 / 1.169 GB, free: 3.906 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.683e-06/0.3307, allocations: 4 kB / 1.169 GB, free: 3.902 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.3307, allocations: 0 / 1.169 GB, free: 3.902 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000609/0.3314, allocations: 399 kB / 1.17 GB, free: 3.461 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.74e-05/0.3314, allocations: 11.97 kB / 1.17 GB, free: 3.449 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.299e-05/0.3315, allocations: 8.891 kB / 1.17 GB, free: 3.441 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001254/0.3316, allocations: 176.3 kB / 1.17 GB, free: 3.23 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.243e-05/0.3316, allocations: 384 / 1.17 GB, free: 3.23 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.3e-05/0.3316, allocations: 4.375 kB / 1.17 GB, free: 3.227 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002651/0.3319, allocations: 70.22 kB / 1.17 GB, free: 3.152 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.3319, allocations: 192 / 1.17 GB, free: 3.152 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.781e-05/0.3319, allocations: 15.92 kB / 1.17 GB, free: 3.137 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/0.3319, allocations: 0 / 1.17 GB, free: 3.137 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003038/0.3323, allocations: 75.84 kB / 1.17 GB, free: 3.062 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003993/0.3327, allocations: 280.8 kB / 1.17 GB, free: 2.738 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002084/0.3329, allocations: 62.53 kB / 1.17 GB, free: 2.668 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001576/0.3331, allocations: 32.92 kB / 1.171 GB, free: 2.633 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001859/0.3332, allocations: 97.03 kB / 1.171 GB, free: 2.52 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.589e-05/0.3333, allocations: 34.56 kB / 1.171 GB, free: 2.477 MB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.3333, allocations: 4 kB / 1.171 GB, free: 2.473 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.0005512/0.3338, allocations: 125.6 kB / 1.171 GB, free: 2.344 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.632e-05/0.3339, allocations: 51.41 kB / 1.171 GB, free: 2.281 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001023/0.334, allocations: 117.8 kB / 1.171 GB, free: 2.156 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.457e-05/0.334, allocations: 25.7 kB / 1.171 GB, free: 2.125 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.271e-05/0.3341, allocations: 104 kB / 1.171 GB, free: 2.02 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.08e-05/0.3341, allocations: 7.891 kB / 1.171 GB, free: 2.012 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.052e-05/0.3342, allocations: 17.72 kB / 1.171 GB, free: 1.988 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001214/0.3343, allocations: 318.8 kB / 1.171 GB, free: 1.668 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001473/0.3344, allocations: 27.97 kB / 1.171 GB, free: 1.641 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001439/0.3346, allocations: 43.89 kB / 1.171 GB, free: 1.598 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000266/0.3349, allocations: 64.8 kB / 1.172 GB, free: 1.531 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.3349, allocations: 0 / 1.172 GB, free: 1.531 MB / 0.92 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003318/0.3352, allocations: 105.6 kB / 1.172 GB, free: 1.422 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.3352, allocations: 6.031 kB / 1.172 GB, free: 1.418 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.3352, allocations: 0 / 1.172 GB, free: 1.418 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.3353, allocations: 0 / 1.172 GB, free: 1.418 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001364/0.3354, allocations: 15.98 kB / 1.172 GB, free: 1.402 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.613e-06/0.3354, allocations: 3.938 kB / 1.172 GB, free: 1.398 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.439e-05/0.3355, allocations: 15.98 kB / 1.172 GB, free: 1.383 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.013e-05/0.3355, allocations: 0 / 1.172 GB, free: 1.383 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 7.913e-05/0.3356, allocations: 125.7 kB / 1.172 GB, free: 1.25 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.006e-05/0.3356, allocations: 3.953 kB / 1.172 GB, free: 1.246 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003743/0.336, allocations: 105.5 kB / 1.172 GB, free: 1.129 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.336, allocations: 0 / 1.172 GB, free: 1.129 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.3361, allocations: 8 kB / 1.172 GB, free: 1.121 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.3361, allocations: 0 / 1.172 GB, free: 1.121 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001743/0.3362, allocations: 173.6 kB / 1.172 GB, free: 0.9023 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.3363, allocations: 4 kB / 1.172 GB, free: 0.8984 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.287e-05/0.3364, allocations: 16.36 kB / 1.172 GB, free: 0.8828 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.776e-06/0.3364, allocations: 0 / 1.172 GB, free: 0.8828 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.147e-06/0.3364, allocations: 0 / 1.172 GB, free: 0.8828 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.3364, allocations: 0 / 1.172 GB, free: 0.8828 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.185e-06/0.3364, allocations: 0 / 1.172 GB, free: 0.8828 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003745/0.3368, allocations: 211.3 kB / 1.172 GB, free: 0.6602 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.058e-05/0.3368, allocations: 81.06 kB / 1.172 GB, free: 0.5625 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.564e-05/0.3368, allocations: 0 / 1.172 GB, free: 0.5625 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001051/0.337, allocations: 11.98 kB / 1.172 GB, free: 0.5508 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.84e-05/0.337, allocations: 7.984 kB / 1.172 GB, free: 0.543 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.642e-06/0.337, allocations: 4 kB / 1.172 GB, free: 0.5391 MB / 0.92 GB Notification: Performance of sorting global known variables: time 5.606e-05/0.3371, allocations: 87.28 kB / 1.172 GB, free: 464 kB / 0.92 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3371, allocations: 4 kB / 1.172 GB, free: 460 kB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002771/0.3374, allocations: 35.86 kB / 1.172 GB, free: 424 kB / 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 (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.0002269/0.3376, allocations: 131.2 kB / 1.173 GB, free: 284 kB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0003424/0.338, allocations: 71.86 kB / 1.173 GB, free: 212 kB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/0.338, allocations: 4 kB / 1.173 GB, free: 208 kB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001517/0.3381, allocations: 39.89 kB / 1.173 GB, free: 168 kB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003233/0.3385, allocations: 15.88 kB / 1.173 GB, free: 152 kB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003549/0.3388, allocations: 143.1 kB / 1.173 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002398/0.3391, allocations: 0.6846 MB / 1.174 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.835e-05/0.3391, allocations: 7.984 kB / 1.174 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.24e-05/0.3392, allocations: 15.44 kB / 1.174 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of SimCode: time 4.71e-07/0.3392, allocations: 0 / 1.174 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of Templates: time 0.004077/0.3433, allocations: 1.381 MB / 1.175 GB, free: 13.88 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.makefile (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.sim & ./Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Examples_Phi_pTX.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches