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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00164/0.00164, allocations: 106 kB / 18.94 MB, free: 2.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002262/0.002262, allocations: 187.9 kB / 22.23 MB, free: 5.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.458/1.458, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.597/2.597, allocations: 443.5 MB / 0.7321 GB, free: 12.29 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-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=2500,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=2500,variableFilter="time|den.d",fileNamePrefix="Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Density_pTX") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002121/0.002121, allocations: 67.89 kB / 1.061 GB, free: 3.027 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8467/0.8488, allocations: 160.8 MB / 1.218 GB, free: 3.691 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002902/0.8517, allocations: 1.52 MB / 1.22 GB, free: 2.504 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.159/1.011, allocations: 132.5 MB / 1.349 GB, free: 0.8281 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.697e-05/1.011, allocations: 0 / 1.349 GB, free: 0.8281 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.655e-05/1.011, allocations: 7.922 kB / 1.349 GB, free: 0.8203 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 7.231e-05/1.011, allocations: 19.8 kB / 1.349 GB, free: 0.8008 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004331/1.011, allocations: 67.38 kB / 1.349 GB, free: 0.7383 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001181/1.011, allocations: 59.72 kB / 1.349 GB, free: 0.6797 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 9.798e-05/1.012, allocations: 11.98 kB / 1.349 GB, free: 0.668 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 5.729e-05/1.012, allocations: 19.92 kB / 1.349 GB, free: 0.6484 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 5.827e-05/1.012, allocations: 27.91 kB / 1.349 GB, free: 0.6211 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.747e-05/1.012, allocations: 8 kB / 1.349 GB, free: 0.6133 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 9.137e-05/1.012, allocations: 16 kB / 1.35 GB, free: 0.5977 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.886e-05/1.012, allocations: 7.984 kB / 1.35 GB, free: 0.5898 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 4.18e-05/1.012, allocations: 23.88 kB / 1.35 GB, free: 0.5664 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001733/1.012, allocations: 62.41 kB / 1.35 GB, free: 0.5078 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/1.012, allocations: 4 kB / 1.35 GB, free: 0.5039 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.142e-06/1.012, allocations: 0 / 1.35 GB, free: 0.5039 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.069e-06/1.012, allocations: 0 / 1.35 GB, free: 0.5039 MB / 1.045 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.0005853/1.013, allocations: 379.2 kB / 1.35 GB, free: 84 kB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/1.013, allocations: 8.031 kB / 1.35 GB, free: 76 kB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.668e-05/1.013, allocations: 8.891 kB / 1.35 GB, free: 68 kB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001583/1.013, allocations: 168.3 kB / 1.35 GB, free: 15.86 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.461e-05/1.013, allocations: 4.375 kB / 1.35 GB, free: 15.86 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.387e-05/1.013, allocations: 4.359 kB / 1.35 GB, free: 15.86 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002684/1.013, allocations: 74.2 kB / 1.35 GB, free: 15.78 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/1.013, allocations: 192 / 1.35 GB, free: 15.78 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.339e-05/1.013, allocations: 7.938 kB / 1.35 GB, free: 15.77 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/1.013, allocations: 8 kB / 1.35 GB, free: 15.76 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002859/1.013, allocations: 67.86 kB / 1.35 GB, free: 15.7 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004101/1.014, allocations: 284.8 kB / 1.351 GB, free: 15.37 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002101/1.014, allocations: 54.55 kB / 1.351 GB, free: 15.3 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000153/1.014, allocations: 44.84 kB / 1.351 GB, free: 15.26 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001849/1.014, allocations: 89.09 kB / 1.351 GB, free: 15.15 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.903e-05/1.014, allocations: 34.56 kB / 1.351 GB, free: 15.11 MB / 1.061 GB Notification: Performance of pre-optimization done (n=3): time 1.352e-06/1.014, allocations: 4 kB / 1.351 GB, free: 15.11 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.0005645/1.015, allocations: 121.6 kB / 1.351 GB, free: 14.98 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.231e-05/1.015, allocations: 59.39 kB / 1.351 GB, free: 14.91 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001137/1.015, allocations: 117.8 kB / 1.351 GB, free: 14.79 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.694e-05/1.015, allocations: 25.7 kB / 1.351 GB, free: 14.75 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.083e-05/1.015, allocations: 96.09 kB / 1.351 GB, free: 14.66 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.046e-05/1.015, allocations: 7.953 kB / 1.351 GB, free: 14.65 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.292e-05/1.015, allocations: 17.7 kB / 1.351 GB, free: 14.62 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001386/1.015, allocations: 322.7 kB / 1.352 GB, free: 14.3 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001515/1.016, allocations: 39.89 kB / 1.352 GB, free: 14.26 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001309/1.016, allocations: 31.97 kB / 1.352 GB, free: 14.23 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002662/1.016, allocations: 68.78 kB / 1.352 GB, free: 14.16 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/1.016, allocations: 0 / 1.352 GB, free: 14.16 MB / 1.061 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003175/1.016, allocations: 97.58 kB / 1.352 GB, free: 14.06 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/1.016, allocations: 8 kB / 1.352 GB, free: 14.05 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/1.016, allocations: 0 / 1.352 GB, free: 14.05 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/1.016, allocations: 4 kB / 1.352 GB, free: 14.05 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001204/1.016, allocations: 15.97 kB / 1.352 GB, free: 14.03 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/1.017, allocations: 0 / 1.352 GB, free: 14.03 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.138e-05/1.017, allocations: 19.86 kB / 1.352 GB, free: 14.01 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.725e-06/1.017, allocations: 0 / 1.352 GB, free: 14.01 MB / 1.061 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.0001031/1.017, allocations: 129.7 kB / 1.352 GB, free: 13.88 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.912e-05/1.017, allocations: 7.953 kB / 1.352 GB, free: 13.87 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000359/1.017, allocations: 105.6 kB / 1.352 GB, free: 13.75 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/1.017, allocations: 384 / 1.352 GB, free: 13.75 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/1.017, allocations: 0 / 1.352 GB, free: 13.75 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-06/1.017, allocations: 0 / 1.352 GB, free: 13.75 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002086/1.017, allocations: 173.6 kB / 1.352 GB, free: 13.54 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/1.017, allocations: 7.984 kB / 1.352 GB, free: 13.53 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.589e-05/1.017, allocations: 15.98 kB / 1.352 GB, free: 13.51 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/1.017, allocations: 0 / 1.352 GB, free: 13.51 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.038e-05/1.017, allocations: 3.984 kB / 1.352 GB, free: 13.51 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/1.017, allocations: 0 / 1.352 GB, free: 13.51 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/1.017, allocations: 3.938 kB / 1.352 GB, free: 13.5 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003703/1.018, allocations: 199.4 kB / 1.352 GB, free: 13.29 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 5.949e-05/1.018, allocations: 81.06 kB / 1.352 GB, free: 13.2 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.421e-05/1.018, allocations: 3.938 kB / 1.352 GB, free: 13.19 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001057/1.018, allocations: 15.97 kB / 1.353 GB, free: 13.18 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.555e-05/1.018, allocations: 0 / 1.353 GB, free: 13.18 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.358e-06/1.018, allocations: 4 kB / 1.353 GB, free: 13.17 MB / 1.061 GB Notification: Performance of sorting global known variables: time 6.275e-05/1.018, allocations: 95.27 kB / 1.353 GB, free: 13.08 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/1.018, allocations: 4 kB / 1.353 GB, free: 13.07 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002355/1.018, allocations: 15.94 kB / 1.353 GB, free: 13.06 MB / 1.061 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.0001479/1.018, allocations: 103.2 kB / 1.353 GB, free: 12.95 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003615/1.019, allocations: 71.86 kB / 1.353 GB, free: 12.88 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/1.019, allocations: 0 / 1.353 GB, free: 12.88 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001432/1.019, allocations: 39.95 kB / 1.353 GB, free: 12.84 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003175/1.019, allocations: 19.88 kB / 1.353 GB, free: 12.82 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003631/1.02, allocations: 152 kB / 1.353 GB, free: 12.64 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003149/1.02, allocations: 0.6845 MB / 1.354 GB, free: 11.93 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.969e-05/1.02, allocations: 15.97 kB / 1.354 GB, free: 11.92 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.795e-05/1.02, allocations: 11.44 kB / 1.354 GB, free: 11.91 MB / 1.061 GB Notification: Performance of SimCode: time 3.01e-07/1.02, allocations: 0 / 1.354 GB, free: 11.91 MB / 1.061 GB Notification: Performance of Templates: time 0.003993/1.024, allocations: 1.017 MB / 1.355 GB, free: 10.9 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.makefile [Timeout 300] (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=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1) [Timeout 400] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.746230049058795]