Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001314/0.001314, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001465/0.001465, allocations: 216.9 kB / 22.99 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.559/1.559, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.29/3.29, allocations: 0.4892 GB / 0.7951 GB, free: 35.57 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_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.002109/0.002109, allocations: 67.91 kB / 1.154 GB, free: 25.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4123/0.4145, allocations: 176.1 MB / 1.326 GB, free: 1.977 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Density_pTX): time 0.003406/0.4179, allocations: 1.505 MB / 1.328 GB, free: 476 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.1574/0.5752, allocations: 115.8 MB / 1.441 GB, free: 12.24 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.294e-05/0.5753, allocations: 0 / 1.441 GB, free: 12.24 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 5.042e-05/0.5754, allocations: 3.938 kB / 1.441 GB, free: 12.23 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 9.446e-05/0.5755, allocations: 7.875 kB / 1.441 GB, free: 12.23 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004997/0.576, allocations: 71.59 kB / 1.441 GB, free: 12.16 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.0001404/0.5761, allocations: 59.73 kB / 1.441 GB, free: 12.1 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001239/0.5762, allocations: 15.97 kB / 1.441 GB, free: 12.08 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 6.583e-05/0.5763, allocations: 15.98 kB / 1.441 GB, free: 12.07 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 6.017e-05/0.5764, allocations: 23.86 kB / 1.441 GB, free: 12.04 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 2.057e-05/0.5764, allocations: 4 kB / 1.441 GB, free: 12.04 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001362/0.5765, allocations: 27.98 kB / 1.441 GB, free: 12.01 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 1.953e-05/0.5765, allocations: 7.938 kB / 1.441 GB, free: 12 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 4.102e-05/0.5766, allocations: 23.86 kB / 1.441 GB, free: 11.98 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.0001922/0.5768, allocations: 63.78 kB / 1.441 GB, free: 11.92 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.5768, allocations: 0 / 1.441 GB, free: 11.92 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.623e-06/0.5768, allocations: 0 / 1.441 GB, free: 11.92 MB / 1.139 GB Notification: Performance of Transformations before backend: time 1.08e-05/0.5768, allocations: 4 kB / 1.441 GB, free: 11.91 MB / 1.139 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.0006184/0.5774, allocations: 298.1 kB / 1.441 GB, free: 11.59 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.5774, allocations: 8.031 kB / 1.441 GB, free: 11.58 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.328e-05/0.5775, allocations: 12.83 kB / 1.441 GB, free: 11.57 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001448/0.5776, allocations: 114.5 kB / 1.442 GB, free: 11.43 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.64e-05/0.5777, allocations: 4.359 kB / 1.442 GB, free: 11.43 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.644e-05/0.5777, allocations: 8.375 kB / 1.442 GB, free: 11.42 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002855/0.578, allocations: 78.16 kB / 1.442 GB, free: 11.34 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.639e-06/0.578, allocations: 192 / 1.442 GB, free: 11.34 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.499e-05/0.578, allocations: 3.938 kB / 1.442 GB, free: 11.34 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.578, allocations: 0 / 1.442 GB, free: 11.34 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002978/0.5783, allocations: 67.92 kB / 1.442 GB, free: 11.27 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004307/0.5787, allocations: 220.5 kB / 1.442 GB, free: 11.02 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002497/0.579, allocations: 70.41 kB / 1.442 GB, free: 10.95 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001563/0.5791, allocations: 32.92 kB / 1.442 GB, free: 10.91 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001468/0.5793, allocations: 11.98 kB / 1.442 GB, free: 10.9 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.268e-05/0.5793, allocations: 34.56 kB / 1.442 GB, free: 10.86 MB / 1.139 GB Notification: Performance of pre-optimization done (n=3): time 1.563e-06/0.5793, allocations: 0 / 1.442 GB, free: 10.86 MB / 1.139 GB Notification: Performance of matching and sorting (n=3): time 0.0005783/0.5799, allocations: 133.5 kB / 1.442 GB, free: 10.72 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.64e-05/0.5799, allocations: 51.41 kB / 1.442 GB, free: 10.66 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001233/0.5801, allocations: 117.7 kB / 1.442 GB, free: 10.53 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 2.24e-05/0.5801, allocations: 29.7 kB / 1.442 GB, free: 10.5 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 6.458e-05/0.5801, allocations: 84.14 kB / 1.442 GB, free: 10.41 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 2.562e-05/0.5802, allocations: 15.89 kB / 1.442 GB, free: 10.39 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.017e-05/0.5802, allocations: 13.72 kB / 1.442 GB, free: 10.38 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001616/0.5804, allocations: 318.8 kB / 1.443 GB, free: 10.05 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001438/0.5805, allocations: 35.95 kB / 1.443 GB, free: 10.02 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001331/0.5806, allocations: 27.97 kB / 1.443 GB, free: 9.992 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002736/0.5809, allocations: 68.78 kB / 1.443 GB, free: 9.922 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.459e-06/0.5809, allocations: 7.938 kB / 1.443 GB, free: 9.914 MB / 1.139 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003344/0.5813, allocations: 97.56 kB / 1.443 GB, free: 9.812 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/0.5813, allocations: 10.03 kB / 1.443 GB, free: 9.805 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.5813, allocations: 0 / 1.443 GB, free: 9.805 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.5813, allocations: 0 / 1.443 GB, free: 9.805 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001296/0.5814, allocations: 15.97 kB / 1.443 GB, free: 9.789 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.133e-05/0.5814, allocations: 8 kB / 1.443 GB, free: 9.781 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.635e-05/0.5815, allocations: 11.98 kB / 1.443 GB, free: 9.77 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.144e-05/0.5815, allocations: 4 kB / 1.443 GB, free: 9.766 MB / 1.139 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/0.5816, allocations: 117.7 kB / 1.443 GB, free: 9.641 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.175e-05/0.5817, allocations: 7.953 kB / 1.443 GB, free: 9.633 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004722/0.5821, allocations: 105.9 kB / 1.443 GB, free: 9.512 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.5821, allocations: 0 / 1.443 GB, free: 9.512 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.5821, allocations: 4 kB / 1.443 GB, free: 9.508 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.5821, allocations: 48 / 1.443 GB, free: 9.508 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001699/0.5823, allocations: 125.2 kB / 1.443 GB, free: 9.355 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.5823, allocations: 0 / 1.443 GB, free: 9.355 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000151/0.5825, allocations: 15.98 kB / 1.443 GB, free: 9.34 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.5825, allocations: 0 / 1.443 GB, free: 9.34 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.835e-06/0.5825, allocations: 0 / 1.443 GB, free: 9.34 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.5825, allocations: 0 / 1.443 GB, free: 9.34 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.5825, allocations: 0 / 1.443 GB, free: 9.34 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004698/0.5829, allocations: 211.4 kB / 1.444 GB, free: 9.117 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 1.119e-05/0.583, allocations: 3.938 kB / 1.444 GB, free: 9.113 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.424e-05/0.583, allocations: 4 kB / 1.444 GB, free: 9.109 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001024/0.5831, allocations: 7.984 kB / 1.444 GB, free: 9.102 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.943e-05/0.5831, allocations: 11.98 kB / 1.444 GB, free: 9.09 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.018e-06/0.5831, allocations: 0 / 1.444 GB, free: 9.09 MB / 1.139 GB Notification: Performance of sorting global known variables: time 6.631e-05/0.5832, allocations: 95.53 kB / 1.444 GB, free: 8.996 MB / 1.139 GB Notification: Performance of sort global known variables: time 7e-08/0.5832, allocations: 4 kB / 1.444 GB, free: 8.992 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0002425/0.5834, allocations: 15.98 kB / 1.444 GB, free: 8.977 MB / 1.139 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.0001834/0.5836, allocations: 109.4 kB / 1.444 GB, free: 8.863 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0003596/0.584, allocations: 71.91 kB / 1.444 GB, free: 8.793 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.584, allocations: 0 / 1.444 GB, free: 8.793 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0001538/0.5841, allocations: 35.97 kB / 1.444 GB, free: 8.758 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003431/0.5845, allocations: 11.94 kB / 1.444 GB, free: 8.746 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004605/0.585, allocations: 180.2 kB / 1.444 GB, free: 8.539 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.879e-05/0.585, allocations: 71.33 kB / 1.444 GB, free: 8.449 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.698e-05/0.5851, allocations: 7.438 kB / 1.444 GB, free: 8.441 MB / 1.139 GB Notification: Performance of SimCode: time 6.81e-07/0.5851, allocations: 0 / 1.444 GB, free: 8.441 MB / 1.139 GB Notification: Performance of Templates: time 0.003047/0.5881, allocations: 0.9241 MB / 1.445 GB, free: 7.52 MB / 1.139 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.sim & ./Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Density_pTX -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Psychrometrics.Examples.Density_pTX_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Psychrometrics_Examples_Density_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.583742603193969]