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.001492/0.001491, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001809/0.001809, allocations: 195.9 kB / 16.26 MB, free: 6.629 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.426/1.426, allocations: 222.9 MB / 239.9 MB, free: 4.496 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.64/2.64, allocations: 437 MB / 0.71 GB, free: 5.348 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00139/0.00139, allocations: 63.91 kB / 0.8687 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6932/0.6946, allocations: 151.6 MB / 1.017 GB, free: 2.781 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.002816/0.6975, allocations: 1.559 MB / 1.018 GB, free: 1.215 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001327/0.6989, allocations: 0.8069 MB / 1.019 GB, free: 412 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.258e-05/0.6989, allocations: 0 / 1.019 GB, free: 412 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.072e-05/0.699, allocations: 3.938 kB / 1.019 GB, free: 408 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.88e-05/0.6991, allocations: 3.938 kB / 1.019 GB, free: 404 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.000501/0.6996, allocations: 115.6 kB / 1.019 GB, free: 288 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 9.302e-05/0.6997, allocations: 59.78 kB / 1.019 GB, free: 228 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 9.428e-05/0.6998, allocations: 15.98 kB / 1.019 GB, free: 212 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 4.546e-05/0.6998, allocations: 19.92 kB / 1.019 GB, free: 192 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.127e-05/0.6999, allocations: 23.92 kB / 1.019 GB, free: 168 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.712e-05/0.6999, allocations: 4 kB / 1.019 GB, free: 164 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003358/0.7002, allocations: 175.8 kB / 1.019 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.543e-05/0.7003, allocations: 11.88 kB / 1.019 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.663e-05/0.7003, allocations: 27.86 kB / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002482/0.7006, allocations: 145.7 kB / 1.02 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.7006, allocations: 0 / 1.02 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.924e-06/0.7006, allocations: 0 / 1.02 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.17e-06/0.7006, allocations: 4 kB / 1.02 GB, free: 15.8 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.0005486/0.7011, allocations: 407.1 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.7012, allocations: 8.031 kB / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.554e-05/0.7012, allocations: 8.844 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001156/0.7013, allocations: 168.3 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/0.7014, allocations: 8.359 kB / 1.02 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.362e-05/0.7014, allocations: 384 / 1.02 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002551/0.7016, allocations: 74.22 kB / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.7017, allocations: 4.172 kB / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.335e-05/0.7017, allocations: 11.94 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.7017, allocations: 0 / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002733/0.702, allocations: 63.92 kB / 1.02 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003419/0.7023, allocations: 292.7 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001945/0.7025, allocations: 58.53 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001409/0.7027, allocations: 32.92 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001661/0.7028, allocations: 93.09 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.377e-05/0.7029, allocations: 34.56 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.7029, allocations: 4 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0005178/0.7034, allocations: 137.4 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.773e-05/0.7034, allocations: 51.41 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.657e-05/0.7035, allocations: 117.8 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.342e-05/0.7036, allocations: 25.7 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.913e-05/0.7036, allocations: 88.12 kB / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.832e-05/0.7036, allocations: 11.84 kB / 1.021 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.794e-05/0.7037, allocations: 13.72 kB / 1.021 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.398e-05/0.7038, allocations: 318.8 kB / 1.022 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001396/0.7039, allocations: 35.95 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001313/0.7041, allocations: 31.97 kB / 1.022 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000253/0.7043, allocations: 64.78 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.7043, allocations: 7.938 kB / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003108/0.7046, allocations: 105.5 kB / 1.022 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.7047, allocations: 4 kB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.7047, allocations: 3.984 kB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.688e-06/0.7047, allocations: 0 / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001181/0.7048, allocations: 19.98 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.98e-06/0.7048, allocations: 0 / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.942e-05/0.7049, allocations: 19.98 kB / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.833e-06/0.7049, allocations: 0 / 1.022 GB, free: 13.28 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 7.543e-05/0.705, allocations: 110.3 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.756e-05/0.705, allocations: 11.84 kB / 1.022 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003503/0.7054, allocations: 117.4 kB / 1.022 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.7054, allocations: 0 / 1.022 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.7054, allocations: 0 / 1.022 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.7054, allocations: 0 / 1.022 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001588/0.7056, allocations: 173.6 kB / 1.022 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.7056, allocations: 384 / 1.022 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.369e-05/0.7057, allocations: 15.97 kB / 1.022 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.7057, allocations: 0 / 1.022 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.949e-06/0.7057, allocations: 4 kB / 1.022 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.7057, allocations: 0 / 1.022 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.7057, allocations: 4 kB / 1.022 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003492/0.7061, allocations: 199.3 kB / 1.022 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.183e-05/0.7061, allocations: 89 kB / 1.023 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.52e-05/0.7062, allocations: 0 / 1.023 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001116/0.7063, allocations: 15.98 kB / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.312e-05/0.7063, allocations: 4 kB / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.328e-06/0.7063, allocations: 0 / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.84e-05/0.7064, allocations: 95.27 kB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7064, allocations: 0 / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002712/0.7067, allocations: 31.92 kB / 1.023 GB, free: 12.32 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.0002116/0.7069, allocations: 135.2 kB / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003199/0.7072, allocations: 67.92 kB / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.7072, allocations: 4 kB / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001469/0.7074, allocations: 39.89 kB / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003059/0.7077, allocations: 12.7 kB / 1.023 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003239/0.708, allocations: 159.2 kB / 1.023 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002125/0.7083, allocations: 0.6845 MB / 1.024 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.717e-05/0.7083, allocations: 7.984 kB / 1.024 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.795e-05/0.7083, allocations: 15.44 kB / 1.024 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of SimCode: time 3.41e-07/0.7083, allocations: 0 / 1.024 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of Templates: time 0.003587/0.7119, allocations: 1.268 MB / 1.025 GB, free: 9.887 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=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