Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.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.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|X_w|phi",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|X_w|phi",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00136/0.001361, allocations: 108 kB / 16.36 MB, free: 5.824 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.001693/0.001693, allocations: 189.4 kB / 17.29 MB, free: 5.48 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.334/1.334, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.39/2.39, allocations: 442.6 MB / 0.7165 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001289/0.00129, allocations: 64.25 kB / 0.8773 GB, free: 11 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3346/0.3359, allocations: 153 MB / 1.027 GB, free: 2.078 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002406/0.3384, allocations: 1.279 MB / 1.028 GB, free: 0.7891 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001267/0.3397, allocations: 0.8365 MB / 1.029 GB, free: 15.95 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.139e-05/0.3397, allocations: 0 / 1.029 GB, free: 15.95 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.71e-05/0.3397, allocations: 0 / 1.029 GB, free: 15.95 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.204e-05/0.3398, allocations: 3.938 kB / 1.029 GB, free: 15.95 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004706/0.3403, allocations: 123.4 kB / 1.029 GB, free: 15.82 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.569e-05/0.3403, allocations: 31.86 kB / 1.029 GB, free: 15.79 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.459e-05/0.3404, allocations: 11.97 kB / 1.029 GB, free: 15.78 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.133e-05/0.3404, allocations: 8 kB / 1.029 GB, free: 15.77 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.29e-05/0.3405, allocations: 15.92 kB / 1.029 GB, free: 15.76 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.35e-05/0.3405, allocations: 0 / 1.029 GB, free: 15.76 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003061/0.3408, allocations: 171.7 kB / 1.029 GB, free: 15.59 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.756e-05/0.3409, allocations: 4 kB / 1.029 GB, free: 15.59 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.602e-05/0.3409, allocations: 7.938 kB / 1.029 GB, free: 15.58 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002376/0.3411, allocations: 119.7 kB / 1.029 GB, free: 15.46 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.3411, allocations: 0 / 1.029 GB, free: 15.46 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.134e-06/0.3412, allocations: 4 kB / 1.029 GB, free: 15.46 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.302e-06/0.3412, allocations: 0 / 1.029 GB, free: 15.46 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004482/0.3416, allocations: 359.4 kB / 1.03 GB, free: 15.05 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.3417, allocations: 8.031 kB / 1.03 GB, free: 15.05 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.468e-05/0.3417, allocations: 4.938 kB / 1.03 GB, free: 15.04 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000138/0.3419, allocations: 172.3 kB / 1.03 GB, free: 14.84 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.872e-05/0.3419, allocations: 34.25 kB / 1.03 GB, free: 14.8 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.997e-06/0.342, allocations: 384 / 1.03 GB, free: 14.8 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001315/0.3421, allocations: 50.19 kB / 1.03 GB, free: 14.74 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.3421, allocations: 3.938 kB / 1.03 GB, free: 14.74 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.788e-06/0.3421, allocations: 0 / 1.03 GB, free: 14.74 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.3421, allocations: 0 / 1.03 GB, free: 14.74 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.703e-05/0.3422, allocations: 19.98 kB / 1.03 GB, free: 14.72 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000169/0.3424, allocations: 157.7 kB / 1.03 GB, free: 14.52 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000193/0.3426, allocations: 46.61 kB / 1.03 GB, free: 14.46 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.589e-05/0.3427, allocations: 20.94 kB / 1.03 GB, free: 14.44 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002882/0.343, allocations: 190.1 kB / 1.03 GB, free: 14.21 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.673e-05/0.343, allocations: 30.56 kB / 1.03 GB, free: 14.18 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.343, allocations: 0 / 1.03 GB, free: 14.18 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0002442/0.3433, allocations: 69.61 kB / 1.03 GB, free: 14.1 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.799e-05/0.3433, allocations: 55.41 kB / 1.03 GB, free: 14.04 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.748e-05/0.3434, allocations: 93.86 kB / 1.031 GB, free: 13.93 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.783e-05/0.3434, allocations: 29.7 kB / 1.031 GB, free: 13.9 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.4e-05/0.3435, allocations: 80.14 kB / 1.031 GB, free: 13.82 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.298e-05/0.3435, allocations: 15.8 kB / 1.031 GB, free: 13.8 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.275e-05/0.3435, allocations: 21.66 kB / 1.031 GB, free: 13.77 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001116/0.3437, allocations: 310.8 kB / 1.031 GB, free: 13.46 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.973e-05/0.3437, allocations: 11.98 kB / 1.031 GB, free: 13.45 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.839e-05/0.3438, allocations: 15.94 kB / 1.031 GB, free: 13.43 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.398e-05/0.3438, allocations: 28.84 kB / 1.031 GB, free: 13.4 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.3439, allocations: 0 / 1.031 GB, free: 13.4 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000128/0.344, allocations: 58.19 kB / 1.031 GB, free: 13.34 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.344, allocations: 10.28 kB / 1.031 GB, free: 13.33 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.344, allocations: 0 / 1.031 GB, free: 13.33 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.344, allocations: 0 / 1.031 GB, free: 13.33 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.292e-05/0.3441, allocations: 8 kB / 1.031 GB, free: 13.32 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.3441, allocations: 4 kB / 1.031 GB, free: 13.32 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.094e-05/0.3441, allocations: 3.938 kB / 1.031 GB, free: 13.32 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.753e-06/0.3442, allocations: 7.938 kB / 1.031 GB, free: 13.31 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 (4): * Single equations (assignments): 4 * 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.751e-05/0.3442, allocations: 117.8 kB / 1.031 GB, free: 13.18 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.302e-05/0.3443, allocations: 7.844 kB / 1.031 GB, free: 13.18 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001875/0.3444, allocations: 69.16 kB / 1.031 GB, free: 13.09 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.3445, allocations: 0 / 1.031 GB, free: 13.09 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.3445, allocations: 4 kB / 1.031 GB, free: 13.09 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.3445, allocations: 0 / 1.031 GB, free: 13.09 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000124/0.3446, allocations: 157.7 kB / 1.031 GB, free: 12.89 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.3446, allocations: 0 / 1.031 GB, free: 12.89 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.188e-05/0.3447, allocations: 4 kB / 1.031 GB, free: 12.88 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.301e-06/0.3447, allocations: 7.938 kB / 1.031 GB, free: 12.88 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.406e-06/0.3447, allocations: 3.984 kB / 1.031 GB, free: 12.87 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.3447, allocations: 3.938 kB / 1.031 GB, free: 12.87 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.3447, allocations: 0 / 1.031 GB, free: 12.87 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001428/0.3448, allocations: 81.12 kB / 1.032 GB, free: 12.77 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 7.263e-05/0.3449, allocations: 85.09 kB / 1.032 GB, free: 12.67 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.592e-05/0.345, allocations: 7.938 kB / 1.032 GB, free: 12.66 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.261e-05/0.345, allocations: 0 / 1.032 GB, free: 12.66 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.554e-05/0.345, allocations: 7.984 kB / 1.032 GB, free: 12.65 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.689e-06/0.3451, allocations: 0 / 1.032 GB, free: 12.65 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.264e-05/0.3451, allocations: 79.22 kB / 1.032 GB, free: 12.57 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3451, allocations: 4 kB / 1.032 GB, free: 12.57 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002285/0.3453, allocations: 39.94 kB / 1.032 GB, free: 12.53 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 (4): * Single equations (assignments): 4 * 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.0002353/0.3456, allocations: 139.1 kB / 1.032 GB, free: 12.39 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001505/0.3457, allocations: 31.91 kB / 1.032 GB, free: 12.36 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.3457, allocations: 0 / 1.032 GB, free: 12.36 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 5.86e-05/0.3458, allocations: 16 kB / 1.032 GB, free: 12.34 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002252/0.346, allocations: 11.98 kB / 1.032 GB, free: 12.33 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003088/0.3464, allocations: 138 kB / 1.032 GB, free: 12.17 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002834/0.3467, allocations: 0.6729 MB / 1.033 GB, free: 11.47 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.669e-05/0.3467, allocations: 7.844 kB / 1.033 GB, free: 11.46 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.911e-05/0.3467, allocations: 15.44 kB / 1.033 GB, free: 11.45 MB / 0.8106 GB Notification: Performance of SimCode: time 2.31e-07/0.3467, allocations: 0 / 1.033 GB, free: 11.45 MB / 0.8106 GB Notification: Performance of Templates: time 0.003303/0.35, allocations: 1.06 MB / 1.034 GB, free: 10.39 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.makefile (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches