Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.007446/0.007446, allocations: 101.5 kB / 15.73 MB, free: 5.508 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.001565/0.001565, allocations: 195 kB / 16.67 MB, free: 5.438 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.43/1.43, allocations: 222.9 MB / 240.4 MB, free: 4.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.812/2.812, allocations: 469.8 MB / 0.7425 GB, free: 7.379 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001438/0.001438, allocations: 63.91 kB / 1.065 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3345/0.336, allocations: 159.1 MB / 1.221 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.003163/0.3391, allocations: 1.503 MB / 1.222 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001382/0.3405, allocations: 0.8099 MB / 1.223 GB, free: 11.53 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.798e-05/0.3406, allocations: 3.938 kB / 1.223 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.893e-05/0.3406, allocations: 3.938 kB / 1.223 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.092e-05/0.3407, allocations: 7.875 kB / 1.223 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005633/0.3412, allocations: 131.4 kB / 1.223 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001202/0.3414, allocations: 51.78 kB / 1.223 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001082/0.3415, allocations: 11.98 kB / 1.223 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.854e-05/0.3415, allocations: 27.92 kB / 1.223 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.31e-05/0.3416, allocations: 19.92 kB / 1.223 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.703e-05/0.3416, allocations: 4 kB / 1.223 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004008/0.342, allocations: 179.7 kB / 1.223 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.006e-05/0.342, allocations: 7.984 kB / 1.223 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.26e-05/0.3421, allocations: 15.88 kB / 1.223 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003134/0.3424, allocations: 151.5 kB / 1.223 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.3424, allocations: 4 kB / 1.223 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.522e-06/0.3424, allocations: 0 / 1.223 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.312e-06/0.3424, allocations: 0 / 1.223 GB, free: 10.92 MB / 0.9825 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.0006087/0.343, allocations: 406.9 kB / 1.224 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.343, allocations: 8.031 kB / 1.224 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.41e-05/0.3431, allocations: 4.938 kB / 1.224 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001301/0.3432, allocations: 168.3 kB / 1.224 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.317e-05/0.3432, allocations: 384 / 1.224 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.647e-05/0.3432, allocations: 8.375 kB / 1.224 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002751/0.3435, allocations: 82.14 kB / 1.224 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.3435, allocations: 192 / 1.224 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.3435, allocations: 3.938 kB / 1.224 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.3435, allocations: 0 / 1.224 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002932/0.3438, allocations: 71.91 kB / 1.224 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004182/0.3442, allocations: 284.7 kB / 1.224 GB, free: 9.758 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002132/0.3445, allocations: 58.47 kB / 1.224 GB, free: 9.691 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001456/0.3446, allocations: 36.91 kB / 1.225 GB, free: 9.652 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001964/0.3448, allocations: 93.09 kB / 1.225 GB, free: 9.543 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.24e-05/0.3448, allocations: 34.56 kB / 1.225 GB, free: 9.5 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.373e-06/0.3448, allocations: 4 kB / 1.225 GB, free: 9.496 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0005292/0.3454, allocations: 125.5 kB / 1.225 GB, free: 9.367 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.559e-05/0.3454, allocations: 51.41 kB / 1.225 GB, free: 9.305 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001008/0.3455, allocations: 133.7 kB / 1.225 GB, free: 9.164 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.522e-05/0.3455, allocations: 25.7 kB / 1.225 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.307e-05/0.3456, allocations: 84.14 kB / 1.225 GB, free: 9.047 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.102e-05/0.3456, allocations: 11.89 kB / 1.225 GB, free: 9.035 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.542e-05/0.3456, allocations: 17.7 kB / 1.225 GB, free: 9.012 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001114/0.3458, allocations: 318.8 kB / 1.225 GB, free: 8.691 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001398/0.3459, allocations: 27.97 kB / 1.225 GB, free: 8.664 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001283/0.346, allocations: 40.14 kB / 1.225 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002563/0.3463, allocations: 68.86 kB / 1.226 GB, free: 8.555 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.3463, allocations: 0 / 1.226 GB, free: 8.555 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003054/0.3466, allocations: 105.6 kB / 1.226 GB, free: 8.445 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.3466, allocations: 4 kB / 1.226 GB, free: 8.441 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.3466, allocations: 0 / 1.226 GB, free: 8.441 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.3466, allocations: 3.938 kB / 1.226 GB, free: 8.438 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001252/0.3467, allocations: 19.98 kB / 1.226 GB, free: 8.418 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.3468, allocations: 0 / 1.226 GB, free: 8.418 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.232e-05/0.3468, allocations: 19.97 kB / 1.226 GB, free: 8.398 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.216e-06/0.3468, allocations: 0 / 1.226 GB, free: 8.398 MB / 0.9825 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.964e-05/0.3469, allocations: 114.3 kB / 1.226 GB, free: 8.277 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.223e-05/0.347, allocations: 7.953 kB / 1.226 GB, free: 8.27 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003549/0.3473, allocations: 109.5 kB / 1.226 GB, free: 8.148 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.3473, allocations: 0 / 1.226 GB, free: 8.148 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.3473, allocations: 0 / 1.226 GB, free: 8.148 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-06/0.3473, allocations: 4 kB / 1.226 GB, free: 8.145 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001682/0.3475, allocations: 177.6 kB / 1.226 GB, free: 7.922 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.3475, allocations: 0 / 1.226 GB, free: 7.922 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.3e-05/0.3476, allocations: 15.92 kB / 1.226 GB, free: 7.906 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.3476, allocations: 0 / 1.226 GB, free: 7.906 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.29e-05/0.3476, allocations: 8 kB / 1.226 GB, free: 7.898 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.3476, allocations: 4 kB / 1.226 GB, free: 7.895 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3476, allocations: 0 / 1.226 GB, free: 7.895 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003431/0.348, allocations: 195.4 kB / 1.226 GB, free: 7.688 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.506e-05/0.348, allocations: 85.06 kB / 1.226 GB, free: 7.586 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.626e-05/0.348, allocations: 0 / 1.226 GB, free: 7.586 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001079/0.3481, allocations: 15.98 kB / 1.226 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.806e-05/0.3482, allocations: 3.984 kB / 1.226 GB, free: 7.566 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.369e-06/0.3482, allocations: 3.938 kB / 1.226 GB, free: 7.562 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.184e-05/0.3482, allocations: 99.27 kB / 1.226 GB, free: 7.465 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3482, allocations: 0 / 1.226 GB, free: 7.465 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002846/0.3485, allocations: 31.88 kB / 1.226 GB, free: 7.434 MB / 0.9825 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.0002481/0.3488, allocations: 139.1 kB / 1.227 GB, free: 7.289 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003304/0.3491, allocations: 67.92 kB / 1.227 GB, free: 7.223 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3491, allocations: 0 / 1.227 GB, free: 7.223 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001427/0.3492, allocations: 31.97 kB / 1.227 GB, free: 7.191 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002964/0.3495, allocations: 25.69 kB / 1.227 GB, free: 7.168 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003822/0.3499, allocations: 150.9 kB / 1.227 GB, free: 6.996 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002428/0.3502, allocations: 0.6885 MB / 1.228 GB, free: 6.281 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.79e-05/0.3502, allocations: 4.328 kB / 1.228 GB, free: 6.277 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.843e-05/0.3502, allocations: 11.44 kB / 1.228 GB, free: 6.266 MB / 0.9825 GB Notification: Performance of SimCode: time 4e-07/0.3502, allocations: 0 / 1.228 GB, free: 6.266 MB / 0.9825 GB Notification: Performance of Templates: time 0.004381/0.3546, allocations: 1.372 MB / 1.229 GB, free: 4.906 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.makefile (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.sim & ./Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Examples_Phi_pTX.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches