Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Density_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Density_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|den.d",fileNamePrefix="Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Density_pTX") translateModel(Buildings.Utilities.Psychrometrics.Examples.Density_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|den.d",fileNamePrefix="Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Density_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001775/0.001775, allocations: 107.3 kB / 16.41 MB, free: 6.504 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.001984/0.001984, allocations: 191.8 kB / 17.34 MB, free: 5.762 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.422/1.422, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.629/2.629, allocations: 437.1 MB / 0.7112 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001872/0.001872, allocations: 59.89 kB / 1.019 GB, free: 9.375 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8736/0.8755, allocations: 151.6 MB / 1.167 GB, free: 3.793 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002716/0.8782, allocations: 1.512 MB / 1.169 GB, free: 2.273 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.1692/1.047, allocations: 132.1 MB / 1.298 GB, free: 13.68 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.796e-05/1.048, allocations: 0 / 1.298 GB, free: 13.68 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 4.585e-05/1.048, allocations: 3.938 kB / 1.298 GB, free: 13.68 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 7.448e-05/1.048, allocations: 15.84 kB / 1.298 GB, free: 13.66 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004776/1.048, allocations: 67.72 kB / 1.298 GB, free: 13.6 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001301/1.048, allocations: 55.8 kB / 1.298 GB, free: 13.54 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001145/1.049, allocations: 15.98 kB / 1.298 GB, free: 13.53 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 5.869e-05/1.049, allocations: 15.98 kB / 1.298 GB, free: 13.51 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 6.053e-05/1.049, allocations: 27.84 kB / 1.298 GB, free: 13.48 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.78e-05/1.049, allocations: 4 kB / 1.298 GB, free: 13.48 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 9.425e-05/1.049, allocations: 23.92 kB / 1.298 GB, free: 13.46 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.663e-05/1.049, allocations: 7.984 kB / 1.298 GB, free: 13.45 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 4.431e-05/1.049, allocations: 23.88 kB / 1.298 GB, free: 13.43 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001616/1.049, allocations: 64.31 kB / 1.298 GB, free: 13.37 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/1.049, allocations: 0 / 1.298 GB, free: 13.37 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.054e-06/1.049, allocations: 0 / 1.298 GB, free: 13.37 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.052e-06/1.049, allocations: 0 / 1.298 GB, free: 13.37 MB / 1.029 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.000594/1.05, allocations: 375.2 kB / 1.298 GB, free: 12.95 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/1.05, allocations: 8.922 kB / 1.298 GB, free: 12.94 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.389e-05/1.05, allocations: 8.891 kB / 1.298 GB, free: 12.93 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001543/1.05, allocations: 172.3 kB / 1.299 GB, free: 12.73 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.69e-05/1.05, allocations: 8.375 kB / 1.299 GB, free: 12.72 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.081e-05/1.05, allocations: 4.312 kB / 1.299 GB, free: 12.71 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00027/1.05, allocations: 78.14 kB / 1.299 GB, free: 12.63 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/1.05, allocations: 4.172 kB / 1.299 GB, free: 12.63 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.423e-05/1.05, allocations: 3.938 kB / 1.299 GB, free: 12.62 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/1.05, allocations: 4 kB / 1.299 GB, free: 12.62 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003033/1.051, allocations: 71.92 kB / 1.299 GB, free: 12.55 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004303/1.051, allocations: 280.8 kB / 1.299 GB, free: 12.23 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001999/1.051, allocations: 54.48 kB / 1.299 GB, free: 12.16 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001505/1.051, allocations: 44.91 kB / 1.299 GB, free: 12.12 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001746/1.052, allocations: 89.09 kB / 1.299 GB, free: 12.01 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.163e-05/1.052, allocations: 30.56 kB / 1.299 GB, free: 11.97 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.272e-06/1.052, allocations: 0 / 1.299 GB, free: 11.97 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0005452/1.052, allocations: 137.5 kB / 1.299 GB, free: 11.83 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.508e-05/1.052, allocations: 55.39 kB / 1.299 GB, free: 11.77 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001103/1.052, allocations: 113.8 kB / 1.3 GB, free: 11.64 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.813e-05/1.052, allocations: 29.64 kB / 1.3 GB, free: 11.61 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.183e-05/1.052, allocations: 92.09 kB / 1.3 GB, free: 11.52 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.138e-05/1.052, allocations: 7.953 kB / 1.3 GB, free: 11.51 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.691e-05/1.053, allocations: 13.7 kB / 1.3 GB, free: 11.49 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001502/1.053, allocations: 326.8 kB / 1.3 GB, free: 11.16 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000142/1.053, allocations: 31.95 kB / 1.3 GB, free: 11.13 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001278/1.053, allocations: 31.97 kB / 1.3 GB, free: 11.1 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002702/1.053, allocations: 68.78 kB / 1.3 GB, free: 11.03 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/1.053, allocations: 0 / 1.3 GB, free: 11.03 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003159/1.054, allocations: 101.5 kB / 1.3 GB, free: 10.92 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/1.054, allocations: 8 kB / 1.3 GB, free: 10.91 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/1.054, allocations: 0 / 1.3 GB, free: 10.91 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/1.054, allocations: 0 / 1.3 GB, free: 10.91 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001204/1.054, allocations: 19.98 kB / 1.3 GB, free: 10.89 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.907e-06/1.054, allocations: 3.984 kB / 1.3 GB, free: 10.89 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.785e-05/1.054, allocations: 15.92 kB / 1.3 GB, free: 10.88 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.295e-06/1.054, allocations: 0 / 1.3 GB, free: 10.88 MB / 1.029 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 0.0001017/1.054, allocations: 113.8 kB / 1.3 GB, free: 10.75 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.233e-05/1.054, allocations: 11.95 kB / 1.3 GB, free: 10.74 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000379/1.054, allocations: 109.5 kB / 1.3 GB, free: 10.62 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/1.054, allocations: 0 / 1.3 GB, free: 10.62 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/1.054, allocations: 3.938 kB / 1.3 GB, free: 10.62 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.786e-06/1.054, allocations: 0 / 1.3 GB, free: 10.62 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002399/1.055, allocations: 181.6 kB / 1.301 GB, free: 10.39 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/1.055, allocations: 384 / 1.301 GB, free: 10.39 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.921e-05/1.055, allocations: 11.98 kB / 1.301 GB, free: 10.38 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/1.055, allocations: 0 / 1.301 GB, free: 10.38 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.096e-05/1.055, allocations: 11.94 kB / 1.301 GB, free: 10.37 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.072e-06/1.055, allocations: 3.984 kB / 1.301 GB, free: 10.36 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/1.055, allocations: 0 / 1.301 GB, free: 10.36 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000401/1.055, allocations: 195.4 kB / 1.301 GB, free: 10.16 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.528e-05/1.055, allocations: 85.06 kB / 1.301 GB, free: 10.05 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.626e-05/1.055, allocations: 4 kB / 1.301 GB, free: 10.05 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001037/1.055, allocations: 11.97 kB / 1.301 GB, free: 10.04 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.139e-05/1.055, allocations: 8 kB / 1.301 GB, free: 10.03 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.745e-06/1.056, allocations: 0 / 1.301 GB, free: 10.03 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.38e-05/1.056, allocations: 99.2 kB / 1.301 GB, free: 9.934 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.6e-07/1.056, allocations: 3.938 kB / 1.301 GB, free: 9.93 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000234/1.056, allocations: 15.94 kB / 1.301 GB, free: 9.914 MB / 1.029 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.0001771/1.056, allocations: 107.2 kB / 1.301 GB, free: 9.801 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003529/1.056, allocations: 67.92 kB / 1.301 GB, free: 9.734 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/1.056, allocations: 0 / 1.301 GB, free: 9.734 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001454/1.057, allocations: 35.95 kB / 1.301 GB, free: 9.699 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003225/1.057, allocations: 19.94 kB / 1.301 GB, free: 9.68 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000436/1.057, allocations: 159.5 kB / 1.301 GB, free: 9.5 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004056/1.058, allocations: 0.6807 MB / 1.302 GB, free: 8.793 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.015e-05/1.058, allocations: 7.984 kB / 1.302 GB, free: 8.785 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.891e-05/1.058, allocations: 7.438 kB / 1.302 GB, free: 8.777 MB / 1.029 GB Notification: Performance of SimCode: time 2.51e-07/1.058, allocations: 4 kB / 1.302 GB, free: 8.773 MB / 1.029 GB Notification: Performance of Templates: time 0.004096/1.062, allocations: 1.001 MB / 1.303 GB, free: 7.785 MB / 1.029 GB make -j1 -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.makefile (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.sim & ./Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Density_pTX -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Density_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Examples_Density_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches