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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0015/0.0015, allocations: 115.7 kB / 18.89 MB, free: 2.898 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.00193/0.00193, allocations: 199.5 kB / 22.17 MB, free: 5.211 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.557/1.557, allocations: 225.6 MB / 250.9 MB, free: 13.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.878/2.878, allocations: 476.7 MB / 0.7645 GB, free: 10.12 MB / 0.6231 GB " [Timeout remaining time 176] 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=2500,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=2500,variableFilter="time|T|X_w|d",fileNamePrefix="Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001978/0.001978, allocations: 63.91 kB / 1.109 GB, free: 6.566 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.013/1.015, allocations: 168.7 MB / 1.274 GB, free: 4.559 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.003008/1.018, allocations: 1.288 MB / 1.275 GB, free: 3.262 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.188/1.206, allocations: 132.4 MB / 1.405 GB, free: 14.34 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.803e-05/1.206, allocations: 0 / 1.405 GB, free: 14.34 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 2.424e-05/1.206, allocations: 3.828 kB / 1.405 GB, free: 14.34 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 5.801e-05/1.206, allocations: 11.91 kB / 1.405 GB, free: 14.33 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004113/1.207, allocations: 55.53 kB / 1.405 GB, free: 14.28 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 9.751e-05/1.207, allocations: 23.86 kB / 1.405 GB, free: 14.25 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 4.548e-05/1.207, allocations: 4 kB / 1.405 GB, free: 14.25 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 4.944e-05/1.207, allocations: 12 kB / 1.405 GB, free: 14.24 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 6.509e-05/1.207, allocations: 11.92 kB / 1.405 GB, free: 14.23 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 1.563e-05/1.207, allocations: 3.984 kB / 1.405 GB, free: 14.22 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 7.841e-05/1.207, allocations: 15.98 kB / 1.405 GB, free: 14.21 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 1.506e-05/1.207, allocations: 0 / 1.405 GB, free: 14.21 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 2.95e-05/1.207, allocations: 11.94 kB / 1.405 GB, free: 14.2 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.0001186/1.207, allocations: 15.98 kB / 1.405 GB, free: 14.18 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/1.207, allocations: 0 / 1.405 GB, free: 14.18 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.704e-06/1.207, allocations: 0 / 1.405 GB, free: 14.18 MB / 1.107 GB Notification: Performance of Transformations before backend: time 7.014e-06/1.207, allocations: 0 / 1.405 GB, free: 14.18 MB / 1.107 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.0005648/1.208, allocations: 342.2 kB / 1.405 GB, free: 13.8 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/1.208, allocations: 12.03 kB / 1.405 GB, free: 13.79 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.896e-05/1.208, allocations: 4.891 kB / 1.405 GB, free: 13.78 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001709/1.208, allocations: 176.3 kB / 1.405 GB, free: 13.57 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001179/1.208, allocations: 26.27 kB / 1.405 GB, free: 13.54 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.571e-05/1.208, allocations: 8.375 kB / 1.405 GB, free: 13.53 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001322/1.208, allocations: 38.19 kB / 1.405 GB, free: 13.49 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/1.208, allocations: 7.938 kB / 1.405 GB, free: 13.48 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.987e-06/1.208, allocations: 0 / 1.405 GB, free: 13.48 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/1.208, allocations: 0 / 1.405 GB, free: 13.48 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.943e-05/1.208, allocations: 15.98 kB / 1.405 GB, free: 13.46 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002029/1.208, allocations: 153.7 kB / 1.406 GB, free: 13.27 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001084/1.209, allocations: 26.61 kB / 1.406 GB, free: 13.23 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.762e-05/1.209, allocations: 16.84 kB / 1.406 GB, free: 13.21 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001842/1.209, allocations: 93.09 kB / 1.406 GB, free: 13.1 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.977e-05/1.209, allocations: 38.56 kB / 1.406 GB, free: 13.05 MB / 1.107 GB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/1.209, allocations: 0 / 1.406 GB, free: 13.05 MB / 1.107 GB Notification: Performance of matching and sorting (n=3): time 0.0002788/1.209, allocations: 57.61 kB / 1.406 GB, free: 12.99 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.057e-05/1.209, allocations: 51.41 kB / 1.406 GB, free: 12.93 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.274e-05/1.209, allocations: 101.8 kB / 1.406 GB, free: 12.82 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 1.971e-05/1.209, allocations: 29.7 kB / 1.406 GB, free: 12.79 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 4.764e-05/1.209, allocations: 84.14 kB / 1.406 GB, free: 12.7 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 3.807e-05/1.209, allocations: 19.88 kB / 1.406 GB, free: 12.68 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.425e-05/1.209, allocations: 13.72 kB / 1.406 GB, free: 12.66 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001552/1.21, allocations: 310.8 kB / 1.406 GB, free: 12.35 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.839e-05/1.21, allocations: 8 kB / 1.406 GB, free: 12.34 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.815e-05/1.21, allocations: 7.984 kB / 1.406 GB, free: 12.33 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.264e-05/1.21, allocations: 28.84 kB / 1.406 GB, free: 12.3 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/1.21, allocations: 0 / 1.406 GB, free: 12.3 MB / 1.107 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001251/1.21, allocations: 46.16 kB / 1.406 GB, free: 12.25 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/1.21, allocations: 11.94 kB / 1.406 GB, free: 12.24 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/1.21, allocations: 0 / 1.406 GB, free: 12.24 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/1.21, allocations: 3.938 kB / 1.406 GB, free: 12.23 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.443e-05/1.21, allocations: 8.031 kB / 1.406 GB, free: 12.23 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/1.21, allocations: 0 / 1.406 GB, free: 12.23 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.384e-05/1.21, allocations: 7.984 kB / 1.406 GB, free: 12.22 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.565e-06/1.21, allocations: 4 kB / 1.406 GB, free: 12.21 MB / 1.107 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 9.596e-05/1.21, allocations: 106.4 kB / 1.407 GB, free: 12.1 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.045e-05/1.21, allocations: 3.938 kB / 1.407 GB, free: 12.1 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000175/1.21, allocations: 61.17 kB / 1.407 GB, free: 12.03 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.664e-06/1.21, allocations: 0 / 1.407 GB, free: 12.03 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.259e-06/1.21, allocations: 0 / 1.407 GB, free: 12.03 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/1.21, allocations: 7.875 kB / 1.407 GB, free: 12.02 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001536/1.21, allocations: 153.7 kB / 1.407 GB, free: 11.82 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/1.21, allocations: 4 kB / 1.407 GB, free: 11.82 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.792e-05/1.211, allocations: 11.94 kB / 1.407 GB, free: 11.81 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/1.211, allocations: 3.938 kB / 1.407 GB, free: 11.8 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.022e-05/1.211, allocations: 4 kB / 1.407 GB, free: 11.8 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/1.211, allocations: 0 / 1.407 GB, free: 11.8 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/1.211, allocations: 3.984 kB / 1.407 GB, free: 11.8 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001602/1.211, allocations: 73.08 kB / 1.407 GB, free: 11.71 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 8.861e-05/1.211, allocations: 85.05 kB / 1.407 GB, free: 11.61 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.059e-05/1.211, allocations: 11.92 kB / 1.407 GB, free: 11.59 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.745e-05/1.211, allocations: 4 kB / 1.407 GB, free: 11.59 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.041e-05/1.211, allocations: 0 / 1.407 GB, free: 11.59 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.705e-06/1.211, allocations: 0 / 1.407 GB, free: 11.59 MB / 1.107 GB Notification: Performance of sorting global known variables: time 5.236e-05/1.211, allocations: 79.28 kB / 1.407 GB, free: 11.51 MB / 1.107 GB Notification: Performance of sort global known variables: time 6.1e-08/1.211, allocations: 0 / 1.407 GB, free: 11.51 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0001927/1.211, allocations: 8 kB / 1.407 GB, free: 11.5 MB / 1.107 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.000202/1.211, allocations: 120.8 kB / 1.407 GB, free: 11.38 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.0001674/1.212, allocations: 23.97 kB / 1.407 GB, free: 11.36 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/1.212, allocations: 0 / 1.407 GB, free: 11.36 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 4.99e-05/1.212, allocations: 12 kB / 1.407 GB, free: 11.34 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002709/1.212, allocations: 7.984 kB / 1.407 GB, free: 11.34 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003686/1.212, allocations: 135.6 kB / 1.407 GB, free: 11.18 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003616/1.213, allocations: 0.6768 MB / 1.408 GB, free: 10.47 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 3.321e-05/1.213, allocations: 3.984 kB / 1.408 GB, free: 10.47 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.467e-05/1.213, allocations: 11.44 kB / 1.408 GB, free: 10.46 MB / 1.107 GB Notification: Performance of SimCode: time 6.91e-07/1.213, allocations: 0 / 1.408 GB, free: 10.46 MB / 1.107 GB Notification: Performance of Templates: time 0.003373/1.216, allocations: 0.5277 MB / 1.409 GB, free: 9.934 MB / 1.107 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.makefile [Timeout 300] (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 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1) [Timeout 400] 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_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 9.389653023798019]