Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.000777/0.000777, allocations: 92.31 kB / 16.02 MB, free: 80 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.0009574/0.0009574, allocations: 180.3 kB / 16.92 MB, free: 6.652 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.402/1.402, allocations: 223.3 MB / 241 MB, free: 5.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.503/2.503, allocations: 390.9 MB / 0.667 GB, free: 2.359 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003689/0.000369, allocations: 11.98 kB / 0.8166 GB, free: 13.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7997/0.8001, allocations: 142.4 MB / 0.9557 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.001349/0.8015, allocations: 1.215 MB / 0.9569 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001028/0.8026, allocations: 0.8099 MB / 0.9577 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.181e-05/0.8026, allocations: 1.094 kB / 0.9577 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.115e-05/0.8026, allocations: 3.938 kB / 0.9577 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.717e-05/0.8027, allocations: 5.125 kB / 0.9577 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000282/0.803, allocations: 117.8 kB / 0.9578 GB, free: 6 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.925e-05/0.803, allocations: 52.95 kB / 0.9579 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 6.435e-05/0.8031, allocations: 13.3 kB / 0.9579 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.884e-05/0.8031, allocations: 15.03 kB / 0.9579 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.787e-05/0.8032, allocations: 22.88 kB / 0.9579 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.778e-06/0.8032, allocations: 2.156 kB / 0.9579 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002958/0.8035, allocations: 177.8 kB / 0.9581 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.353e-05/0.8035, allocations: 13.44 kB / 0.9581 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.315e-05/0.8036, allocations: 42.03 kB / 0.9581 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001723/0.8037, allocations: 111.8 kB / 0.9582 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.8038, allocations: 0 / 0.9582 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.653e-06/0.8038, allocations: 0 / 0.9582 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.8038, allocations: 0 / 0.9582 GB, free: 5.734 MB / 0.7169 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.0004463/0.8042, allocations: 403 kB / 0.9586 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.57e-05/0.8043, allocations: 10.03 kB / 0.9586 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.141e-05/0.8043, allocations: 3.594 kB / 0.9586 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.45e-05/0.8044, allocations: 174.8 kB / 0.9588 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.393e-05/0.8044, allocations: 1.625 kB / 0.9588 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.256e-05/0.8045, allocations: 3 kB / 0.9588 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000252/0.8047, allocations: 92.48 kB / 0.9589 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.8047, allocations: 4.125 kB / 0.9589 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.8047, allocations: 3.938 kB / 0.9589 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.8048, allocations: 5.547 kB / 0.9589 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003277/0.8051, allocations: 84.88 kB / 0.959 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003161/0.8054, allocations: 283.3 kB / 0.9593 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002049/0.8056, allocations: 70.25 kB / 0.9593 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001625/0.8058, allocations: 49.36 kB / 0.9594 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001412/0.8059, allocations: 97.75 kB / 0.9595 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.352e-05/0.806, allocations: 35.8 kB / 0.9595 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.272e-06/0.806, allocations: 0 / 0.9595 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0005657/0.8065, allocations: 160.3 kB / 0.9596 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.344e-05/0.8066, allocations: 52.62 kB / 0.9597 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.658e-05/0.8067, allocations: 127.1 kB / 0.9598 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.326e-06/0.8067, allocations: 26.92 kB / 0.9598 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.897e-05/0.8067, allocations: 89.55 kB / 0.9599 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.659e-05/0.8067, allocations: 9.312 kB / 0.9599 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.054e-05/0.8068, allocations: 19.28 kB / 0.96 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.363e-05/0.8068, allocations: 324.3 kB / 0.9603 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001578/0.807, allocations: 40.16 kB / 0.9603 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001447/0.8071, allocations: 47.14 kB / 0.9603 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000289/0.8074, allocations: 85.61 kB / 0.9604 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.8074, allocations: 1.375 kB / 0.9604 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003374/0.8078, allocations: 120.7 kB / 0.9605 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.8078, allocations: 5.5 kB / 0.9606 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.8078, allocations: 3.938 kB / 0.9606 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.8078, allocations: 1.703 kB / 0.9606 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001229/0.8079, allocations: 27.05 kB / 0.9606 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.808, allocations: 0 / 0.9606 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.714e-05/0.8081, allocations: 24.27 kB / 0.9606 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.325e-06/0.8081, allocations: 1.375 kB / 0.9606 GB, free: 3.594 MB / 0.7169 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 5.346e-05/0.8081, allocations: 116.5 kB / 0.9607 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.571e-05/0.8082, allocations: 1.375 kB / 0.9607 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003931/0.8086, allocations: 136.6 kB / 0.9609 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.8086, allocations: 1.375 kB / 0.9609 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.8086, allocations: 0 / 0.9609 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.8086, allocations: 1.375 kB / 0.9609 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001246/0.8087, allocations: 173.8 kB / 0.961 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.8087, allocations: 0 / 0.961 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.829e-05/0.8088, allocations: 19.11 kB / 0.961 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.826e-06/0.8088, allocations: 1.375 kB / 0.961 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.535e-06/0.8089, allocations: 7.938 kB / 0.961 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.8089, allocations: 1.375 kB / 0.961 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.8089, allocations: 0 / 0.961 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003522/0.8092, allocations: 223.8 kB / 0.9613 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.844e-05/0.8093, allocations: 79.86 kB / 0.9613 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.472e-05/0.8093, allocations: 4 kB / 0.9613 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001142/0.8094, allocations: 24.3 kB / 0.9614 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.553e-05/0.8094, allocations: 9.359 kB / 0.9614 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.538e-06/0.8095, allocations: 1.375 kB / 0.9614 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.435e-05/0.8095, allocations: 92.89 kB / 0.9615 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8095, allocations: 0 / 0.9615 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002969/0.8098, allocations: 33.84 kB / 0.9615 GB, free: 2.773 MB / 0.7169 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.0001934/0.81, allocations: 124.2 kB / 0.9616 GB, free: 2.676 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003736/0.8104, allocations: 94.08 kB / 0.9617 GB, free: 2.641 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.8104, allocations: 5.125 kB / 0.9617 GB, free: 2.637 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001709/0.8106, allocations: 45.72 kB / 0.9618 GB, free: 2.621 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003008/0.8109, allocations: 9.125 kB / 0.9618 GB, free: 2.617 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003043/0.8112, allocations: 195.8 kB / 0.9619 GB, free: 2.43 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.544e-05/0.8113, allocations: 0.6819 MB / 0.9626 GB, free: 1.73 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.248e-05/0.8113, allocations: 17.2 kB / 0.9626 GB, free: 1.715 MB / 0.7169 GB Notification: Performance of SimCode: time 3.41e-07/0.8113, allocations: 1.031 kB / 0.9626 GB, free: 1.715 MB / 0.7169 GB Notification: Performance of Templates: time 0.002791/0.8141, allocations: 1.203 MB / 0.9638 GB, free: 1.102 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Examples_Phi_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches