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.001687/0.001687, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001944/0.001944, allocations: 193.9 kB / 16.14 MB, free: 6.637 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.537/1.537, allocations: 222.9 MB / 239.8 MB, free: 4.59 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.801/2.801, allocations: 437 MB / 0.71 GB, free: 5.371 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002355/0.002355, allocations: 63.89 kB / 0.8686 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7577/0.7601, allocations: 151.6 MB / 1.017 GB, free: 2.754 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.003008/0.7632, allocations: 1.558 MB / 1.018 GB, free: 1.188 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001459/0.7647, allocations: 0.8304 MB / 1.019 GB, free: 360 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.239e-05/0.7647, allocations: 3.938 kB / 1.019 GB, free: 356 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.164e-05/0.7647, allocations: 3.938 kB / 1.019 GB, free: 352 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.108e-05/0.7648, allocations: 7.922 kB / 1.019 GB, free: 344 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004094/0.7652, allocations: 115.5 kB / 1.019 GB, free: 228 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 8.658e-05/0.7653, allocations: 47.84 kB / 1.019 GB, free: 180 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001067/0.7655, allocations: 15.98 kB / 1.019 GB, free: 164 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001214/0.7656, allocations: 15.92 kB / 1.019 GB, free: 148 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.516e-05/0.7657, allocations: 23.91 kB / 1.019 GB, free: 124 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.593e-05/0.7657, allocations: 8 kB / 1.019 GB, free: 116 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003553/0.766, allocations: 167.7 kB / 1.019 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.392e-05/0.7661, allocations: 15.92 kB / 1.019 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.7e-05/0.7661, allocations: 23.86 kB / 1.019 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002851/0.7664, allocations: 141.7 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.573e-06/0.7664, allocations: 0 / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of FrontEnd: time 9.11e-07/0.7664, allocations: 3.938 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.768e-06/0.7665, allocations: 0 / 1.02 GB, free: 15.77 MB / 0.7794 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.0006471/0.7671, allocations: 404.6 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.7672, allocations: 8.031 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.82e-05/0.7672, allocations: 8.844 kB / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001559/0.7674, allocations: 176.2 kB / 1.02 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.608e-06/0.7674, allocations: 384 / 1.02 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.787e-05/0.7674, allocations: 4.375 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002702/0.7677, allocations: 74.22 kB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.7677, allocations: 192 / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.631e-05/0.7677, allocations: 11.92 kB / 1.02 GB, free: 15 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.7677, allocations: 0 / 1.02 GB, free: 15 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003114/0.768, allocations: 63.88 kB / 1.02 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004523/0.7685, allocations: 280.8 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002271/0.7687, allocations: 62.47 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001815/0.7689, allocations: 32.92 kB / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002151/0.7692, allocations: 93.09 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.782e-05/0.7692, allocations: 42.48 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.293e-06/0.7692, allocations: 4 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0005887/0.7698, allocations: 129.5 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.547e-05/0.7699, allocations: 51.41 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001261/0.77, allocations: 121.8 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.056e-05/0.77, allocations: 29.7 kB / 1.021 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.923e-05/0.7701, allocations: 88.14 kB / 1.021 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.391e-05/0.7701, allocations: 11.91 kB / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.943e-05/0.7702, allocations: 17.72 kB / 1.021 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000226/0.7704, allocations: 318.8 kB / 1.021 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001581/0.7706, allocations: 27.97 kB / 1.021 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001523/0.7707, allocations: 43.89 kB / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002876/0.771, allocations: 68.78 kB / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.047e-06/0.771, allocations: 0 / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003509/0.7714, allocations: 109.5 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.7714, allocations: 4 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.7714, allocations: 0 / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.7714, allocations: 0 / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001354/0.7716, allocations: 15.98 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.7716, allocations: 0 / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.356e-05/0.7717, allocations: 11.98 kB / 1.022 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.979e-06/0.7717, allocations: 3.984 kB / 1.022 GB, free: 13.25 MB / 0.7794 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 9.397e-05/0.7718, allocations: 121.7 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.069e-05/0.7718, allocations: 7.906 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003888/0.7722, allocations: 101.5 kB / 1.022 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.7722, allocations: 0 / 1.022 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.7722, allocations: 0 / 1.022 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.7723, allocations: 4 kB / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002033/0.7725, allocations: 173.6 kB / 1.022 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.7725, allocations: 4 kB / 1.022 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000108/0.7726, allocations: 23.98 kB / 1.022 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.7726, allocations: 0 / 1.022 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.237e-06/0.7726, allocations: 0 / 1.022 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.684e-06/0.7726, allocations: 0 / 1.022 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.7726, allocations: 0 / 1.022 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004256/0.7731, allocations: 203.2 kB / 1.022 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.26e-05/0.7731, allocations: 81.11 kB / 1.022 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.673e-05/0.7731, allocations: 0 / 1.022 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001149/0.7733, allocations: 15.98 kB / 1.022 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.756e-05/0.7733, allocations: 7.922 kB / 1.022 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.128e-06/0.7733, allocations: 0 / 1.022 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.977e-05/0.7734, allocations: 95.27 kB / 1.023 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7734, allocations: 4 kB / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002806/0.7737, allocations: 35.94 kB / 1.023 GB, free: 12.29 MB / 0.7794 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.0002512/0.774, allocations: 131.7 kB / 1.023 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003555/0.7743, allocations: 72.28 kB / 1.023 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.7743, allocations: 4 kB / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000158/0.7745, allocations: 31.97 kB / 1.023 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003396/0.7749, allocations: 18.22 kB / 1.023 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003736/0.7752, allocations: 160.8 kB / 1.023 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003725/0.7756, allocations: 0.6848 MB / 1.024 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.824e-05/0.7757, allocations: 7.984 kB / 1.024 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.613e-05/0.7757, allocations: 7.438 kB / 1.024 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of SimCode: time 2.01e-07/0.7757, allocations: 0 / 1.024 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of Templates: time 0.004385/0.7801, allocations: 1.223 MB / 1.025 GB, free: 9.906 MB / 0.7794 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=400 -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