Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Psychrometrics.Functions.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.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|X_w|phi",fileNamePrefix="Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|X_w|phi",fileNamePrefix="Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001059/0.001059, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001094/0.001094, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.398/1.398, allocations: 222.9 MB / 240.2 MB, free: 4.422 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.761/2.761, allocations: 437 MB / 0.7103 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 71.81 kB / 0.8692 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6559/0.6572, allocations: 151.6 MB / 1.017 GB, free: 2.676 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002516/0.6597, allocations: 1.28 MB / 1.019 GB, free: 1.387 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001298/0.661, allocations: 0.8147 MB / 1.019 GB, free: 0.5664 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.918e-05/0.6611, allocations: 0 / 1.019 GB, free: 0.5664 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.025e-05/0.6611, allocations: 3.938 kB / 1.019 GB, free: 0.5625 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.718e-05/0.6612, allocations: 7.984 kB / 1.019 GB, free: 0.5547 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005133/0.6617, allocations: 127.4 kB / 1.019 GB, free: 440 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 7.284e-05/0.6618, allocations: 27.86 kB / 1.019 GB, free: 412 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.448e-05/0.6618, allocations: 4 kB / 1.019 GB, free: 408 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 4.158e-05/0.6619, allocations: 15.94 kB / 1.019 GB, free: 392 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.102e-05/0.6619, allocations: 11.97 kB / 1.02 GB, free: 380 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.337e-05/0.662, allocations: 0 / 1.02 GB, free: 380 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003315/0.6623, allocations: 167.8 kB / 1.02 GB, free: 212 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.815e-05/0.6623, allocations: 7.922 kB / 1.02 GB, free: 204 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.364e-05/0.6623, allocations: 4 kB / 1.02 GB, free: 200 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0002376/0.6626, allocations: 125.8 kB / 1.02 GB, free: 76 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.6626, allocations: 0 / 1.02 GB, free: 76 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.313e-06/0.6626, allocations: 0 / 1.02 GB, free: 76 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 6.072e-06/0.6626, allocations: 3.938 kB / 1.02 GB, free: 72 kB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005058/0.6631, allocations: 367.5 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.6632, allocations: 8.031 kB / 1.02 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.115e-05/0.6632, allocations: 4.938 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001283/0.6634, allocations: 164.4 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.88e-05/0.6634, allocations: 38.25 kB / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.576e-06/0.6635, allocations: 384 / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001485/0.6636, allocations: 46.25 kB / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.6636, allocations: 7.938 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.6637, allocations: 0 / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.6637, allocations: 0 / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001007/0.6638, allocations: 23.92 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000183/0.664, allocations: 157.6 kB / 1.021 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002133/0.6642, allocations: 50.59 kB / 1.021 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.799e-05/0.6642, allocations: 12.94 kB / 1.021 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003108/0.6646, allocations: 186.2 kB / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.461e-05/0.6646, allocations: 30.56 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.6646, allocations: 0 / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0002569/0.6649, allocations: 73.55 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.586e-05/0.6649, allocations: 55.41 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.436e-05/0.665, allocations: 93.86 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.085e-05/0.665, allocations: 33.7 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.001e-05/0.6651, allocations: 84.14 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.723e-05/0.6651, allocations: 15.59 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.6e-05/0.6651, allocations: 17.72 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001119/0.6653, allocations: 310.8 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.262e-05/0.6653, allocations: 11.98 kB / 1.022 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.177e-05/0.6654, allocations: 8 kB / 1.022 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.466e-05/0.6655, allocations: 28.84 kB / 1.022 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.6655, allocations: 4 kB / 1.022 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.00015/0.6656, allocations: 61.61 kB / 1.022 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.86e-05/0.6657, allocations: 7.938 kB / 1.022 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.6657, allocations: 0 / 1.022 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.085e-05/0.6657, allocations: 3.938 kB / 1.022 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.2e-05/0.6658, allocations: 8 kB / 1.022 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.6658, allocations: 0 / 1.022 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.194e-05/0.6658, allocations: 8 kB / 1.022 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.253e-06/0.6658, allocations: 4 kB / 1.022 GB, free: 13.91 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 (4): * Single equations (assignments): 4 * 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.519e-05/0.6659, allocations: 115.4 kB / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.394e-05/0.6659, allocations: 7.938 kB / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000183/0.6661, allocations: 65.11 kB / 1.022 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.6661, allocations: 4 kB / 1.022 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.6662, allocations: 3.938 kB / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.6662, allocations: 0 / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001175/0.6663, allocations: 161.6 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.6663, allocations: 0 / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.761e-05/0.6663, allocations: 8 kB / 1.022 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.6664, allocations: 4.5 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.075e-05/0.6664, allocations: 3.984 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.6664, allocations: 0 / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.6664, allocations: 0 / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001668/0.6666, allocations: 89.05 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.7e-05/0.6666, allocations: 93.03 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.444e-05/0.6667, allocations: 3.938 kB / 1.022 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.83e-05/0.6667, allocations: 0 / 1.022 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.631e-05/0.6668, allocations: 7.984 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-06/0.6668, allocations: 0 / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.254e-05/0.6668, allocations: 79.28 kB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6668, allocations: 0 / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002354/0.6671, allocations: 32 kB / 1.022 GB, free: 13.14 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 (4): * Single equations (assignments): 4 * 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.0002324/0.6673, allocations: 139.1 kB / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001643/0.6675, allocations: 35.97 kB / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.509e-06/0.6675, allocations: 4 kB / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 5.374e-05/0.6675, allocations: 15.88 kB / 1.022 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002428/0.6678, allocations: 15.97 kB / 1.022 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002921/0.6681, allocations: 119.2 kB / 1.023 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002808/0.6684, allocations: 0.6729 MB / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.412e-05/0.6684, allocations: 7.984 kB / 1.023 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.993e-05/0.6685, allocations: 11.44 kB / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of SimCode: time 2.51e-07/0.6685, allocations: 4 kB / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of Templates: time 0.003516/0.672, allocations: 1.064 MB / 1.024 GB, free: 11.01 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.makefile (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & ./Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches