Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Psychrometrics.Functions.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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|X_w|d",fileNamePrefix="Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|X_w|d",fileNamePrefix="Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001231/0.001231, allocations: 86.88 kB / 15.06 MB, free: 1.09 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.002103/0.002103, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.47/1.47, allocations: 223.2 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.715/2.715, allocations: 437.7 MB / 0.7117 GB, free: 7.066 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0005125/0.0005125, allocations: 15.94 kB / 0.8722 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8799/0.8804, allocations: 153.8 MB / 1.022 GB, free: 20 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.00158/0.8821, allocations: 0.9994 MB / 1.023 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1595/1.042, allocations: 119.6 MB / 1.14 GB, free: 7.09 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.926e-05/1.042, allocations: 0 / 1.14 GB, free: 7.09 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.302e-05/1.042, allocations: 7.938 kB / 1.14 GB, free: 7.082 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 6.188e-05/1.042, allocations: 3.984 kB / 1.14 GB, free: 7.078 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003242/1.042, allocations: 43.8 kB / 1.14 GB, free: 7.035 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 7.373e-05/1.042, allocations: 19.88 kB / 1.14 GB, free: 7.016 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 5.509e-05/1.042, allocations: 7.984 kB / 1.14 GB, free: 7.008 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 4.479e-05/1.042, allocations: 8 kB / 1.14 GB, free: 7 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 5.956e-05/1.042, allocations: 7.938 kB / 1.14 GB, free: 6.992 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.309e-05/1.042, allocations: 0 / 1.14 GB, free: 6.992 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 7.651e-05/1.042, allocations: 15.98 kB / 1.14 GB, free: 6.977 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.081e-05/1.042, allocations: 0 / 1.14 GB, free: 6.977 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.916e-05/1.043, allocations: 29.7 kB / 1.14 GB, free: 6.941 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 8.38e-05/1.043, allocations: 29.75 kB / 1.14 GB, free: 6.918 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/1.043, allocations: 0 / 1.14 GB, free: 6.918 MB / 0.8887 GB Notification: Performance of FrontEnd: time 4.067e-06/1.043, allocations: 4 kB / 1.14 GB, free: 6.914 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.518e-06/1.043, allocations: 3.938 kB / 1.14 GB, free: 6.91 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004007/1.043, allocations: 331.3 kB / 1.141 GB, free: 6.539 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/1.043, allocations: 8.031 kB / 1.141 GB, free: 6.531 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.58e-05/1.043, allocations: 4 kB / 1.141 GB, free: 6.527 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002004/1.043, allocations: 159.1 kB / 1.141 GB, free: 6.332 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.875e-05/1.043, allocations: 37.64 kB / 1.141 GB, free: 6.289 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.16e-05/1.043, allocations: 4 kB / 1.141 GB, free: 6.285 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001284/1.044, allocations: 37.67 kB / 1.141 GB, free: 6.242 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.004e-06/1.044, allocations: 4 kB / 1.141 GB, free: 6.238 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/1.044, allocations: 4 kB / 1.141 GB, free: 6.234 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.279e-06/1.044, allocations: 0 / 1.141 GB, free: 6.234 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.348e-05/1.044, allocations: 15.98 kB / 1.141 GB, free: 6.219 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001784/1.044, allocations: 157.7 kB / 1.141 GB, free: 6.016 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 9.399e-05/1.044, allocations: 30.53 kB / 1.141 GB, free: 5.977 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.769e-05/1.044, allocations: 12.94 kB / 1.141 GB, free: 5.961 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001716/1.044, allocations: 93.09 kB / 1.141 GB, free: 5.852 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.439e-05/1.044, allocations: 34.56 kB / 1.141 GB, free: 5.809 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/1.044, allocations: 0 / 1.141 GB, free: 5.809 MB / 0.8887 GB Notification: Performance of matching and sorting (n=3): time 0.0002386/1.044, allocations: 61.53 kB / 1.141 GB, free: 5.742 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.032e-05/1.045, allocations: 55.34 kB / 1.141 GB, free: 5.676 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.856e-05/1.045, allocations: 97.84 kB / 1.141 GB, free: 5.57 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.781e-05/1.045, allocations: 25.7 kB / 1.141 GB, free: 5.539 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 2.917e-05/1.045, allocations: 84.14 kB / 1.142 GB, free: 5.453 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.654e-05/1.045, allocations: 11.91 kB / 1.142 GB, free: 5.441 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.146e-06/1.045, allocations: 0 / 1.142 GB, free: 5.441 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001296/1.045, allocations: 314.8 kB / 1.142 GB, free: 5.125 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.877e-05/1.045, allocations: 4 kB / 1.142 GB, free: 5.121 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.192e-05/1.045, allocations: 8 kB / 1.142 GB, free: 5.113 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.964e-05/1.045, allocations: 7.984 kB / 1.142 GB, free: 5.105 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.572e-06/1.045, allocations: 0 / 1.142 GB, free: 5.105 MB / 0.8887 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001171/1.045, allocations: 57.64 kB / 1.142 GB, free: 5.043 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/1.045, allocations: 7.938 kB / 1.142 GB, free: 5.035 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/1.045, allocations: 3.938 kB / 1.142 GB, free: 5.031 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.087e-05/1.045, allocations: 0 / 1.142 GB, free: 5.031 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.437e-05/1.045, allocations: 11.98 kB / 1.142 GB, free: 5.02 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/1.045, allocations: 0 / 1.142 GB, free: 5.02 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.859e-05/1.045, allocations: 3.938 kB / 1.142 GB, free: 5.016 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-06/1.045, allocations: 0 / 1.142 GB, free: 5.016 MB / 0.8887 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.115e-05/1.045, allocations: 121.8 kB / 1.142 GB, free: 4.887 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.786e-06/1.045, allocations: 3.953 kB / 1.142 GB, free: 4.883 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001556/1.046, allocations: 53.69 kB / 1.142 GB, free: 4.82 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/1.046, allocations: 4 kB / 1.142 GB, free: 4.816 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/1.046, allocations: 0 / 1.142 GB, free: 4.816 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/1.046, allocations: 0 / 1.142 GB, free: 4.816 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001005/1.046, allocations: 157.6 kB / 1.142 GB, free: 4.613 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/1.046, allocations: 48 / 1.142 GB, free: 4.613 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.789e-05/1.046, allocations: 11.92 kB / 1.142 GB, free: 4.602 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/1.046, allocations: 4 kB / 1.142 GB, free: 4.598 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.688e-06/1.046, allocations: 7.938 kB / 1.142 GB, free: 4.59 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/1.046, allocations: 4 kB / 1.142 GB, free: 4.586 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/1.046, allocations: 0 / 1.142 GB, free: 4.586 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000126/1.046, allocations: 69.12 kB / 1.142 GB, free: 4.5 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 5.592e-05/1.046, allocations: 85.09 kB / 1.142 GB, free: 4.398 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.455e-05/1.046, allocations: 4 kB / 1.142 GB, free: 4.395 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.973e-05/1.046, allocations: 7.953 kB / 1.142 GB, free: 4.387 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.225e-05/1.046, allocations: 4 kB / 1.142 GB, free: 4.383 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.735e-06/1.046, allocations: 0 / 1.142 GB, free: 4.383 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 4.132e-05/1.046, allocations: 87.27 kB / 1.143 GB, free: 4.297 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.11e-07/1.046, allocations: 0 / 1.143 GB, free: 4.297 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0001919/1.046, allocations: 8 kB / 1.143 GB, free: 4.289 MB / 0.8887 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001683/1.047, allocations: 111.2 kB / 1.143 GB, free: 4.172 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0001427/1.047, allocations: 23.92 kB / 1.143 GB, free: 4.148 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/1.047, allocations: 4 kB / 1.143 GB, free: 4.145 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 5.122e-05/1.047, allocations: 8 kB / 1.143 GB, free: 4.137 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002317/1.047, allocations: 7.984 kB / 1.143 GB, free: 4.129 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000285/1.047, allocations: 140.4 kB / 1.143 GB, free: 3.961 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002465/1.048, allocations: 0.677 MB / 1.143 GB, free: 3.258 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 4.049e-05/1.048, allocations: 8 kB / 1.144 GB, free: 3.25 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.74e-05/1.048, allocations: 7.438 kB / 1.144 GB, free: 3.242 MB / 0.8887 GB Notification: Performance of SimCode: time 2.21e-07/1.048, allocations: 0 / 1.144 GB, free: 3.242 MB / 0.8887 GB Notification: Performance of Templates: time 0.002564/1.05, allocations: 473.7 kB / 1.144 GB, free: 2.781 MB / 0.8887 GB make -j1 -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.makefile (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & ./Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches