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.001542/0.001542, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001636/0.001636, allocations: 191.6 kB / 16.14 MB, free: 6.711 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.378/1.378, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.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.573/2.573, allocations: 437 MB / 0.7099 GB, free: 5.371 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 59.91 kB / 0.8685 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6287/0.63, allocations: 151.6 MB / 1.017 GB, free: 2.797 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002517/0.6325, allocations: 1.546 MB / 1.018 GB, free: 1.242 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.1505/0.783, allocations: 129.9 MB / 1.145 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.094e-05/0.7831, allocations: 0 / 1.145 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 5.999e-05/0.7833, allocations: 0 / 1.145 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 6.536e-05/0.7833, allocations: 15.84 kB / 1.145 GB, free: 14.78 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003276/0.7837, allocations: 55.8 kB / 1.145 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 8.007e-05/0.7838, allocations: 55.67 kB / 1.145 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 7.845e-05/0.7839, allocations: 9.969 kB / 1.145 GB, free: 14.67 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 5.008e-05/0.7839, allocations: 23.92 kB / 1.145 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 5.389e-05/0.784, allocations: 23.91 kB / 1.145 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 2.181e-05/0.784, allocations: 4 kB / 1.145 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 7.902e-05/0.7841, allocations: 19.94 kB / 1.145 GB, free: 14.6 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 2.046e-05/0.7841, allocations: 15.91 kB / 1.145 GB, free: 14.58 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 3.371e-05/0.7842, allocations: 15.94 kB / 1.145 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0001185/0.7843, allocations: 55.75 kB / 1.145 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.7843, allocations: 0 / 1.145 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of FrontEnd: time 9.62e-07/0.7843, allocations: 0 / 1.145 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 4.228e-06/0.7843, allocations: 4 kB / 1.145 GB, free: 14.51 MB / 0.9044 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.0004961/0.7848, allocations: 371.3 kB / 1.146 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.604e-05/0.7849, allocations: 15.97 kB / 1.146 GB, free: 14.08 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.646e-05/0.7849, allocations: 4.844 kB / 1.146 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001132/0.785, allocations: 180.2 kB / 1.146 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.138e-05/0.785, allocations: 4.375 kB / 1.146 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.059e-05/0.7851, allocations: 384 / 1.146 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002445/0.7853, allocations: 78.2 kB / 1.146 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.562e-06/0.7853, allocations: 192 / 1.146 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.7853, allocations: 3.938 kB / 1.146 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.888e-06/0.7853, allocations: 0 / 1.146 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002817/0.7856, allocations: 75.86 kB / 1.146 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000352/0.786, allocations: 280.8 kB / 1.146 GB, free: 13.37 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002081/0.7862, allocations: 50.55 kB / 1.146 GB, free: 13.31 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001469/0.7864, allocations: 40.91 kB / 1.146 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001734/0.7865, allocations: 93.09 kB / 1.146 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.59e-05/0.7866, allocations: 34.5 kB / 1.146 GB, free: 13.12 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=3): time 1.202e-06/0.7866, allocations: 0 / 1.146 GB, free: 13.12 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3): time 0.0005425/0.7871, allocations: 133.5 kB / 1.147 GB, free: 12.98 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.553e-05/0.7872, allocations: 59.34 kB / 1.147 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.032e-05/0.7873, allocations: 117.8 kB / 1.147 GB, free: 12.79 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.296e-05/0.7873, allocations: 25.7 kB / 1.147 GB, free: 12.75 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 4.72e-05/0.7874, allocations: 88.14 kB / 1.147 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.015e-05/0.7874, allocations: 11.89 kB / 1.147 GB, free: 12.65 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.245e-05/0.7874, allocations: 13.72 kB / 1.147 GB, free: 12.63 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001098/0.7875, allocations: 322.8 kB / 1.147 GB, free: 12.31 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001527/0.7877, allocations: 35.95 kB / 1.147 GB, free: 12.27 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000142/0.7878, allocations: 27.97 kB / 1.147 GB, free: 12.25 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002615/0.7881, allocations: 73 kB / 1.147 GB, free: 12.17 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.7881, allocations: 0 / 1.147 GB, free: 12.17 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003149/0.7884, allocations: 105.5 kB / 1.147 GB, free: 12.06 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.7885, allocations: 9.406 kB / 1.147 GB, free: 12.05 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.7885, allocations: 3.938 kB / 1.147 GB, free: 12.05 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/0.7885, allocations: 0 / 1.147 GB, free: 12.05 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001204/0.7886, allocations: 15.97 kB / 1.147 GB, free: 12.04 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/0.7886, allocations: 4 kB / 1.147 GB, free: 12.03 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.789e-05/0.7887, allocations: 19.92 kB / 1.147 GB, free: 12.01 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.638e-06/0.7887, allocations: 4 kB / 1.147 GB, free: 12.01 MB / 0.9044 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 7.552e-05/0.7888, allocations: 113.8 kB / 1.148 GB, free: 11.89 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.063e-05/0.7889, allocations: 7.906 kB / 1.148 GB, free: 11.88 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003579/0.7892, allocations: 109.5 kB / 1.148 GB, free: 11.76 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.7892, allocations: 0 / 1.148 GB, free: 11.76 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.7893, allocations: 4 kB / 1.148 GB, free: 11.76 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.7893, allocations: 0 / 1.148 GB, free: 11.76 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001754/0.7894, allocations: 173.7 kB / 1.148 GB, free: 11.54 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.7894, allocations: 0 / 1.148 GB, free: 11.54 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.618e-05/0.7895, allocations: 15.98 kB / 1.148 GB, free: 11.52 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.968e-06/0.7896, allocations: 3.984 kB / 1.148 GB, free: 11.52 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.834e-06/0.7896, allocations: 0 / 1.148 GB, free: 11.52 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.7896, allocations: 0 / 1.148 GB, free: 11.52 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.7896, allocations: 4 kB / 1.148 GB, free: 11.52 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003636/0.79, allocations: 203.3 kB / 1.148 GB, free: 11.3 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.341e-05/0.79, allocations: 81.05 kB / 1.148 GB, free: 11.2 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.645e-05/0.79, allocations: 4 kB / 1.148 GB, free: 11.2 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001223/0.7901, allocations: 11.97 kB / 1.148 GB, free: 11.19 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.35e-05/0.7902, allocations: 8 kB / 1.148 GB, free: 11.18 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.188e-06/0.7902, allocations: 0 / 1.148 GB, free: 11.18 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.539e-05/0.7903, allocations: 95.27 kB / 1.148 GB, free: 11.09 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7903, allocations: 0 / 1.148 GB, free: 11.09 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002351/0.7905, allocations: 16 kB / 1.148 GB, free: 11.07 MB / 0.9044 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.0001568/0.7907, allocations: 115.2 kB / 1.148 GB, free: 10.95 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003425/0.791, allocations: 71.92 kB / 1.148 GB, free: 10.88 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.791, allocations: 3.938 kB / 1.148 GB, free: 10.87 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001465/0.7912, allocations: 35.95 kB / 1.149 GB, free: 10.84 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000307/0.7915, allocations: 13.83 kB / 1.149 GB, free: 10.82 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003266/0.7918, allocations: 173.4 kB / 1.149 GB, free: 10.63 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002642/0.7921, allocations: 0.6809 MB / 1.149 GB, free: 9.922 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 3.911e-05/0.7922, allocations: 7.984 kB / 1.149 GB, free: 9.914 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.395e-05/0.7922, allocations: 11.38 kB / 1.149 GB, free: 9.902 MB / 0.9044 GB Notification: Performance of SimCode: time 2.4e-07/0.7922, allocations: 3.938 kB / 1.149 GB, free: 9.898 MB / 0.9044 GB Notification: Performance of Templates: time 0.003109/0.7953, allocations: 0.8543 MB / 1.15 GB, free: 9.059 MB / 0.9044 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 -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/jenkins/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