Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001861/0.001861, allocations: 78.02 kB / 19.76 MB, free: 2.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002197/0.002197, allocations: 160.6 kB / 23.01 MB, free: 4.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.427/1.427, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.848/2.848, allocations: 394.2 MB / 0.6386 GB, free: 11.94 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Examples.Density_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|den.d",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX") translateModel(Buildings.Utilities.Psychrometrics.Examples.Density_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|den.d",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002126/0.002126, allocations: 63.91 kB / 1.009 GB, free: 14.51 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8209/0.823, allocations: 181.8 MB / 1.187 GB, free: 16.2 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002486/0.8255, allocations: 1.507 MB / 1.188 GB, free: 15.18 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.1601/0.9856, allocations: 115.8 MB / 1.301 GB, free: 13.99 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.778e-05/0.9857, allocations: 5.344 kB / 1.301 GB, free: 13.99 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 4.332e-05/0.9858, allocations: 3.938 kB / 1.301 GB, free: 13.98 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 6.37e-05/0.9858, allocations: 5.438 kB / 1.301 GB, free: 13.98 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004175/0.9862, allocations: 75.3 kB / 1.301 GB, free: 13.93 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0001068/0.9863, allocations: 48.66 kB / 1.301 GB, free: 13.9 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001003/0.9864, allocations: 16.56 kB / 1.301 GB, free: 13.89 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 4.989e-05/0.9865, allocations: 16.59 kB / 1.301 GB, free: 13.88 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 5.333e-05/0.9865, allocations: 22.5 kB / 1.301 GB, free: 13.86 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 1.633e-05/0.9866, allocations: 8.875 kB / 1.301 GB, free: 13.86 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001067/0.9867, allocations: 25.62 kB / 1.301 GB, free: 13.84 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 2.399e-05/0.9867, allocations: 13.2 kB / 1.301 GB, free: 13.83 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 4.254e-05/0.9867, allocations: 18.52 kB / 1.301 GB, free: 13.82 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.000154/0.9869, allocations: 59.94 kB / 1.301 GB, free: 13.79 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.9869, allocations: 0 / 1.301 GB, free: 13.79 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.192e-06/0.9869, allocations: 0 / 1.301 GB, free: 13.79 MB / 1.154 GB Notification: Performance of Transformations before backend: time 5.119e-06/0.9869, allocations: 0 / 1.301 GB, free: 13.79 MB / 1.154 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.0005697/0.9875, allocations: 302.4 kB / 1.302 GB, free: 13.48 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.9875, allocations: 9.688 kB / 1.302 GB, free: 13.48 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001632/0.9877, allocations: 15.73 kB / 1.302 GB, free: 13.48 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001956/0.9879, allocations: 118.7 kB / 1.302 GB, free: 13.34 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.377e-05/0.9879, allocations: 1.875 kB / 1.302 GB, free: 13.34 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.753e-05/0.9879, allocations: 6.906 kB / 1.302 GB, free: 13.34 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002684/0.9882, allocations: 73.39 kB / 1.302 GB, free: 13.28 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.9882, allocations: 1.719 kB / 1.302 GB, free: 13.28 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.168e-05/0.9882, allocations: 3.938 kB / 1.302 GB, free: 13.28 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.9882, allocations: 1.281 kB / 1.302 GB, free: 13.28 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002995/0.9885, allocations: 69.39 kB / 1.302 GB, free: 13.25 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004021/0.9889, allocations: 228.4 kB / 1.302 GB, free: 13.01 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002216/0.9891, allocations: 56.58 kB / 1.302 GB, free: 12.97 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000175/0.9893, allocations: 42.31 kB / 1.302 GB, free: 12.94 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 1.394e-05/0.9893, allocations: 1.094 kB / 1.302 GB, free: 12.94 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.972e-05/0.9893, allocations: 31.66 kB / 1.302 GB, free: 12.9 MB / 1.154 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.9893, allocations: 1.094 kB / 1.302 GB, free: 12.9 MB / 1.154 GB Notification: Performance of matching and sorting (n=3): time 0.0005667/0.9899, allocations: 130.1 kB / 1.302 GB, free: 12.82 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.298e-05/0.9899, allocations: 60.53 kB / 1.303 GB, free: 12.75 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.838e-05/0.99, allocations: 109.1 kB / 1.303 GB, free: 12.65 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 2.671e-05/0.9901, allocations: 30.02 kB / 1.303 GB, free: 12.61 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 6.013e-05/0.9901, allocations: 90.78 kB / 1.303 GB, free: 12.52 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 2.121e-05/0.9901, allocations: 10.17 kB / 1.303 GB, free: 12.52 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.726e-05/0.9902, allocations: 15.88 kB / 1.303 GB, free: 12.5 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001507/0.9903, allocations: 321.3 kB / 1.303 GB, free: 12.18 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001555/0.9905, allocations: 28.53 kB / 1.303 GB, free: 12.16 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001535/0.9906, allocations: 38.14 kB / 1.303 GB, free: 12.14 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000293/0.9909, allocations: 72 kB / 1.303 GB, free: 12.11 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.9909, allocations: 3.938 kB / 1.303 GB, free: 12.1 MB / 1.154 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003492/0.9913, allocations: 106.5 kB / 1.303 GB, free: 12.03 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.9913, allocations: 5.062 kB / 1.303 GB, free: 12.03 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.9913, allocations: 0.9688 kB / 1.303 GB, free: 12.03 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.9913, allocations: 0 / 1.303 GB, free: 12.03 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001311/0.9915, allocations: 14.72 kB / 1.303 GB, free: 12.03 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.9915, allocations: 1.5 kB / 1.303 GB, free: 12.03 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.172e-05/0.9915, allocations: 17.94 kB / 1.303 GB, free: 12.02 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.112e-05/0.9916, allocations: 5.453 kB / 1.303 GB, free: 12.01 MB / 1.154 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.0001006/0.9917, allocations: 116.9 kB / 1.303 GB, free: 11.89 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.423e-05/0.9917, allocations: 9.375 kB / 1.304 GB, free: 11.88 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.153e-05/0.9917, allocations: 9.5 kB / 1.304 GB, free: 11.87 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.9917, allocations: 0 / 1.304 GB, free: 11.87 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.9917, allocations: 0.875 kB / 1.304 GB, free: 11.87 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.9917, allocations: 0 / 1.304 GB, free: 11.87 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001567/0.9919, allocations: 118.5 kB / 1.304 GB, free: 11.73 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.9919, allocations: 0 / 1.304 GB, free: 11.73 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001068/0.992, allocations: 17.72 kB / 1.304 GB, free: 11.72 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.992, allocations: 1.562 kB / 1.304 GB, free: 11.72 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.567e-06/0.992, allocations: 0 / 1.304 GB, free: 11.72 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.992, allocations: 4 kB / 1.304 GB, free: 11.72 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.992, allocations: 1.562 kB / 1.304 GB, free: 11.72 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004206/0.9924, allocations: 193.3 kB / 1.304 GB, free: 11.55 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 1.346e-05/0.9924, allocations: 6.266 kB / 1.304 GB, free: 11.55 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.596e-05/0.9925, allocations: 3.984 kB / 1.304 GB, free: 11.55 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001169/0.9926, allocations: 10.55 kB / 1.304 GB, free: 11.54 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.801e-05/0.9926, allocations: 10.59 kB / 1.304 GB, free: 11.54 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.448e-06/0.9926, allocations: 5.25 kB / 1.304 GB, free: 11.53 MB / 1.154 GB Notification: Performance of sorting global known variables: time 6.326e-05/0.9927, allocations: 93.33 kB / 1.304 GB, free: 11.45 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.01e-07/0.9927, allocations: 1.281 kB / 1.304 GB, free: 11.45 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0002398/0.9929, allocations: 7.594 kB / 1.304 GB, free: 11.45 MB / 1.154 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.0001217/0.993, allocations: 93.34 kB / 1.304 GB, free: 11.36 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0003573/0.9934, allocations: 74.08 kB / 1.304 GB, free: 11.32 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.9934, allocations: 1.156 kB / 1.304 GB, free: 11.32 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0001571/0.9936, allocations: 35.55 kB / 1.304 GB, free: 11.31 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003229/0.9939, allocations: 17.5 kB / 1.304 GB, free: 11.3 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003743/0.9943, allocations: 146.6 kB / 1.304 GB, free: 11.16 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.277e-05/0.9943, allocations: 77.28 kB / 1.304 GB, free: 11.08 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 3.446e-05/0.9944, allocations: 1.344 kB / 1.304 GB, free: 11.08 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.393e-05/0.9944, allocations: 11.09 kB / 1.304 GB, free: 11.07 MB / 1.154 GB Notification: Performance of SimCode: time 4.11e-07/0.9944, allocations: 0 / 1.304 GB, free: 11.07 MB / 1.154 GB Notification: Performance of Templates: time 0.003568/0.998, allocations: 0.9353 MB / 1.305 GB, free: 10.59 MB / 1.154 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Examples_Density_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.72051899402868]