Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001112/0.001112, allocations: 100.1 kB / 15.88 MB, free: 12 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.001064/0.001064, allocations: 199.9 kB / 16.79 MB, free: 6.809 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.317/1.317, allocations: 222.9 MB / 240.5 MB, free: 4.555 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.779/2.779, allocations: 461.8 MB / 0.7348 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001565/0.001565, allocations: 66.67 kB / 0.899 GB, free: 37.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3378/0.3394, allocations: 157.4 MB / 1.053 GB, free: 8.395 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.002992/0.3425, allocations: 1.558 MB / 1.054 GB, free: 6.824 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00134/0.3438, allocations: 0.8256 MB / 1.055 GB, free: 5.996 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.799e-05/0.3439, allocations: 4 kB / 1.055 GB, free: 5.992 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.444e-05/0.3439, allocations: 0 / 1.055 GB, free: 5.992 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.41e-05/0.344, allocations: 15.8 kB / 1.055 GB, free: 5.977 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004708/0.3445, allocations: 111.6 kB / 1.055 GB, free: 5.867 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.947e-05/0.3446, allocations: 47.84 kB / 1.055 GB, free: 5.82 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.582e-05/0.3447, allocations: 15.98 kB / 1.055 GB, free: 5.805 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.457e-05/0.3448, allocations: 23.86 kB / 1.055 GB, free: 5.781 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.349e-05/0.3448, allocations: 19.92 kB / 1.055 GB, free: 5.762 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.619e-05/0.3448, allocations: 4 kB / 1.055 GB, free: 5.758 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000353/0.3452, allocations: 179.7 kB / 1.055 GB, free: 5.582 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.544e-05/0.3452, allocations: 11.94 kB / 1.055 GB, free: 5.57 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.652e-05/0.3453, allocations: 23.86 kB / 1.055 GB, free: 5.547 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002049/0.3455, allocations: 100 kB / 1.056 GB, free: 5.449 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.3455, allocations: 0 / 1.056 GB, free: 5.449 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.221e-05/0.3455, allocations: 4 kB / 1.056 GB, free: 5.445 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.078e-06/0.3455, allocations: 0 / 1.056 GB, free: 5.445 MB / 0.8106 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.0005846/0.3461, allocations: 395.2 kB / 1.056 GB, free: 5.008 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.3462, allocations: 11.97 kB / 1.056 GB, free: 4.996 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.954e-05/0.3462, allocations: 12.84 kB / 1.056 GB, free: 4.984 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000125/0.3463, allocations: 172.3 kB / 1.056 GB, free: 4.777 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.676e-05/0.3464, allocations: 4.375 kB / 1.056 GB, free: 4.773 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.593e-05/0.3464, allocations: 8.312 kB / 1.056 GB, free: 4.766 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002853/0.3467, allocations: 74.2 kB / 1.056 GB, free: 4.688 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.938e-06/0.3467, allocations: 192 / 1.056 GB, free: 4.688 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.351e-05/0.3467, allocations: 3.938 kB / 1.056 GB, free: 4.684 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.3467, allocations: 0 / 1.056 GB, free: 4.684 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002981/0.347, allocations: 75.86 kB / 1.056 GB, free: 4.609 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004022/0.3474, allocations: 280.8 kB / 1.057 GB, free: 4.285 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002323/0.3477, allocations: 58.55 kB / 1.057 GB, free: 4.219 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001552/0.3478, allocations: 40.84 kB / 1.057 GB, free: 4.176 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002087/0.3481, allocations: 93.09 kB / 1.057 GB, free: 4.066 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.761e-05/0.3481, allocations: 30.56 kB / 1.057 GB, free: 4.027 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.303e-06/0.3481, allocations: 0 / 1.057 GB, free: 4.027 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0005696/0.3487, allocations: 129.5 kB / 1.057 GB, free: 3.895 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.194e-05/0.3487, allocations: 55.39 kB / 1.057 GB, free: 3.828 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001071/0.3489, allocations: 125.6 kB / 1.057 GB, free: 3.695 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.49e-05/0.3489, allocations: 25.7 kB / 1.057 GB, free: 3.664 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.133e-05/0.3489, allocations: 96.14 kB / 1.057 GB, free: 3.566 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.985e-05/0.349, allocations: 7.812 kB / 1.057 GB, free: 3.559 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.903e-05/0.349, allocations: 17.7 kB / 1.057 GB, free: 3.535 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001194/0.3491, allocations: 322.7 kB / 1.058 GB, free: 3.211 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001558/0.3493, allocations: 35.89 kB / 1.058 GB, free: 3.176 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001376/0.3494, allocations: 32.16 kB / 1.058 GB, free: 3.145 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002784/0.3497, allocations: 80.86 kB / 1.058 GB, free: 3.062 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.3497, allocations: 0 / 1.058 GB, free: 3.062 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003181/0.3501, allocations: 93.62 kB / 1.058 GB, free: 2.965 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.3501, allocations: 5.719 kB / 1.058 GB, free: 2.961 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.3501, allocations: 4 kB / 1.058 GB, free: 2.957 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.3501, allocations: 0 / 1.058 GB, free: 2.957 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000123/0.3502, allocations: 19.97 kB / 1.058 GB, free: 2.938 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/0.3503, allocations: 0 / 1.058 GB, free: 2.938 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.449e-05/0.3504, allocations: 15.92 kB / 1.058 GB, free: 2.922 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.424e-06/0.3504, allocations: 0 / 1.058 GB, free: 2.922 MB / 0.8106 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 9.189e-05/0.3505, allocations: 117.8 kB / 1.058 GB, free: 2.797 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.857e-05/0.3505, allocations: 11.84 kB / 1.058 GB, free: 2.785 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003677/0.3509, allocations: 105.5 kB / 1.058 GB, free: 2.672 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.3509, allocations: 0 / 1.058 GB, free: 2.672 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.3509, allocations: 4 kB / 1.058 GB, free: 2.668 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.3509, allocations: 0 / 1.058 GB, free: 2.668 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000198/0.3511, allocations: 177.6 kB / 1.058 GB, free: 2.445 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.3511, allocations: 0 / 1.058 GB, free: 2.445 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.622e-05/0.3512, allocations: 19.98 kB / 1.058 GB, free: 2.426 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.3512, allocations: 0 / 1.058 GB, free: 2.426 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.173e-05/0.3512, allocations: 3.984 kB / 1.058 GB, free: 2.422 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.3513, allocations: 0 / 1.058 GB, free: 2.422 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3513, allocations: 3.938 kB / 1.058 GB, free: 2.418 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003811/0.3516, allocations: 203.3 kB / 1.058 GB, free: 2.203 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.026e-05/0.3517, allocations: 81.05 kB / 1.059 GB, free: 2.105 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.559e-05/0.3517, allocations: 0 / 1.059 GB, free: 2.105 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001133/0.3518, allocations: 15.97 kB / 1.059 GB, free: 2.09 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.537e-05/0.3519, allocations: 0 / 1.059 GB, free: 2.09 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.514e-06/0.3519, allocations: 4 kB / 1.059 GB, free: 2.086 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 6.423e-05/0.352, allocations: 95.27 kB / 1.059 GB, free: 1.992 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.352, allocations: 0 / 1.059 GB, free: 1.992 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002774/0.3523, allocations: 28 kB / 1.059 GB, free: 1.965 MB / 0.8106 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.0002361/0.3525, allocations: 135.2 kB / 1.059 GB, free: 1.824 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003393/0.3529, allocations: 71.86 kB / 1.059 GB, free: 1.754 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3529, allocations: 0 / 1.059 GB, free: 1.754 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001518/0.353, allocations: 39.95 kB / 1.059 GB, free: 1.715 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003359/0.3534, allocations: 15.88 kB / 1.059 GB, free: 1.699 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003864/0.3538, allocations: 186.5 kB / 1.059 GB, free: 1.484 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002591/0.354, allocations: 0.6875 MB / 1.06 GB, free: 0.7734 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.688e-05/0.3541, allocations: 11.44 kB / 1.06 GB, free: 0.7617 MB / 0.8106 GB Notification: Performance of SimCode: time 6.01e-07/0.3541, allocations: 0 / 1.06 GB, free: 0.7617 MB / 0.8106 GB Notification: Performance of Templates: time 0.00315/0.3572, allocations: 1.21 MB / 1.061 GB, free: 15.55 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.makefile (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_Phi_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches