Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001474/0.001474, allocations: 105.3 kB / 15.98 MB, free: 6.352 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.001324/0.001324, allocations: 195.9 kB / 16.91 MB, free: 6.188 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.41/1.41, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.725/2.725, allocations: 469.8 MB / 0.7427 GB, free: 3.633 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001938/0.001938, allocations: 74.78 kB / 0.9087 GB, free: 14.27 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3358/0.3377, allocations: 159.1 MB / 1.064 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002968/0.3407, allocations: 1.56 MB / 1.066 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.7211/1.062, allocations: 130.1 MB / 1.193 GB, free: 13.07 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.153e-05/1.062, allocations: 0 / 1.193 GB, free: 13.07 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.533e-05/1.062, allocations: 4.047 kB / 1.193 GB, free: 13.07 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 8.055e-05/1.062, allocations: 9.109 kB / 1.193 GB, free: 13.07 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004442/1.063, allocations: 57.09 kB / 1.193 GB, free: 13.04 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001175/1.063, allocations: 52.14 kB / 1.193 GB, free: 13.02 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001115/1.063, allocations: 23.25 kB / 1.193 GB, free: 13.01 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 6.467e-05/1.063, allocations: 22.53 kB / 1.193 GB, free: 13 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.324e-05/1.063, allocations: 26.27 kB / 1.193 GB, free: 12.98 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.903e-05/1.063, allocations: 7.812 kB / 1.193 GB, free: 12.98 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000102/1.063, allocations: 15.67 kB / 1.193 GB, free: 12.97 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.039e-05/1.063, allocations: 8 kB / 1.193 GB, free: 12.96 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.087e-05/1.063, allocations: 23.17 kB / 1.193 GB, free: 12.95 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001256/1.063, allocations: 41.66 kB / 1.193 GB, free: 12.92 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/1.063, allocations: 0 / 1.193 GB, free: 12.92 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.773e-06/1.063, allocations: 1.312 kB / 1.193 GB, free: 12.92 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.52e-06/1.063, allocations: 0 / 1.193 GB, free: 12.92 MB / 0.92 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.0006295/1.064, allocations: 375.9 kB / 1.193 GB, free: 12.54 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/1.064, allocations: 9.25 kB / 1.193 GB, free: 12.54 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.593e-05/1.064, allocations: 7.219 kB / 1.193 GB, free: 12.53 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001749/1.064, allocations: 171.5 kB / 1.194 GB, free: 12.33 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.038e-05/1.064, allocations: 2.656 kB / 1.194 GB, free: 12.33 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.653e-05/1.064, allocations: 2.594 kB / 1.194 GB, free: 12.33 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002839/1.065, allocations: 78.11 kB / 1.194 GB, free: 12.27 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/1.065, allocations: 192 / 1.194 GB, free: 12.27 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.4e-05/1.065, allocations: 9.281 kB / 1.194 GB, free: 12.26 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/1.065, allocations: 3.984 kB / 1.194 GB, free: 12.26 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002912/1.065, allocations: 66.45 kB / 1.194 GB, free: 12.23 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004902/1.066, allocations: 286.9 kB / 1.194 GB, free: 11.92 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002061/1.066, allocations: 53.52 kB / 1.194 GB, free: 11.88 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001511/1.066, allocations: 40.16 kB / 1.194 GB, free: 11.86 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001889/1.066, allocations: 93.22 kB / 1.194 GB, free: 11.75 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.749e-05/1.066, allocations: 34.56 kB / 1.194 GB, free: 11.71 MB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 4.419e-06/1.066, allocations: 1.375 kB / 1.194 GB, free: 11.71 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.000564/1.067, allocations: 138.5 kB / 1.194 GB, free: 11.62 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.987e-05/1.067, allocations: 59.34 kB / 1.194 GB, free: 11.55 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001231/1.067, allocations: 116.3 kB / 1.194 GB, free: 11.45 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.927e-05/1.067, allocations: 25.7 kB / 1.194 GB, free: 11.41 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.206e-05/1.067, allocations: 86.55 kB / 1.195 GB, free: 11.33 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.649e-05/1.067, allocations: 18.2 kB / 1.195 GB, free: 11.31 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.938e-05/1.067, allocations: 15.78 kB / 1.195 GB, free: 11.29 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001522/1.067, allocations: 317.1 kB / 1.195 GB, free: 10.98 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001629/1.067, allocations: 36.7 kB / 1.195 GB, free: 10.96 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001298/1.068, allocations: 29.62 kB / 1.195 GB, free: 10.95 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002702/1.068, allocations: 71.53 kB / 1.195 GB, free: 10.91 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/1.068, allocations: 0.9062 kB / 1.195 GB, free: 10.91 MB / 0.92 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003226/1.068, allocations: 98.59 kB / 1.195 GB, free: 10.84 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/1.068, allocations: 4.125 kB / 1.195 GB, free: 10.84 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/1.068, allocations: 1.375 kB / 1.195 GB, free: 10.84 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/1.068, allocations: 0 / 1.195 GB, free: 10.84 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001254/1.068, allocations: 19.22 kB / 1.195 GB, free: 10.84 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/1.068, allocations: 1.094 kB / 1.195 GB, free: 10.84 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.498e-05/1.068, allocations: 22.42 kB / 1.195 GB, free: 10.82 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.804e-06/1.068, allocations: 1.062 kB / 1.195 GB, free: 10.82 MB / 0.92 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.0001039/1.069, allocations: 114.1 kB / 1.195 GB, free: 10.7 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.925e-05/1.069, allocations: 6.406 kB / 1.195 GB, free: 10.7 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000378/1.069, allocations: 109.7 kB / 1.195 GB, free: 10.62 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/1.069, allocations: 4 kB / 1.195 GB, free: 10.62 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/1.069, allocations: 1.125 kB / 1.195 GB, free: 10.62 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/1.069, allocations: 0 / 1.195 GB, free: 10.62 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002056/1.069, allocations: 174.7 kB / 1.196 GB, free: 10.41 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/1.069, allocations: 0 / 1.196 GB, free: 10.41 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.536e-05/1.069, allocations: 14.83 kB / 1.196 GB, free: 10.4 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.711e-06/1.069, allocations: 4.734 kB / 1.196 GB, free: 10.4 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.238e-06/1.069, allocations: 1.125 kB / 1.196 GB, free: 10.4 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/1.069, allocations: 0 / 1.196 GB, free: 10.4 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/1.069, allocations: 1.438 kB / 1.196 GB, free: 10.4 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000428/1.07, allocations: 209.1 kB / 1.196 GB, free: 10.22 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.845e-05/1.07, allocations: 82.36 kB / 1.196 GB, free: 10.12 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.776e-05/1.07, allocations: 5.156 kB / 1.196 GB, free: 10.12 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001098/1.07, allocations: 13.69 kB / 1.196 GB, free: 10.11 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.931e-05/1.07, allocations: 10.53 kB / 1.196 GB, free: 10.11 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.781e-06/1.07, allocations: 1.125 kB / 1.196 GB, free: 10.11 MB / 0.92 GB Notification: Performance of sorting global known variables: time 7.282e-05/1.07, allocations: 92.39 kB / 1.196 GB, free: 10.02 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.1e-07/1.07, allocations: 0 / 1.196 GB, free: 10.02 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.000266/1.07, allocations: 15.41 kB / 1.196 GB, free: 10.02 MB / 0.92 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.000181/1.071, allocations: 110.5 kB / 1.196 GB, free: 9.926 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0003524/1.071, allocations: 74.39 kB / 1.196 GB, free: 9.891 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/1.071, allocations: 5.344 kB / 1.196 GB, free: 9.887 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001466/1.071, allocations: 36.2 kB / 1.196 GB, free: 9.871 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003284/1.072, allocations: 12.47 kB / 1.196 GB, free: 9.867 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004198/1.072, allocations: 198.3 kB / 1.196 GB, free: 9.68 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003405/1.072, allocations: 0.6804 MB / 1.197 GB, free: 8.98 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.677e-05/1.072, allocations: 11.41 kB / 1.197 GB, free: 8.977 MB / 0.92 GB Notification: Performance of SimCode: time 2.4e-07/1.072, allocations: 0 / 1.197 GB, free: 8.977 MB / 0.92 GB Notification: Performance of Templates: time 0.003119/1.075, allocations: 0.9402 MB / 1.198 GB, free: 8.508 MB / 0.92 GB make -j1 -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.makefile (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.sim & ./Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Density_pTX -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Density_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Examples_Density_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches