Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.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.001699/0.001699, allocations: 84.75 kB / 19.76 MB, free: 2.023 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.001685/0.001685, allocations: 156.7 kB / 23.01 MB, free: 4.961 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.449/1.449, allocations: 177.2 MB / 203.4 MB, free: 8.953 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.855/2.855, allocations: 394.2 MB / 0.6387 GB, free: 11.94 MB / 0.6075 GB " [Timeout remaining time 177] 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.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|X_w|d",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|X_w|d",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.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.003089/0.003089, allocations: 67.89 kB / 1.009 GB, free: 14.51 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.818/0.821, allocations: 181.8 MB / 1.187 GB, free: 16.18 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002087/0.8231, allocations: 1.307 MB / 1.188 GB, free: 15.27 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.1528/0.976, allocations: 115.7 MB / 1.301 GB, free: 14.16 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.723e-05/0.976, allocations: 0 / 1.301 GB, free: 14.16 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 2.307e-05/0.976, allocations: 5.328 kB / 1.301 GB, free: 14.16 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 5.388e-05/0.9761, allocations: 7.922 kB / 1.301 GB, free: 14.15 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.000379/0.9765, allocations: 49.59 kB / 1.301 GB, free: 14.12 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 8.112e-05/0.9765, allocations: 30.28 kB / 1.301 GB, free: 14.11 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 3.434e-05/0.9766, allocations: 2.688 kB / 1.301 GB, free: 14.11 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 4.365e-05/0.9766, allocations: 13.27 kB / 1.301 GB, free: 14.1 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 5.811e-05/0.9767, allocations: 7.609 kB / 1.301 GB, free: 14.09 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 1.384e-05/0.9767, allocations: 9.25 kB / 1.301 GB, free: 14.09 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 9.193e-05/0.9768, allocations: 22.42 kB / 1.301 GB, free: 14.07 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 1.684e-05/0.9768, allocations: 0.875 kB / 1.301 GB, free: 14.07 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 2.407e-05/0.9768, allocations: 8.562 kB / 1.301 GB, free: 14.07 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0001056/0.9769, allocations: 24.52 kB / 1.301 GB, free: 14.06 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.9769, allocations: 1.188 kB / 1.301 GB, free: 14.06 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.523e-06/0.9769, allocations: 4 kB / 1.301 GB, free: 14.05 MB / 1.154 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.9769, allocations: 0 / 1.301 GB, free: 14.05 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000402/0.9773, allocations: 254.7 kB / 1.301 GB, free: 13.79 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.416e-05/0.9774, allocations: 9.469 kB / 1.301 GB, free: 13.79 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001505/0.9775, allocations: 15.25 kB / 1.301 GB, free: 13.78 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001098/0.9776, allocations: 105.4 kB / 1.301 GB, free: 13.66 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.052e-05/0.9777, allocations: 62.42 kB / 1.302 GB, free: 13.59 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.795e-06/0.9777, allocations: 1.781 kB / 1.302 GB, free: 13.59 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001207/0.9779, allocations: 44.16 kB / 1.302 GB, free: 13.54 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.9779, allocations: 7.938 kB / 1.302 GB, free: 13.54 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.755e-06/0.9779, allocations: 0 / 1.302 GB, free: 13.54 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.9779, allocations: 5.016 kB / 1.302 GB, free: 13.53 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.37e-05/0.978, allocations: 16.17 kB / 1.302 GB, free: 13.52 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001404/0.9781, allocations: 100.7 kB / 1.302 GB, free: 13.4 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 9.763e-05/0.9782, allocations: 31.11 kB / 1.302 GB, free: 13.37 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.725e-05/0.9782, allocations: 10.39 kB / 1.302 GB, free: 13.36 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 1.344e-05/0.9783, allocations: 0.7812 kB / 1.302 GB, free: 13.36 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.007e-05/0.9783, allocations: 35.62 kB / 1.302 GB, free: 13.32 MB / 1.154 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.9783, allocations: 4 kB / 1.302 GB, free: 13.31 MB / 1.154 GB Notification: Performance of matching and sorting (n=3): time 0.0002205/0.9785, allocations: 63.8 kB / 1.302 GB, free: 13.26 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.477e-05/0.9786, allocations: 52.69 kB / 1.302 GB, free: 13.2 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.509e-05/0.9786, allocations: 97.75 kB / 1.302 GB, free: 13.1 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 1.565e-05/0.9786, allocations: 33.64 kB / 1.302 GB, free: 13.06 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 3.782e-05/0.9787, allocations: 81.58 kB / 1.302 GB, free: 12.98 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 2.47e-05/0.9787, allocations: 13.17 kB / 1.302 GB, free: 12.96 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.344e-05/0.9787, allocations: 11.88 kB / 1.302 GB, free: 12.95 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001336/0.9789, allocations: 315.9 kB / 1.302 GB, free: 12.63 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.825e-05/0.9789, allocations: 13.45 kB / 1.302 GB, free: 12.62 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.374e-05/0.979, allocations: 3.719 kB / 1.302 GB, free: 12.62 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.846e-05/0.979, allocations: 27.19 kB / 1.302 GB, free: 12.61 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.979, allocations: 1.125 kB / 1.302 GB, free: 12.61 MB / 1.154 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001208/0.9792, allocations: 47.66 kB / 1.302 GB, free: 12.57 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.063e-05/0.9792, allocations: 4.594 kB / 1.302 GB, free: 12.57 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/0.9792, allocations: 1.094 kB / 1.302 GB, free: 12.57 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/0.9792, allocations: 7.922 kB / 1.302 GB, free: 12.56 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.387e-05/0.9793, allocations: 8.688 kB / 1.302 GB, free: 12.55 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.9793, allocations: 5.125 kB / 1.303 GB, free: 12.55 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.722e-05/0.9793, allocations: 5.281 kB / 1.303 GB, free: 12.55 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.081e-06/0.9793, allocations: 1.25 kB / 1.303 GB, free: 12.55 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 7.789e-05/0.9794, allocations: 107.1 kB / 1.303 GB, free: 12.43 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.835e-06/0.9794, allocations: 5.188 kB / 1.303 GB, free: 12.43 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.284e-05/0.9794, allocations: 20.83 kB / 1.303 GB, free: 12.4 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-06/0.9794, allocations: 0 / 1.303 GB, free: 12.4 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.9795, allocations: 1.156 kB / 1.303 GB, free: 12.4 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.9795, allocations: 0 / 1.303 GB, free: 12.4 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.521e-05/0.9795, allocations: 102.3 kB / 1.303 GB, free: 12.28 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.9795, allocations: 4 kB / 1.303 GB, free: 12.27 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.796e-05/0.9796, allocations: 4.469 kB / 1.303 GB, free: 12.27 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.9796, allocations: 1.219 kB / 1.303 GB, free: 12.27 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/0.9796, allocations: 7.984 kB / 1.303 GB, free: 12.27 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.9796, allocations: 5.094 kB / 1.303 GB, free: 12.26 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.9796, allocations: 0 / 1.303 GB, free: 12.26 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001502/0.9798, allocations: 77.25 kB / 1.303 GB, free: 12.18 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 2.693e-05/0.9798, allocations: 2.219 kB / 1.303 GB, free: 12.18 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.393e-05/0.9798, allocations: 3.984 kB / 1.303 GB, free: 12.18 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.82e-05/0.9798, allocations: 6.531 kB / 1.303 GB, free: 12.18 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.778e-05/0.9799, allocations: 8 kB / 1.303 GB, free: 12.17 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.655e-06/0.9799, allocations: 5.281 kB / 1.303 GB, free: 12.16 MB / 1.154 GB Notification: Performance of sorting global known variables: time 4.018e-05/0.9799, allocations: 81.66 kB / 1.303 GB, free: 12.09 MB / 1.154 GB Notification: Performance of sort global known variables: time 8e-08/0.9799, allocations: 0 / 1.303 GB, free: 12.09 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.000182/0.9801, allocations: 6.094 kB / 1.303 GB, free: 12.09 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.0001057/0.9802, allocations: 97.14 kB / 1.303 GB, free: 11.99 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0001409/0.9803, allocations: 20.33 kB / 1.303 GB, free: 11.98 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.9803, allocations: 0 / 1.303 GB, free: 11.98 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 4.441e-05/0.9804, allocations: 10.97 kB / 1.303 GB, free: 11.98 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002237/0.9806, allocations: 11.77 kB / 1.303 GB, free: 11.97 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002789/0.9809, allocations: 124.4 kB / 1.303 GB, free: 11.85 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.309e-05/0.9809, allocations: 64.98 kB / 1.303 GB, free: 11.77 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 4.168e-05/0.981, allocations: 5.438 kB / 1.303 GB, free: 11.77 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.521e-05/0.981, allocations: 9.75 kB / 1.303 GB, free: 11.76 MB / 1.154 GB Notification: Performance of SimCode: time 3.2e-07/0.981, allocations: 0 / 1.303 GB, free: 11.76 MB / 1.154 GB Notification: Performance of Templates: time 0.002583/0.9836, allocations: 486 kB / 1.304 GB, free: 11.51 MB / 1.154 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.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.674565364955924]