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.001551/0.001551, allocations: 109.5 kB / 17.08 MB, free: 6.008 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.001671/0.001672, allocations: 194.2 kB / 20.03 MB, free: 3.082 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.451/1.451, allocations: 222.9 MB / 245.7 MB, free: 4.219 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.795/2.795, allocations: 437.1 MB / 0.7178 GB, free: 4.52 MB / 0.5606 GB " [Timeout remaining time 177] 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=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.002027/0.002027, allocations: 63.89 kB / 1.028 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3303/0.3323, allocations: 151.6 MB / 1.176 GB, free: 5.988 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002908/0.3353, allocations: 1.496 MB / 1.177 GB, free: 4.473 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.8532/1.189, allocations: 132.1 MB / 1.306 GB, free: 15.54 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.997e-05/1.189, allocations: 1.188 kB / 1.306 GB, free: 15.54 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.764e-05/1.189, allocations: 5.25 kB / 1.306 GB, free: 15.54 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 7.523e-05/1.189, allocations: 9.859 kB / 1.306 GB, free: 15.53 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004774/1.189, allocations: 74.75 kB / 1.306 GB, free: 15.51 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.000131/1.189, allocations: 57.55 kB / 1.306 GB, free: 15.5 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001339/1.19, allocations: 14.02 kB / 1.306 GB, free: 15.5 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 6.697e-05/1.19, allocations: 22.17 kB / 1.306 GB, free: 15.5 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 7.131e-05/1.19, allocations: 24.52 kB / 1.306 GB, free: 15.49 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.054e-05/1.19, allocations: 4.156 kB / 1.306 GB, free: 15.49 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001058/1.19, allocations: 19.92 kB / 1.306 GB, free: 15.49 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.481e-05/1.19, allocations: 11.06 kB / 1.306 GB, free: 15.48 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.149e-05/1.19, allocations: 22.39 kB / 1.307 GB, free: 15.48 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001851/1.19, allocations: 61.3 kB / 1.307 GB, free: 15.46 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/1.19, allocations: 0.6094 kB / 1.307 GB, free: 15.46 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.214e-06/1.19, allocations: 0 / 1.307 GB, free: 15.46 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.843e-06/1.19, allocations: 0 / 1.307 GB, free: 15.46 MB / 1.014 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.000655/1.191, allocations: 375.3 kB / 1.307 GB, free: 15.1 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.022e-05/1.191, allocations: 10.12 kB / 1.307 GB, free: 15.1 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.436e-05/1.191, allocations: 7.328 kB / 1.307 GB, free: 15.09 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001797/1.191, allocations: 168.5 kB / 1.307 GB, free: 14.89 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.402e-05/1.191, allocations: 8.969 kB / 1.307 GB, free: 14.89 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.242e-05/1.191, allocations: 3.281 kB / 1.307 GB, free: 14.89 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002912/1.191, allocations: 77.86 kB / 1.307 GB, free: 14.86 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/1.192, allocations: 1.5 kB / 1.307 GB, free: 14.86 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.315e-05/1.192, allocations: 5.625 kB / 1.307 GB, free: 14.85 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/1.192, allocations: 3.031 kB / 1.307 GB, free: 14.85 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000313/1.192, allocations: 67.98 kB / 1.307 GB, free: 14.85 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004919/1.192, allocations: 290 kB / 1.308 GB, free: 14.57 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002251/1.193, allocations: 58.19 kB / 1.308 GB, free: 14.55 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001704/1.193, allocations: 49.22 kB / 1.308 GB, free: 14.53 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001961/1.193, allocations: 88.58 kB / 1.308 GB, free: 14.43 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.521e-05/1.193, allocations: 32.16 kB / 1.308 GB, free: 14.39 MB / 1.014 GB Notification: Performance of pre-optimization done (n=3): time 1.552e-06/1.193, allocations: 1.156 kB / 1.308 GB, free: 14.39 MB / 1.014 GB Notification: Performance of matching and sorting (n=3): time 0.0006179/1.194, allocations: 130.1 kB / 1.308 GB, free: 14.36 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.189e-05/1.194, allocations: 53.2 kB / 1.308 GB, free: 14.3 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001234/1.194, allocations: 120.3 kB / 1.308 GB, free: 14.2 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.932e-05/1.194, allocations: 25.7 kB / 1.308 GB, free: 14.16 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 7.106e-05/1.194, allocations: 94.47 kB / 1.308 GB, free: 14.08 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.835e-05/1.194, allocations: 6.438 kB / 1.308 GB, free: 14.07 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.612e-05/1.194, allocations: 21.45 kB / 1.308 GB, free: 14.05 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001531/1.194, allocations: 319.8 kB / 1.308 GB, free: 13.74 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001502/1.194, allocations: 27.94 kB / 1.309 GB, free: 13.74 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001421/1.195, allocations: 33.19 kB / 1.309 GB, free: 13.74 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002937/1.195, allocations: 71.81 kB / 1.309 GB, free: 13.73 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/1.195, allocations: 0 / 1.309 GB, free: 13.73 MB / 1.014 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003483/1.195, allocations: 102.9 kB / 1.309 GB, free: 13.69 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/1.195, allocations: 5.141 kB / 1.309 GB, free: 13.69 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/1.195, allocations: 1.125 kB / 1.309 GB, free: 13.69 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/1.195, allocations: 3.938 kB / 1.309 GB, free: 13.68 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001305/1.195, allocations: 20.77 kB / 1.309 GB, free: 13.68 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/1.195, allocations: 0 / 1.309 GB, free: 13.68 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.551e-05/1.195, allocations: 20.78 kB / 1.309 GB, free: 13.68 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.498e-06/1.195, allocations: 0.6094 kB / 1.309 GB, free: 13.68 MB / 1.014 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.000108/1.196, allocations: 116.7 kB / 1.309 GB, free: 13.55 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.823e-05/1.196, allocations: 7.453 kB / 1.309 GB, free: 13.55 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004197/1.196, allocations: 111.3 kB / 1.309 GB, free: 13.5 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/1.196, allocations: 0 / 1.309 GB, free: 13.5 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/1.196, allocations: 1.094 kB / 1.309 GB, free: 13.5 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/1.196, allocations: 0.6094 kB / 1.309 GB, free: 13.5 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002293/1.196, allocations: 172.3 kB / 1.309 GB, free: 13.31 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/1.196, allocations: 3.125 kB / 1.309 GB, free: 13.31 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001014/1.196, allocations: 19.48 kB / 1.309 GB, free: 13.31 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/1.196, allocations: 5.719 kB / 1.309 GB, free: 13.3 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.906e-06/1.196, allocations: 4 kB / 1.309 GB, free: 13.3 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/1.196, allocations: 1.25 kB / 1.309 GB, free: 13.3 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/1.196, allocations: 0.7969 kB / 1.309 GB, free: 13.3 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003906/1.197, allocations: 197.8 kB / 1.309 GB, free: 13.17 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 7.313e-05/1.197, allocations: 85.58 kB / 1.309 GB, free: 13.07 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.62e-05/1.197, allocations: 2.531 kB / 1.309 GB, free: 13.07 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001069/1.197, allocations: 10.84 kB / 1.309 GB, free: 13.07 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.879e-05/1.197, allocations: 3.984 kB / 1.309 GB, free: 13.07 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.49e-06/1.197, allocations: 1.781 kB / 1.309 GB, free: 13.07 MB / 1.014 GB Notification: Performance of sorting global known variables: time 6.615e-05/1.197, allocations: 94.53 kB / 1.31 GB, free: 12.99 MB / 1.014 GB Notification: Performance of sort global known variables: time 1e-07/1.197, allocations: 0 / 1.31 GB, free: 12.99 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002412/1.197, allocations: 12.5 kB / 1.31 GB, free: 12.99 MB / 1.014 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.000238/1.198, allocations: 119.6 kB / 1.31 GB, free: 12.89 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0003755/1.198, allocations: 69.5 kB / 1.31 GB, free: 12.89 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/1.198, allocations: 0 / 1.31 GB, free: 12.89 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001605/1.198, allocations: 35.38 kB / 1.31 GB, free: 12.89 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003625/1.199, allocations: 24.77 kB / 1.31 GB, free: 12.89 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004326/1.199, allocations: 180.6 kB / 1.31 GB, free: 12.73 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003654/1.199, allocations: 0.6829 MB / 1.311 GB, free: 12.04 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.603e-05/1.2, allocations: 11.22 kB / 1.311 GB, free: 12.03 MB / 1.014 GB Notification: Performance of SimCode: time 2.3e-07/1.2, allocations: 0 / 1.311 GB, free: 12.03 MB / 1.014 GB Notification: Performance of Templates: time 0.003009/1.203, allocations: 0.9252 MB / 1.312 GB, free: 11.98 MB / 1.014 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 11.403012927039526]