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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001172/0.001171, allocations: 103.5 kB / 16.35 MB, free: 6.285 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.001133/0.001133, allocations: 193.5 kB / 17.29 MB, free: 5.863 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.189/1.189, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.177/2.177, allocations: 437.1 MB / 0.7112 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001202, allocations: 67.28 kB / 0.8707 GB, free: 1.492 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.245/0.2462, allocations: 151.6 MB / 1.019 GB, free: 9.902 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.002401/0.2487, allocations: 1.502 MB / 1.02 GB, free: 8.387 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001079/0.2498, allocations: 0.8006 MB / 1.021 GB, free: 7.582 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.673e-05/0.2498, allocations: 4 kB / 1.021 GB, free: 7.578 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.554e-05/0.2498, allocations: 7.922 kB / 1.021 GB, free: 7.57 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 4.58e-05/0.2499, allocations: 11.86 kB / 1.021 GB, free: 7.559 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003797/0.2503, allocations: 135.4 kB / 1.021 GB, free: 7.426 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 8.072e-05/0.2504, allocations: 51.84 kB / 1.021 GB, free: 7.375 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 8.781e-05/0.2505, allocations: 12 kB / 1.021 GB, free: 7.363 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 3.833e-05/0.2505, allocations: 19.92 kB / 1.021 GB, free: 7.344 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 4.397e-05/0.2506, allocations: 27.91 kB / 1.021 GB, free: 7.316 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.296e-05/0.2506, allocations: 4 kB / 1.021 GB, free: 7.312 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002837/0.2509, allocations: 171.7 kB / 1.021 GB, free: 7.145 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.259e-05/0.2509, allocations: 8 kB / 1.021 GB, free: 7.137 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.237e-05/0.2509, allocations: 27.86 kB / 1.021 GB, free: 7.109 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002178/0.2511, allocations: 155.5 kB / 1.022 GB, free: 6.957 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.2512, allocations: 0 / 1.022 GB, free: 6.957 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.242e-06/0.2512, allocations: 0 / 1.022 GB, free: 6.957 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.038e-06/0.2512, allocations: 0 / 1.022 GB, free: 6.957 MB / 0.795 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.0004767/0.2517, allocations: 391.2 kB / 1.022 GB, free: 6.523 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.489e-05/0.2517, allocations: 12.92 kB / 1.022 GB, free: 6.512 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.429e-05/0.2517, allocations: 16.84 kB / 1.022 GB, free: 6.496 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001083/0.2519, allocations: 172.2 kB / 1.022 GB, free: 6.289 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.096e-05/0.2519, allocations: 4.375 kB / 1.022 GB, free: 6.285 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.11e-05/0.2519, allocations: 4.312 kB / 1.022 GB, free: 6.281 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000252/0.2521, allocations: 74.2 kB / 1.022 GB, free: 6.203 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.2522, allocations: 192 / 1.022 GB, free: 6.203 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.2522, allocations: 3.938 kB / 1.022 GB, free: 6.199 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.2522, allocations: 4 kB / 1.022 GB, free: 6.195 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002452/0.2524, allocations: 71.92 kB / 1.022 GB, free: 6.125 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003283/0.2528, allocations: 280.8 kB / 1.023 GB, free: 5.801 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00018/0.253, allocations: 58.47 kB / 1.023 GB, free: 5.734 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001271/0.2531, allocations: 40.92 kB / 1.023 GB, free: 5.691 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001593/0.2533, allocations: 89.09 kB / 1.023 GB, free: 5.586 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.052e-05/0.2533, allocations: 30.56 kB / 1.023 GB, free: 5.547 MB / 0.795 GB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.2533, allocations: 0 / 1.023 GB, free: 5.547 MB / 0.795 GB Notification: Performance of matching and sorting (n=3): time 0.0004739/0.2538, allocations: 141.6 kB / 1.023 GB, free: 5.402 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.122e-05/0.2538, allocations: 55.41 kB / 1.023 GB, free: 5.336 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.673e-05/0.2539, allocations: 117.7 kB / 1.023 GB, free: 5.211 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.117e-05/0.2539, allocations: 25.7 kB / 1.023 GB, free: 5.18 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 3.881e-05/0.254, allocations: 96.12 kB / 1.023 GB, free: 5.082 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.565e-05/0.254, allocations: 7.812 kB / 1.023 GB, free: 5.074 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.639e-05/0.254, allocations: 17.72 kB / 1.023 GB, free: 5.051 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 9.462e-05/0.2541, allocations: 326.8 kB / 1.024 GB, free: 4.723 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001254/0.2543, allocations: 27.97 kB / 1.024 GB, free: 4.695 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001136/0.2544, allocations: 31.95 kB / 1.024 GB, free: 4.664 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002273/0.2546, allocations: 72.78 kB / 1.024 GB, free: 4.59 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.2546, allocations: 0 / 1.024 GB, free: 4.59 MB / 0.795 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003393/0.255, allocations: 97.56 kB / 1.024 GB, free: 4.488 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.255, allocations: 11.98 kB / 1.024 GB, free: 4.477 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.255, allocations: 0 / 1.024 GB, free: 4.477 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.638e-06/0.255, allocations: 4 kB / 1.024 GB, free: 4.473 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000102/0.2551, allocations: 11.98 kB / 1.024 GB, free: 4.461 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.489e-06/0.2551, allocations: 4 kB / 1.024 GB, free: 4.457 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.676e-05/0.2552, allocations: 7.984 kB / 1.024 GB, free: 4.449 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.015e-06/0.2552, allocations: 4 kB / 1.024 GB, free: 4.445 MB / 0.795 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.102e-05/0.2553, allocations: 114.4 kB / 1.024 GB, free: 4.324 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.625e-05/0.2553, allocations: 7.906 kB / 1.024 GB, free: 4.316 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003186/0.2556, allocations: 121.4 kB / 1.024 GB, free: 4.188 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.2557, allocations: 0 / 1.024 GB, free: 4.188 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.2557, allocations: 4 kB / 1.024 GB, free: 4.184 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.2557, allocations: 3.938 kB / 1.024 GB, free: 4.18 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001605/0.2558, allocations: 169.6 kB / 1.024 GB, free: 3.965 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.2558, allocations: 0 / 1.024 GB, free: 3.965 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.533e-05/0.2559, allocations: 19.97 kB / 1.024 GB, free: 3.945 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.256, allocations: 4 kB / 1.024 GB, free: 3.941 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.252e-06/0.256, allocations: 0 / 1.024 GB, free: 3.941 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.256, allocations: 4 kB / 1.024 GB, free: 3.938 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.256, allocations: 0 / 1.024 GB, free: 3.938 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003223/0.2563, allocations: 199.3 kB / 1.024 GB, free: 3.727 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.541e-05/0.2564, allocations: 85.03 kB / 1.025 GB, free: 3.625 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.557e-05/0.2564, allocations: 4 kB / 1.025 GB, free: 3.621 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.484e-05/0.2565, allocations: 7.984 kB / 1.025 GB, free: 3.613 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.835e-05/0.2565, allocations: 8 kB / 1.025 GB, free: 3.605 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.642e-06/0.2565, allocations: 7.922 kB / 1.025 GB, free: 3.598 MB / 0.795 GB Notification: Performance of sorting global known variables: time 4.476e-05/0.2566, allocations: 91.22 kB / 1.025 GB, free: 3.508 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2566, allocations: 0 / 1.025 GB, free: 3.508 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.000239/0.2568, allocations: 31.98 kB / 1.025 GB, free: 3.477 MB / 0.795 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.0001813/0.257, allocations: 131.2 kB / 1.025 GB, free: 3.336 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002868/0.2573, allocations: 71.92 kB / 1.025 GB, free: 3.266 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.2573, allocations: 0 / 1.025 GB, free: 3.266 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001292/0.2575, allocations: 43.95 kB / 1.025 GB, free: 3.223 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002467/0.2577, allocations: 10.75 kB / 1.025 GB, free: 3.215 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002742/0.258, allocations: 151.6 kB / 1.025 GB, free: 3.043 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002161/0.2582, allocations: 0.6807 MB / 1.026 GB, free: 2.336 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 3.053e-05/0.2583, allocations: 11.98 kB / 1.026 GB, free: 2.324 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.237e-05/0.2583, allocations: 7.438 kB / 1.026 GB, free: 2.316 MB / 0.795 GB Notification: Performance of SimCode: time 2.21e-07/0.2583, allocations: 0 / 1.026 GB, free: 2.316 MB / 0.795 GB Notification: Performance of Templates: time 0.003313/0.2616, allocations: 1.373 MB / 1.027 GB, free: 0.9531 MB / 0.795 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 -s cvode -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/jenkins1/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