Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.DewPointTemperature.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.DewPointTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|humRat.p|humRat.p_w|humRat.X_w|TDewPoi.T",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.DewPointTemperature") translateModel(Buildings.Utilities.Psychrometrics.Examples.DewPointTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|humRat.p|humRat.p_w|humRat.X_w|TDewPoi.T",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.DewPointTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001555/0.001556, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002208/0.002208, allocations: 198.4 kB / 16.14 MB, free: 6.648 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.378/1.378, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.738/2.738, allocations: 472.6 MB / 0.7447 GB, free: 4.922 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001383/0.001383, allocations: 66.41 kB / 0.9114 GB, free: 33.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3523/0.3537, allocations: 159.9 MB / 1.068 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.DewPointTemperature): time 0.002873/0.3566, allocations: 1.588 MB / 1.069 GB, free: 9.305 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001403/0.358, allocations: 0.8955 MB / 1.07 GB, free: 8.406 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.238e-05/0.3581, allocations: 0 / 1.07 GB, free: 8.406 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001064/0.3583, allocations: 7.938 kB / 1.07 GB, free: 8.398 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.063e-05/0.3583, allocations: 7.922 kB / 1.07 GB, free: 8.391 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004494/0.3588, allocations: 171.3 kB / 1.07 GB, free: 8.223 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.252e-05/0.3589, allocations: 59.72 kB / 1.07 GB, free: 8.164 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.133e-05/0.359, allocations: 8 kB / 1.07 GB, free: 8.156 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.841e-05/0.359, allocations: 23.91 kB / 1.07 GB, free: 8.133 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.972e-05/0.3591, allocations: 19.92 kB / 1.07 GB, free: 8.113 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.305e-05/0.3591, allocations: 7.938 kB / 1.07 GB, free: 8.105 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005417/0.3596, allocations: 331.5 kB / 1.071 GB, free: 7.781 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.798e-05/0.3597, allocations: 15.92 kB / 1.071 GB, free: 7.766 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.325e-05/0.3597, allocations: 15.94 kB / 1.071 GB, free: 7.75 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003563/0.3601, allocations: 223.8 kB / 1.071 GB, free: 7.531 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.3601, allocations: 4 kB / 1.071 GB, free: 7.527 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.262e-06/0.3601, allocations: 0 / 1.071 GB, free: 7.527 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.128e-06/0.3601, allocations: 0 / 1.071 GB, free: 7.527 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005638/0.3607, allocations: 403.3 kB / 1.071 GB, free: 7.082 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/0.3607, allocations: 8.031 kB / 1.071 GB, free: 7.074 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003184/0.361, allocations: 28.81 kB / 1.071 GB, free: 7.047 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001656/0.3612, allocations: 180.2 kB / 1.071 GB, free: 6.832 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.794e-05/0.3612, allocations: 4.375 kB / 1.071 GB, free: 6.828 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.538e-05/0.3613, allocations: 4.375 kB / 1.071 GB, free: 6.824 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000224/0.3615, allocations: 70.22 kB / 1.071 GB, free: 6.75 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.3615, allocations: 192 / 1.071 GB, free: 6.75 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.567e-05/0.3615, allocations: 7.938 kB / 1.071 GB, free: 6.742 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.3615, allocations: 0 / 1.071 GB, free: 6.742 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002288/0.3618, allocations: 71.86 kB / 1.072 GB, free: 6.672 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004888/0.3623, allocations: 304.7 kB / 1.072 GB, free: 6.324 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002301/0.3625, allocations: 74.7 kB / 1.072 GB, free: 6.242 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001114/0.3626, allocations: 32.83 kB / 1.072 GB, free: 6.207 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.736e-05/0.3627, allocations: 4 kB / 1.072 GB, free: 6.203 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.576e-05/0.3627, allocations: 30.56 kB / 1.072 GB, free: 6.164 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/0.3627, allocations: 0 / 1.072 GB, free: 6.164 MB / 0.8262 GB Notification: Performance of matching and sorting (n=5): time 0.00042/0.3631, allocations: 121.5 kB / 1.072 GB, free: 6.039 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.958e-05/0.3632, allocations: 51.41 kB / 1.072 GB, free: 5.977 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001009/0.3633, allocations: 109.8 kB / 1.072 GB, free: 5.859 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.818e-05/0.3633, allocations: 29.7 kB / 1.072 GB, free: 5.824 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.725e-05/0.3634, allocations: 80.14 kB / 1.072 GB, free: 5.742 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.011e-05/0.3634, allocations: 23.69 kB / 1.072 GB, free: 5.719 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.603e-05/0.3635, allocations: 21.7 kB / 1.072 GB, free: 5.691 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001949/0.3637, allocations: 318.8 kB / 1.073 GB, free: 5.371 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001041/0.3638, allocations: 27.97 kB / 1.073 GB, free: 5.344 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.927e-05/0.3639, allocations: 23.98 kB / 1.073 GB, free: 5.32 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001904/0.3641, allocations: 57.19 kB / 1.073 GB, free: 5.262 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.626e-06/0.3641, allocations: 7.938 kB / 1.073 GB, free: 5.254 MB / 0.8262 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002501/0.3643, allocations: 97.56 kB / 1.073 GB, free: 5.152 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.534e-05/0.3644, allocations: 5.875 kB / 1.073 GB, free: 5.148 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.3644, allocations: 0 / 1.073 GB, free: 5.148 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.3644, allocations: 0 / 1.073 GB, free: 5.148 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001088/0.3655, allocations: 123.8 kB / 1.073 GB, free: 5.027 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001623/0.3671, allocations: 1.374 MB / 1.074 GB, free: 3.516 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.065e-05/0.3672, allocations: 11.95 kB / 1.074 GB, free: 3.504 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.486e-06/0.3672, allocations: 0 / 1.074 GB, free: 3.504 MB / 0.8262 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 (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.976e-05/0.3674, allocations: 113.8 kB / 1.074 GB, free: 3.383 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.87e-05/0.3674, allocations: 8.094 kB / 1.075 GB, free: 3.375 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006337/0.368, allocations: 146.2 kB / 1.075 GB, free: 3.223 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-06/0.368, allocations: 11.94 kB / 1.075 GB, free: 3.211 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.374e-06/0.3681, allocations: 0 / 1.075 GB, free: 3.211 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.3681, allocations: 3.938 kB / 1.075 GB, free: 3.207 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002184/0.3683, allocations: 181.6 kB / 1.075 GB, free: 2.98 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.3683, allocations: 48 / 1.075 GB, free: 2.98 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.382e-05/0.3684, allocations: 15.97 kB / 1.075 GB, free: 2.965 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004418/0.3688, allocations: 40.83 kB / 1.075 GB, free: 2.922 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.198e-06/0.3689, allocations: 4 kB / 1.075 GB, free: 2.918 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00125/0.3701, allocations: 1.352 MB / 1.076 GB, free: 1.422 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.3701, allocations: 3.938 kB / 1.076 GB, free: 1.418 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005512/0.3707, allocations: 224.3 kB / 1.076 GB, free: 1.18 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.417e-05/0.3707, allocations: 81.11 kB / 1.077 GB, free: 1.082 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.116e-05/0.3708, allocations: 0 / 1.077 GB, free: 1.082 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001088/0.3709, allocations: 11.98 kB / 1.077 GB, free: 1.07 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.299e-05/0.3709, allocations: 7.984 kB / 1.077 GB, free: 1.062 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.5e-06/0.3709, allocations: 0 / 1.077 GB, free: 1.062 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.321e-05/0.371, allocations: 91.28 kB / 1.077 GB, free: 0.9727 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.371, allocations: 0 / 1.077 GB, free: 0.9727 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002574/0.3713, allocations: 12 kB / 1.077 GB, free: 0.9609 MB / 0.8262 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 (5): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001521/0.3714, allocations: 107.9 kB / 1.077 GB, free: 0.8477 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001141/0.3726, allocations: 151.9 kB / 1.077 GB, free: 0.6992 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.3726, allocations: 0 / 1.077 GB, free: 0.6992 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0003338/0.3729, allocations: 150.7 kB / 1.077 GB, free: 0.5391 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003684/0.3733, allocations: 19.86 kB / 1.077 GB, free: 0.5195 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007432/0.3741, allocations: 221.4 kB / 1.077 GB, free: 284 kB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002883/0.3744, allocations: 0.6848 MB / 1.078 GB, free: 15.57 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 4.858e-05/0.3744, allocations: 8 kB / 1.078 GB, free: 15.56 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.808e-05/0.3745, allocations: 7.438 kB / 1.078 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of SimCode: time 3.61e-07/0.3745, allocations: 0 / 1.078 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of Templates: time 0.003792/0.3783, allocations: 1.099 MB / 1.079 GB, free: 14.46 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.DewPointTemperature.makefile (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.DewPointTemperature.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.DewPointTemperature.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.DewPointTemperature.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.DewPointTemperature.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.DewPointTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.DewPointTemperature.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.DewPointTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_DewPointTemperature.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.DewPointTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches