Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 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.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|X_w|d",fileNamePrefix="Buildings_11_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_11_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.001805/0.001804, allocations: 105.4 kB / 15.99 MB, free: 6.348 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.001823/0.001823, allocations: 198.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.44/1.44, allocations: 222.9 MB / 240.6 MB, free: 13.73 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.726/2.726, allocations: 469.8 MB / 0.7427 GB, free: 3.641 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001971/0.001971, allocations: 62.42 kB / 0.9087 GB, free: 14.21 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.327/0.329, allocations: 159.1 MB / 1.064 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002718/0.3317, allocations: 1.337 MB / 1.065 GB, free: 13.74 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.6738/1.006, allocations: 130 MB / 1.192 GB, free: 13.22 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.247e-05/1.006, allocations: 0 / 1.192 GB, free: 13.22 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.553e-05/1.006, allocations: 5.031 kB / 1.192 GB, free: 13.21 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.729e-05/1.006, allocations: 6.078 kB / 1.192 GB, free: 13.21 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003636/1.006, allocations: 54.88 kB / 1.193 GB, free: 13.19 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 6.897e-05/1.006, allocations: 25.91 kB / 1.193 GB, free: 13.18 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 3.836e-05/1.006, allocations: 2.312 kB / 1.193 GB, free: 13.18 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 3.86e-05/1.006, allocations: 12.14 kB / 1.193 GB, free: 13.18 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 4.858e-05/1.006, allocations: 6.672 kB / 1.193 GB, free: 13.18 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.292e-05/1.006, allocations: 1 kB / 1.193 GB, free: 13.18 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 6.954e-05/1.006, allocations: 12 kB / 1.193 GB, free: 13.17 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.581e-05/1.006, allocations: 6.797 kB / 1.193 GB, free: 13.17 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.57e-05/1.006, allocations: 13.56 kB / 1.193 GB, free: 13.16 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 7.476e-05/1.007, allocations: 18.41 kB / 1.193 GB, free: 13.16 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/1.007, allocations: 0 / 1.193 GB, free: 13.16 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.393e-06/1.007, allocations: 3.938 kB / 1.193 GB, free: 13.15 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.601e-06/1.007, allocations: 1.219 kB / 1.193 GB, free: 13.15 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004323/1.007, allocations: 331.7 kB / 1.193 GB, free: 12.8 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/1.007, allocations: 8.688 kB / 1.193 GB, free: 12.8 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.965e-05/1.007, allocations: 3.844 kB / 1.193 GB, free: 12.8 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001331/1.007, allocations: 176.8 kB / 1.193 GB, free: 12.59 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.155e-05/1.007, allocations: 36.34 kB / 1.193 GB, free: 12.55 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.053e-05/1.007, allocations: 5.625 kB / 1.193 GB, free: 12.55 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000123/1.008, allocations: 35.62 kB / 1.193 GB, free: 12.52 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/1.008, allocations: 3.938 kB / 1.193 GB, free: 12.51 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.885e-06/1.008, allocations: 0 / 1.193 GB, free: 12.51 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/1.008, allocations: 1.062 kB / 1.193 GB, free: 12.51 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.129e-05/1.008, allocations: 14.53 kB / 1.193 GB, free: 12.51 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001855/1.008, allocations: 156.4 kB / 1.193 GB, free: 12.31 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 9.653e-05/1.008, allocations: 34.61 kB / 1.193 GB, free: 12.28 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.754e-05/1.008, allocations: 13.73 kB / 1.193 GB, free: 12.27 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001731/1.008, allocations: 90.33 kB / 1.193 GB, free: 12.18 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.92e-05/1.008, allocations: 30.56 kB / 1.194 GB, free: 12.14 MB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/1.008, allocations: 5.281 kB / 1.194 GB, free: 12.13 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.0002439/1.008, allocations: 59.41 kB / 1.194 GB, free: 12.09 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.761e-05/1.009, allocations: 55.39 kB / 1.194 GB, free: 12.02 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.289e-05/1.009, allocations: 93.92 kB / 1.194 GB, free: 11.92 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.767e-05/1.009, allocations: 25.7 kB / 1.194 GB, free: 11.89 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.489e-05/1.009, allocations: 80.14 kB / 1.194 GB, free: 11.81 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.58e-05/1.009, allocations: 14.75 kB / 1.194 GB, free: 11.8 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.293e-05/1.009, allocations: 12.38 kB / 1.194 GB, free: 11.78 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001433/1.009, allocations: 322.8 kB / 1.194 GB, free: 11.46 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.494e-05/1.009, allocations: 8.562 kB / 1.194 GB, free: 11.45 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.622e-05/1.009, allocations: 10.14 kB / 1.194 GB, free: 11.45 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.125e-05/1.009, allocations: 17.86 kB / 1.194 GB, free: 11.44 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.548e-06/1.009, allocations: 3.984 kB / 1.194 GB, free: 11.43 MB / 0.92 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001227/1.009, allocations: 48.72 kB / 1.194 GB, free: 11.39 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/1.009, allocations: 9 kB / 1.194 GB, free: 11.39 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/1.009, allocations: 7.938 kB / 1.194 GB, free: 11.39 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.999e-06/1.009, allocations: 0 / 1.194 GB, free: 11.39 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.868e-05/1.009, allocations: 5.375 kB / 1.194 GB, free: 11.39 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/1.009, allocations: 5.25 kB / 1.194 GB, free: 11.38 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.198e-05/1.009, allocations: 9.203 kB / 1.194 GB, free: 11.38 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.561e-06/1.009, allocations: 0 / 1.194 GB, free: 11.38 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 8.133e-05/1.01, allocations: 114.4 kB / 1.194 GB, free: 11.26 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.582e-05/1.01, allocations: 9.344 kB / 1.194 GB, free: 11.25 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001624/1.01, allocations: 62.61 kB / 1.194 GB, free: 11.2 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/1.01, allocations: 3.938 kB / 1.194 GB, free: 11.19 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/1.01, allocations: 1.031 kB / 1.194 GB, free: 11.19 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/1.01, allocations: 0 / 1.194 GB, free: 11.19 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000131/1.01, allocations: 154.2 kB / 1.195 GB, free: 11 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/1.01, allocations: 0 / 1.195 GB, free: 11 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.027e-05/1.01, allocations: 4.594 kB / 1.195 GB, free: 11 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/1.01, allocations: 5.281 kB / 1.195 GB, free: 10.99 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/1.01, allocations: 0 / 1.195 GB, free: 10.99 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/1.01, allocations: 5.156 kB / 1.195 GB, free: 10.99 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/1.01, allocations: 4 kB / 1.195 GB, free: 10.98 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001564/1.01, allocations: 76.7 kB / 1.195 GB, free: 10.91 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 6.213e-05/1.01, allocations: 78.2 kB / 1.195 GB, free: 10.81 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.462e-05/1.01, allocations: 5.469 kB / 1.195 GB, free: 10.81 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.74e-05/1.01, allocations: 0 / 1.195 GB, free: 10.81 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.787e-05/1.01, allocations: 6.266 kB / 1.195 GB, free: 10.8 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.788e-06/1.01, allocations: 0.75 kB / 1.195 GB, free: 10.8 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.092e-05/1.01, allocations: 81.34 kB / 1.195 GB, free: 10.73 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.2e-07/1.01, allocations: 1.062 kB / 1.195 GB, free: 10.73 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0001878/1.011, allocations: 13.25 kB / 1.195 GB, free: 10.72 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.0001678/1.011, allocations: 111.5 kB / 1.195 GB, free: 10.62 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001495/1.011, allocations: 24.14 kB / 1.195 GB, free: 10.61 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/1.011, allocations: 1.156 kB / 1.195 GB, free: 10.61 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 4.69e-05/1.011, allocations: 10.55 kB / 1.195 GB, free: 10.61 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002291/1.011, allocations: 8.062 kB / 1.195 GB, free: 10.61 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003147/1.011, allocations: 165.4 kB / 1.195 GB, free: 10.44 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003185/1.012, allocations: 0.6768 MB / 1.196 GB, free: 9.738 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.344e-05/1.012, allocations: 10 kB / 1.196 GB, free: 9.73 MB / 0.92 GB Notification: Performance of SimCode: time 3.6e-07/1.012, allocations: 0 / 1.196 GB, free: 9.73 MB / 0.92 GB Notification: Performance of Templates: time 0.002016/1.014, allocations: 0.576 MB / 1.196 GB, free: 9.445 MB / 0.92 GB make -j1 -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.makefile (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & ./Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches