Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Utilities.IO.Files.Examples.Printer.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.001214/0.001214, allocations: 80.8 kB / 20.75 MB, free: 3.742 MB / 18.57 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.001339/0.001339, allocations: 161 kB / 24.16 MB, free: 336 kB / 18.57 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 0.9723/0.9723, allocations: 177.2 MB / 204.6 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.942/1.942, allocations: 389.6 MB / 0.6354 GB, free: 12.27 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.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.IO.Files.Examples.Printer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.IO.Files.Examples.Printer") translateModel(Buildings.Utilities.IO.Files.Examples.Printer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.IO.Files.Examples.Printer") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.824e-06/1.824e-06, allocations: 0 / 0.7752 GB, free: 5.41 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.997e-05/2.179e-05, allocations: 7.141 kB / 0.7752 GB, free: 5.406 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.Printer): time 0.002007/0.002028, allocations: 1.678 MB / 0.7768 GB, free: 3.738 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0009929/0.003021, allocations: 0.7598 MB / 0.7776 GB, free: 2.98 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.432e-05/0.003066, allocations: 3.938 kB / 0.7776 GB, free: 2.977 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001014/0.003167, allocations: 12.64 kB / 0.7776 GB, free: 2.965 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 4.893e-05/0.003216, allocations: 27.7 kB / 0.7776 GB, free: 2.945 MB / 0.7292 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/Utilities/IO/Files/BaseClasses/printRealArray.mo:2:1-45:19:writable] Warning: Pure function 'Buildings.Utilities.IO.Files.BaseClasses.printRealArray' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.0003514/0.003567, allocations: 106.4 kB / 0.7777 GB, free: 2.844 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001479/0.003715, allocations: 147.5 kB / 0.7778 GB, free: 2.699 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001005/0.003816, allocations: 28.69 kB / 0.7779 GB, free: 2.676 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 9.529e-05/0.003911, allocations: 79.8 kB / 0.7779 GB, free: 2.598 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 7.182e-05/0.003983, allocations: 55.8 kB / 0.778 GB, free: 2.543 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.045e-05/0.004003, allocations: 12 kB / 0.778 GB, free: 2.531 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001079/0.004111, allocations: 51.95 kB / 0.7781 GB, free: 2.48 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 3.901e-05/0.00415, allocations: 27.92 kB / 0.7781 GB, free: 2.453 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 4.068e-05/0.004191, allocations: 39.89 kB / 0.7781 GB, free: 2.414 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001762/0.004367, allocations: 155.4 kB / 0.7783 GB, free: 2.262 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.973e-06/0.004369, allocations: 3.812 kB / 0.7783 GB, free: 2.262 MB / 0.7292 GB Notification: Performance of FrontEnd: time 8.51e-07/0.00437, allocations: 0 / 0.7783 GB, free: 2.262 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.136e-06/0.004373, allocations: 0 / 0.7783 GB, free: 2.262 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.000464/0.004837, allocations: 453.2 kB / 0.7787 GB, free: 1.777 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.132e-05/0.004868, allocations: 13.34 kB / 0.7787 GB, free: 1.766 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.833e-05/0.004907, allocations: 13.55 kB / 0.7787 GB, free: 1.754 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001423/0.005049, allocations: 157.5 kB / 0.7789 GB, free: 1.574 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.133e-05/0.00506, allocations: 9.281 kB / 0.7789 GB, free: 1.566 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.408e-05/0.005074, allocations: 12.36 kB / 0.7789 GB, free: 1.555 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001443/0.005219, allocations: 104.8 kB / 0.779 GB, free: 1.438 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.00523, allocations: 192 / 0.779 GB, free: 1.438 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.969e-06/0.00524, allocations: 4.375 kB / 0.779 GB, free: 1.434 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.892e-06/0.005247, allocations: 8.688 kB / 0.779 GB, free: 1.426 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.762e-05/0.005274, allocations: 19.92 kB / 0.779 GB, free: 1.406 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003108/0.005585, allocations: 292.6 kB / 0.7793 GB, free: 1.102 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 5.81e-05/0.005643, allocations: 45.16 kB / 0.7794 GB, free: 1.039 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.68e-05/0.00567, allocations: 26.34 kB / 0.7794 GB, free: 1.008 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.158e-05/0.005692, allocations: 8.781 kB / 0.7794 GB, free: 1 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001146/0.005806, allocations: 109.5 kB / 0.7795 GB, free: 0.875 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=12): time 1.092e-06/0.005807, allocations: 0 / 0.7795 GB, free: 0.875 MB / 0.7292 GB Notification: Performance of matching and sorting (n=12): time 0.0001434/0.005951, allocations: 81.59 kB / 0.7796 GB, free: 0.7891 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.805e-05/0.005989, allocations: 85.11 kB / 0.7797 GB, free: 0.6875 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.266e-05/0.006071, allocations: 162.5 kB / 0.7798 GB, free: 0.5156 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.857e-05/0.00609, allocations: 35.3 kB / 0.7798 GB, free: 488 kB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.706e-05/0.006127, allocations: 104.3 kB / 0.7799 GB, free: 376 kB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.576e-05/0.006153, allocations: 23.84 kB / 0.78 GB, free: 352 kB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.955e-05/0.006202, allocations: 37.69 kB / 0.78 GB, free: 308 kB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.836e-05/0.006291, allocations: 331.4 kB / 0.7803 GB, free: 15.97 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.662e-05/0.006307, allocations: 8 kB / 0.7803 GB, free: 15.96 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.255e-05/0.00638, allocations: 156.5 kB / 0.7805 GB, free: 15.75 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.97e-05/0.00646, allocations: 105.8 kB / 0.7806 GB, free: 15.62 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.006462, allocations: 3.938 kB / 0.7806 GB, free: 15.62 MB / 0.7448 GB Notification: Performance of matching and sorting (n=15) (initialization): time 9.581e-05/0.006558, allocations: 107.6 kB / 0.7807 GB, free: 15.51 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.169e-05/0.006569, allocations: 4 kB / 0.7807 GB, free: 15.51 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.006574, allocations: 4.5 kB / 0.7807 GB, free: 15.5 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.006586, allocations: 0.6875 kB / 0.7807 GB, free: 15.5 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.713e-05/0.006653, allocations: 23.92 kB / 0.7807 GB, free: 15.48 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.006659, allocations: 5.469 kB / 0.7807 GB, free: 15.48 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.144e-05/0.0067, allocations: 11.94 kB / 0.7807 GB, free: 15.46 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.396e-06/0.006709, allocations: 8 kB / 0.7807 GB, free: 15.46 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 13 (pri2.firstTrigger,$PRE.pri2.firstTrigger,pri1.firstTrigger,$PRE.pri1.firstTrigger,$whenCondition4,pri1.sampleTrigger,$whenCondition2,pri2.sampleTrigger,$whenCondition3,pri3.firstTrigger,$PRE.pri3.firstTrigger,pri3.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.252e-05/0.006781, allocations: 129.3 kB / 0.7809 GB, free: 15.32 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.115e-05/0.006802, allocations: 21.05 kB / 0.7809 GB, free: 15.3 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.851e-05/0.006841, allocations: 17.47 kB / 0.7809 GB, free: 15.28 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.006843, allocations: 0 / 0.7809 GB, free: 15.28 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.754e-06/0.006845, allocations: 0.9062 kB / 0.7809 GB, free: 15.28 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.00685, allocations: 7.984 kB / 0.7809 GB, free: 15.27 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002545/0.007104, allocations: 341.8 kB / 0.7812 GB, free: 14.91 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.007106, allocations: 0.875 kB / 0.7812 GB, free: 14.91 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.001e-05/0.007146, allocations: 11.98 kB / 0.7812 GB, free: 14.9 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.007148, allocations: 0.5312 kB / 0.7812 GB, free: 14.9 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-06/0.007154, allocations: 5.188 kB / 0.7812 GB, free: 14.9 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.007155, allocations: 0 / 0.7812 GB, free: 14.9 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.007156, allocations: 0 / 0.7812 GB, free: 14.9 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000123/0.007279, allocations: 254.7 kB / 0.7815 GB, free: 14.63 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.182e-05/0.007291, allocations: 20.98 kB / 0.7815 GB, free: 14.61 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.039e-05/0.007302, allocations: 0 / 0.7815 GB, free: 14.61 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.012e-05/0.007382, allocations: 17.3 kB / 0.7815 GB, free: 14.6 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.768e-05/0.007409, allocations: 7.984 kB / 0.7815 GB, free: 14.59 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.947e-05/0.007429, allocations: 4 kB / 0.7815 GB, free: 14.59 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.991e-05/0.007459, allocations: 44.69 kB / 0.7816 GB, free: 14.54 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.007459, allocations: 0 / 0.7816 GB, free: 14.54 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002024/0.007661, allocations: 43.92 kB / 0.7816 GB, free: 14.5 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 (pri3.sampleTrigger,$whenCondition1,pri3.firstTrigger,pri2.sampleTrigger,pri1.sampleTrigger,$whenCondition4,$whenCondition3,$whenCondition2,pri1.firstTrigger,pri2.firstTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0003525/0.008014, allocations: 205.2 kB / 0.7818 GB, free: 14.35 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001092/0.008123, allocations: 55.38 kB / 0.7819 GB, free: 14.29 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.008127, allocations: 7.25 kB / 0.7819 GB, free: 14.29 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.855e-05/0.008165, allocations: 36.77 kB / 0.7819 GB, free: 14.25 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001972/0.008363, allocations: 20.11 kB / 0.7819 GB, free: 14.23 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003206/0.008683, allocations: 260.4 kB / 0.7822 GB, free: 13.95 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.151e-05/0.008725, allocations: 71.33 kB / 0.7822 GB, free: 13.86 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.842e-05/0.008763, allocations: 15.39 kB / 0.7823 GB, free: 13.85 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.186e-05/0.008825, allocations: 75.34 kB / 0.7823 GB, free: 13.77 MB / 0.7448 GB Notification: Performance of SimCode: time 4.51e-07/0.008825, allocations: 0 / 0.7823 GB, free: 13.77 MB / 0.7448 GB Notification: Performance of Templates: time 0.003786/0.01261, allocations: 1.904 MB / 0.7842 GB, free: 12.02 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Utilities.IO.Files.Examples.Printer.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Utilities.IO.Files.Examples.Printer.pipe ; mkfifo Buildings_13_Buildings.Utilities.IO.Files.Examples.Printer.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.IO.Files.Examples.Printer.pipe >> ../files/Buildings_13_Buildings.Utilities.IO.Files.Examples.Printer.sim & (cd run_cvode && ../Buildings_13_Buildings.Utilities.IO.Files.Examples.Printer -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > Buildings_13_Buildings.Utilities.IO.Files.Examples.Printer.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Utilities.IO.Files.Examples.Printer_gbode.pipe ; mkfifo Buildings_13_Buildings.Utilities.IO.Files.Examples.Printer_gbode.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.IO.Files.Examples.Printer_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Utilities.IO.Files.Examples.Printer_gbode.sim & (cd run_gbode && ../Buildings_13_Buildings.Utilities.IO.Files.Examples.Printer -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > Buildings_13_Buildings.Utilities.IO.Files.Examples.Printer_gbode.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Utilities.IO.Files.Examples.Printer_ida.pipe ; mkfifo Buildings_13_Buildings.Utilities.IO.Files.Examples.Printer_ida.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.IO.Files.Examples.Printer_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Utilities.IO.Files.Examples.Printer_ida.sim & (cd run_ida && ../Buildings_13_Buildings.Utilities.IO.Files.Examples.Printer -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > Buildings_13_Buildings.Utilities.IO.Files.Examples.Printer_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.993618286214769]