Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.DewPointTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|humRat.p|humRat.p_w|humRat.X_w|TDewPoi.T",fileNamePrefix="Buildings_9_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_9_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.001067/0.001066, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.01386/0.01386, allocations: 170.2 kB / 16.27 MB, free: 6.652 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.505/1.505, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.526/2.526, allocations: 390.9 MB / 0.6663 GB, free: 2.34 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003929/0.0003925, allocations: 12 kB / 0.8159 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9581/0.9585, allocations: 142.4 MB / 0.955 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.DewPointTemperature): time 0.001848/0.9604, allocations: 1.247 MB / 0.9563 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001266/0.9616, allocations: 0.8822 MB / 0.9571 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.558e-05/0.9617, allocations: 1.062 kB / 0.9571 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001023/0.9618, allocations: 5.094 kB / 0.9571 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.322e-05/0.9619, allocations: 12.86 kB / 0.9571 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004429/0.9623, allocations: 175.6 kB / 0.9573 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001094/0.9625, allocations: 49.77 kB / 0.9573 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001116/0.9626, allocations: 14.62 kB / 0.9574 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.278e-05/0.9626, allocations: 15.89 kB / 0.9574 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.954e-05/0.9627, allocations: 26.94 kB / 0.9574 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.321e-05/0.9627, allocations: 1.219 kB / 0.9574 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004824/0.9632, allocations: 329 kB / 0.9577 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.397e-05/0.9632, allocations: 14.3 kB / 0.9577 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.631e-05/0.9633, allocations: 44.11 kB / 0.9578 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000333/0.9636, allocations: 220.7 kB / 0.958 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.9636, allocations: 1.25 kB / 0.958 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.284e-06/0.9636, allocations: 0 / 0.958 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.446e-06/0.9636, allocations: 0 / 0.958 GB, free: 5.473 MB / 0.7169 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.0004633/0.9641, allocations: 404.6 kB / 0.9584 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/0.9642, allocations: 13.28 kB / 0.9584 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002692/0.9644, allocations: 26.31 kB / 0.9584 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001331/0.9646, allocations: 172.7 kB / 0.9586 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.157e-05/0.9646, allocations: 2.062 kB / 0.9586 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.562e-05/0.9646, allocations: 3.312 kB / 0.9586 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002178/0.9648, allocations: 79.09 kB / 0.9587 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.9649, allocations: 4.188 kB / 0.9587 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.403e-05/0.9649, allocations: 5.906 kB / 0.9587 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.9649, allocations: 0 / 0.9587 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002261/0.9651, allocations: 73.66 kB / 0.9587 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004008/0.9655, allocations: 304.9 kB / 0.959 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002182/0.9658, allocations: 77.84 kB / 0.9591 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001095/0.9659, allocations: 40.22 kB / 0.9591 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.628e-05/0.9659, allocations: 1.062 kB / 0.9591 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.929e-05/0.9659, allocations: 31.88 kB / 0.9592 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 1.182e-06/0.966, allocations: 3.938 kB / 0.9592 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5): time 0.0004386/0.9664, allocations: 135.9 kB / 0.9593 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.076e-05/0.9664, allocations: 52.78 kB / 0.9593 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.455e-05/0.9665, allocations: 111.5 kB / 0.9595 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.158e-05/0.9665, allocations: 25.7 kB / 0.9595 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.997e-05/0.9666, allocations: 93.45 kB / 0.9596 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.437e-05/0.9666, allocations: 22.48 kB / 0.9596 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.224e-05/0.9666, allocations: 11.09 kB / 0.9596 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.583e-05/0.9667, allocations: 320.2 kB / 0.9599 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001009/0.9668, allocations: 29.84 kB / 0.9599 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.153e-05/0.9669, allocations: 31.23 kB / 0.96 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002003/0.9671, allocations: 79.19 kB / 0.96 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.9671, allocations: 0 / 0.96 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002324/0.9673, allocations: 101.6 kB / 0.9601 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.9674, allocations: 5.5 kB / 0.9601 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.9674, allocations: 320 / 0.9601 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.9674, allocations: 1.812 kB / 0.9601 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009469/0.9684, allocations: 114.3 kB / 0.9603 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001059/0.9694, allocations: 1.392 MB / 0.9616 GB, free: 1.957 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.374e-05/0.9695, allocations: 14.8 kB / 0.9616 GB, free: 1.949 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.596e-06/0.9695, allocations: 1.375 kB / 0.9616 GB, free: 1.949 MB / 0.7169 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 7.965e-05/0.9696, allocations: 112.6 kB / 0.9617 GB, free: 1.832 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.82e-05/0.9697, allocations: 5.281 kB / 0.9617 GB, free: 1.828 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005666/0.9702, allocations: 156.7 kB / 0.9619 GB, free: 1.727 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.72e-06/0.9702, allocations: 3.938 kB / 0.9619 GB, free: 1.723 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.282e-06/0.9702, allocations: 5.219 kB / 0.9619 GB, free: 1.719 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.9703, allocations: 0 / 0.9619 GB, free: 1.719 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000162/0.9704, allocations: 177.9 kB / 0.9621 GB, free: 1.508 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.9704, allocations: 0 / 0.9621 GB, free: 1.508 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.344e-05/0.9705, allocations: 11.03 kB / 0.9621 GB, free: 1.508 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004442/0.971, allocations: 46.84 kB / 0.9621 GB, free: 1.48 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.216e-05/0.971, allocations: 0.875 kB / 0.9621 GB, free: 1.48 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001051/0.9721, allocations: 1.342 MB / 0.9634 GB, free: 92 kB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.9721, allocations: 0 / 0.9634 GB, free: 92 kB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006354/0.9727, allocations: 255.1 kB / 0.9637 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.436e-05/0.9728, allocations: 79.08 kB / 0.9638 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.542e-05/0.9728, allocations: 9.031 kB / 0.9638 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001048/0.9729, allocations: 9.766 kB / 0.9638 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.181e-05/0.973, allocations: 3.719 kB / 0.9638 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.258e-06/0.973, allocations: 4.953 kB / 0.9638 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.207e-05/0.9731, allocations: 85.28 kB / 0.9639 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.565e-06/0.9731, allocations: 0.9688 kB / 0.9639 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002668/0.9733, allocations: 20.94 kB / 0.9639 GB, free: 15.69 MB / 0.7325 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.0001491/0.9735, allocations: 101.2 kB / 0.964 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001136/0.9746, allocations: 160.3 kB / 0.9641 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.9746, allocations: 1.125 kB / 0.9641 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003843/0.975, allocations: 159.2 kB / 0.9643 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004006/0.9755, allocations: 20.09 kB / 0.9643 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008283/0.9763, allocations: 214.4 kB / 0.9645 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003202/0.9766, allocations: 0.6856 MB / 0.9652 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 4.193e-05/0.9767, allocations: 2.406 kB / 0.9652 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.397e-05/0.9767, allocations: 13.75 kB / 0.9652 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of SimCode: time 3.21e-07/0.9767, allocations: 0 / 0.9652 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of Templates: time 0.004235/0.981, allocations: 1.085 MB / 0.9663 GB, free: 13.96 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.DewPointTemperature.makefile (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.DewPointTemperature.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Examples.DewPointTemperature.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Examples.DewPointTemperature.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.DewPointTemperature.sim & ./Buildings_9_Buildings.Utilities.Psychrometrics.Examples.DewPointTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Psychrometrics.Examples.DewPointTemperature.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Psychrometrics.Examples.DewPointTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Psychrometrics_Examples_DewPointTemperature.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.DewPointTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches