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.001449/0.001449, allocations: 110.9 kB / 16.41 MB, free: 6.496 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.001508/0.001508, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.393/1.393, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.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.422/2.422, allocations: 437 MB / 0.7112 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001435/0.001436, allocations: 67.89 kB / 1.019 GB, free: 9.465 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9284/0.9298, allocations: 151.6 MB / 1.167 GB, free: 3.91 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.003256/0.9331, allocations: 1.498 MB / 1.169 GB, free: 2.402 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0014/0.9345, allocations: 0.8069 MB / 1.17 GB, free: 1.59 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.635e-05/0.9346, allocations: 0 / 1.17 GB, free: 1.59 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.784e-05/0.9347, allocations: 3.938 kB / 1.17 GB, free: 1.586 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 6.84e-05/0.9348, allocations: 19.84 kB / 1.17 GB, free: 1.566 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006067/0.9354, allocations: 127.5 kB / 1.17 GB, free: 1.441 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001128/0.9355, allocations: 55.78 kB / 1.17 GB, free: 1.387 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001179/0.9357, allocations: 15.98 kB / 1.17 GB, free: 1.371 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 6.051e-05/0.9357, allocations: 15.92 kB / 1.17 GB, free: 1.355 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 5.917e-05/0.9358, allocations: 31.84 kB / 1.17 GB, free: 1.324 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.601e-05/0.9358, allocations: 8 kB / 1.17 GB, free: 1.316 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003777/0.9362, allocations: 167.8 kB / 1.17 GB, free: 1.152 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.161e-05/0.9362, allocations: 11.92 kB / 1.17 GB, free: 1.141 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.33e-05/0.9363, allocations: 23.86 kB / 1.17 GB, free: 1.117 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0003172/0.9366, allocations: 141.4 kB / 1.17 GB, free: 0.9844 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.9366, allocations: 7.984 kB / 1.17 GB, free: 0.9766 MB / 0.8887 GB Notification: Performance of FrontEnd: time 7.564e-06/0.9366, allocations: 0 / 1.17 GB, free: 0.9766 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.9366, allocations: 3.938 kB / 1.17 GB, free: 0.9727 MB / 0.8887 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.0006289/0.9373, allocations: 399.2 kB / 1.171 GB, free: 0.5312 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.687e-05/0.9373, allocations: 8.922 kB / 1.171 GB, free: 0.5234 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.322e-05/0.9374, allocations: 4.938 kB / 1.171 GB, free: 0.5195 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001696/0.9375, allocations: 176.2 kB / 1.171 GB, free: 316 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.102e-05/0.9376, allocations: 4.312 kB / 1.171 GB, free: 312 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.891e-05/0.9376, allocations: 4.375 kB / 1.171 GB, free: 308 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002859/0.9379, allocations: 74.2 kB / 1.171 GB, free: 228 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.9379, allocations: 192 / 1.171 GB, free: 228 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.605e-05/0.9379, allocations: 7.938 kB / 1.171 GB, free: 220 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.9379, allocations: 4 kB / 1.171 GB, free: 216 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002882/0.9382, allocations: 71.86 kB / 1.171 GB, free: 144 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005081/0.9387, allocations: 276.7 kB / 1.171 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002184/0.939, allocations: 58.55 kB / 1.171 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001558/0.9391, allocations: 40.91 kB / 1.171 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002198/0.9394, allocations: 89.09 kB / 1.171 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.967e-05/0.9394, allocations: 42.48 kB / 1.171 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=3): time 1.433e-06/0.9394, allocations: 0 / 1.171 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3): time 0.0005877/0.94, allocations: 125.6 kB / 1.171 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.841e-05/0.9401, allocations: 55.39 kB / 1.172 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001238/0.9402, allocations: 117.8 kB / 1.172 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.604e-05/0.9402, allocations: 29.7 kB / 1.172 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 6.201e-05/0.9403, allocations: 96.05 kB / 1.172 GB, free: 15.1 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.627e-05/0.9403, allocations: 7.844 kB / 1.172 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.225e-05/0.9404, allocations: 21.7 kB / 1.172 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001175/0.9405, allocations: 314.8 kB / 1.172 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001447/0.9407, allocations: 35.95 kB / 1.172 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001302/0.9408, allocations: 31.91 kB / 1.172 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002653/0.9411, allocations: 72.78 kB / 1.172 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.9411, allocations: 0 / 1.172 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003086/0.9414, allocations: 97.56 kB / 1.172 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.9414, allocations: 8 kB / 1.172 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.9415, allocations: 0 / 1.172 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.757e-05/0.9415, allocations: 4 kB / 1.172 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001283/0.9416, allocations: 11.98 kB / 1.172 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.156e-05/0.9416, allocations: 3.984 kB / 1.172 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.768e-05/0.9417, allocations: 19.89 kB / 1.172 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.185e-06/0.9417, allocations: 0 / 1.172 GB, free: 14.46 MB / 0.9044 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 0.0001044/0.9418, allocations: 117.7 kB / 1.172 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.924e-05/0.9419, allocations: 4 kB / 1.172 GB, free: 14.33 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003599/0.9423, allocations: 105.5 kB / 1.173 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/0.9423, allocations: 4 kB / 1.173 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.9423, allocations: 0 / 1.173 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.9423, allocations: 0 / 1.173 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000204/0.9425, allocations: 181.6 kB / 1.173 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.9425, allocations: 0 / 1.173 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.333e-05/0.9426, allocations: 19.98 kB / 1.173 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.9426, allocations: 3.938 kB / 1.173 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.894e-06/0.9426, allocations: 0 / 1.173 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.9426, allocations: 3.984 kB / 1.173 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.9426, allocations: 0 / 1.173 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000364/0.943, allocations: 207.3 kB / 1.173 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.532e-05/0.9431, allocations: 77.11 kB / 1.173 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.598e-05/0.9431, allocations: 0 / 1.173 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001062/0.9432, allocations: 15.97 kB / 1.173 GB, free: 13.63 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.518e-05/0.9433, allocations: 4.422 kB / 1.173 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.188e-06/0.9433, allocations: 4 kB / 1.173 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 6.381e-05/0.9433, allocations: 91.27 kB / 1.173 GB, free: 13.53 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9434, allocations: 0 / 1.173 GB, free: 13.53 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003186/0.9437, allocations: 43.84 kB / 1.173 GB, free: 13.49 MB / 0.9044 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.0002722/0.944, allocations: 131.2 kB / 1.173 GB, free: 13.35 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003426/0.9443, allocations: 75.84 kB / 1.173 GB, free: 13.28 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.9443, allocations: 0 / 1.173 GB, free: 13.28 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001379/0.9445, allocations: 35.97 kB / 1.173 GB, free: 13.24 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003291/0.9448, allocations: 14.27 kB / 1.173 GB, free: 13.23 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004158/0.9452, allocations: 176.8 kB / 1.174 GB, free: 13.03 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002731/0.9455, allocations: 0.6807 MB / 1.174 GB, free: 12.32 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.752e-05/0.9456, allocations: 15.44 kB / 1.174 GB, free: 12.3 MB / 0.9044 GB Notification: Performance of SimCode: time 2.8e-07/0.9456, allocations: 0 / 1.174 GB, free: 12.3 MB / 0.9044 GB Notification: Performance of Templates: time 0.003345/0.9489, allocations: 1.218 MB / 1.175 GB, free: 11.09 MB / 0.9044 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/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