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.001096/0.001096, allocations: 107 kB / 16.36 MB, free: 6.336 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.001154/0.001154, allocations: 193.5 kB / 17.29 MB, free: 5.883 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.324/1.324, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.414/2.414, allocations: 442.6 MB / 0.7165 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 62.47 kB / 0.8773 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3183/0.3196, allocations: 153 MB / 1.027 GB, free: 2.051 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.002664/0.3223, allocations: 1.511 MB / 1.028 GB, free: 0.5352 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001218/0.3236, allocations: 0.8068 MB / 1.029 GB, free: 15.72 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.339e-05/0.3236, allocations: 0 / 1.029 GB, free: 15.72 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.112e-05/0.3237, allocations: 3.938 kB / 1.029 GB, free: 15.72 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.3e-05/0.3237, allocations: 11.86 kB / 1.029 GB, free: 15.71 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004478/0.3242, allocations: 131.5 kB / 1.029 GB, free: 15.58 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 8.268e-05/0.3243, allocations: 55.78 kB / 1.029 GB, free: 15.52 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.3244, allocations: 12 kB / 1.029 GB, free: 15.51 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.093e-05/0.3245, allocations: 19.92 kB / 1.029 GB, free: 15.49 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.374e-05/0.3245, allocations: 35.83 kB / 1.029 GB, free: 15.46 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.543e-05/0.3245, allocations: 4 kB / 1.029 GB, free: 15.45 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003125/0.3249, allocations: 163.8 kB / 1.029 GB, free: 15.29 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.639e-05/0.3249, allocations: 7.984 kB / 1.029 GB, free: 15.29 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.228e-05/0.3249, allocations: 31.86 kB / 1.029 GB, free: 15.25 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002612/0.3252, allocations: 151.5 kB / 1.03 GB, free: 15.11 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.636e-06/0.3252, allocations: 0 / 1.03 GB, free: 15.11 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.593e-06/0.3252, allocations: 0 / 1.03 GB, free: 15.11 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 9.137e-06/0.3252, allocations: 0 / 1.03 GB, free: 15.11 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.0005416/0.3258, allocations: 396.5 kB / 1.03 GB, free: 14.67 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.3258, allocations: 8.031 kB / 1.03 GB, free: 14.66 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.834e-05/0.3259, allocations: 8.844 kB / 1.03 GB, free: 14.65 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001221/0.326, allocations: 176.3 kB / 1.03 GB, free: 14.44 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.326, allocations: 4.375 kB / 1.03 GB, free: 14.44 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.189e-05/0.326, allocations: 384 / 1.03 GB, free: 14.44 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002422/0.3263, allocations: 74.16 kB / 1.03 GB, free: 14.36 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.146e-06/0.3263, allocations: 192 / 1.03 GB, free: 14.36 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.381e-05/0.3263, allocations: 7.938 kB / 1.03 GB, free: 14.35 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.3263, allocations: 4 kB / 1.03 GB, free: 14.35 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002632/0.3266, allocations: 67.92 kB / 1.03 GB, free: 14.28 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000364/0.327, allocations: 280.8 kB / 1.031 GB, free: 13.96 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001837/0.3271, allocations: 58.47 kB / 1.031 GB, free: 13.89 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000137/0.3273, allocations: 40.92 kB / 1.031 GB, free: 13.85 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001794/0.3275, allocations: 89.09 kB / 1.031 GB, free: 13.74 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.428e-05/0.3275, allocations: 34.56 kB / 1.031 GB, free: 13.7 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.3275, allocations: 0 / 1.031 GB, free: 13.7 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0005256/0.3281, allocations: 137.5 kB / 1.031 GB, free: 13.56 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.836e-05/0.3281, allocations: 55.34 kB / 1.031 GB, free: 13.49 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001002/0.3282, allocations: 125.6 kB / 1.031 GB, free: 13.36 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.513e-05/0.3282, allocations: 29.64 kB / 1.031 GB, free: 13.32 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.921e-05/0.3283, allocations: 88.12 kB / 1.031 GB, free: 13.23 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.046e-05/0.3283, allocations: 11.81 kB / 1.031 GB, free: 13.22 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.431e-05/0.3283, allocations: 13.72 kB / 1.031 GB, free: 13.2 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001113/0.3285, allocations: 326.8 kB / 1.032 GB, free: 12.88 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000132/0.3286, allocations: 27.97 kB / 1.032 GB, free: 12.85 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001206/0.3287, allocations: 35.95 kB / 1.032 GB, free: 12.81 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002375/0.329, allocations: 69.06 kB / 1.032 GB, free: 12.74 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.329, allocations: 0 / 1.032 GB, free: 12.74 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002858/0.3293, allocations: 97.61 kB / 1.032 GB, free: 12.64 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.3293, allocations: 8 kB / 1.032 GB, free: 12.63 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.3293, allocations: 3.938 kB / 1.032 GB, free: 12.63 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.3293, allocations: 0 / 1.032 GB, free: 12.63 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001121/0.3294, allocations: 19.98 kB / 1.032 GB, free: 12.61 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.3295, allocations: 0 / 1.032 GB, free: 12.61 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.399e-05/0.3295, allocations: 15.98 kB / 1.032 GB, free: 12.59 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.304e-06/0.3295, allocations: 0 / 1.032 GB, free: 12.59 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 7.725e-05/0.3296, allocations: 113.7 kB / 1.032 GB, free: 12.47 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.104e-05/0.3297, allocations: 15.89 kB / 1.032 GB, free: 12.46 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003396/0.33, allocations: 109.5 kB / 1.032 GB, free: 12.34 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.023e-06/0.33, allocations: 0 / 1.032 GB, free: 12.34 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.33, allocations: 0 / 1.032 GB, free: 12.34 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.33, allocations: 0 / 1.032 GB, free: 12.34 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001628/0.3302, allocations: 181.6 kB / 1.032 GB, free: 12.11 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.544e-06/0.3302, allocations: 0 / 1.032 GB, free: 12.11 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.419e-05/0.3303, allocations: 15.92 kB / 1.032 GB, free: 12.1 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.3303, allocations: 0 / 1.032 GB, free: 12.1 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.796e-06/0.3303, allocations: 8 kB / 1.032 GB, free: 12.09 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.3303, allocations: 0 / 1.032 GB, free: 12.09 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.3303, allocations: 0 / 1.032 GB, free: 12.09 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003192/0.3307, allocations: 199.3 kB / 1.032 GB, free: 11.88 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.472e-05/0.3307, allocations: 85.05 kB / 1.032 GB, free: 11.78 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.489e-05/0.3307, allocations: 7.938 kB / 1.032 GB, free: 11.77 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.88e-05/0.3308, allocations: 7.984 kB / 1.032 GB, free: 11.76 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.787e-05/0.3309, allocations: 11.98 kB / 1.032 GB, free: 11.75 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-06/0.3309, allocations: 0 / 1.032 GB, free: 11.75 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.915e-05/0.331, allocations: 95.66 kB / 1.033 GB, free: 11.66 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.331, allocations: 0 / 1.033 GB, free: 11.66 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002896/0.3313, allocations: 27.98 kB / 1.033 GB, free: 11.63 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.0002047/0.3315, allocations: 135.1 kB / 1.033 GB, free: 11.48 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003364/0.3318, allocations: 67.92 kB / 1.033 GB, free: 11.42 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.3318, allocations: 0 / 1.033 GB, free: 11.42 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001387/0.332, allocations: 43.89 kB / 1.033 GB, free: 11.38 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002623/0.3322, allocations: 15.94 kB / 1.033 GB, free: 11.36 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003262/0.3326, allocations: 147.2 kB / 1.033 GB, free: 11.19 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002485/0.3328, allocations: 0.6819 MB / 1.034 GB, free: 10.48 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.266e-05/0.3329, allocations: 7.984 kB / 1.034 GB, free: 10.47 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.474e-05/0.3329, allocations: 11.44 kB / 1.034 GB, free: 10.46 MB / 0.8106 GB Notification: Performance of SimCode: time 2.4e-07/0.3329, allocations: 8 kB / 1.034 GB, free: 10.45 MB / 0.8106 GB Notification: Performance of Templates: time 0.003741/0.3367, allocations: 1.369 MB / 1.035 GB, free: 9.094 MB / 0.8106 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 -s cvode -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