Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.IO.Files.Examples.Printer.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.001592/0.001592, allocations: 114.5 kB / 18.88 MB, free: 3.062 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.001659/0.001659, allocations: 194.8 kB / 22.17 MB, free: 5.656 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.423/1.423, allocations: 225.6 MB / 250.9 MB, free: 13.3 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.8/2.8, allocations: 476.7 MB / 0.7645 GB, free: 10.09 MB / 0.6231 GB " [Timeout remaining time 177] 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.IO.Files.Examples.Printer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pri1.x.1.|pri1.x.2.",fileNamePrefix="Buildings_11_Buildings.Utilities.IO.Files.Examples.Printer") translateModel(Buildings.Utilities.IO.Files.Examples.Printer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pri1.x.1.|pri1.x.2.",fileNamePrefix="Buildings_11_Buildings.Utilities.IO.Files.Examples.Printer") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002186/0.002186, allocations: 71.89 kB / 1.109 GB, free: 6.551 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9193/0.9215, allocations: 168.7 MB / 1.274 GB, free: 4.559 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.Printer): time 0.002821/0.9243, allocations: 1.596 MB / 1.276 GB, free: 2.957 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001383/0.9257, allocations: 0.7184 MB / 1.276 GB, free: 2.234 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.393e-05/0.9257, allocations: 0 / 1.276 GB, free: 2.234 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 9.917e-05/0.9258, allocations: 11.88 kB / 1.276 GB, free: 2.223 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.906e-05/0.9259, allocations: 27.67 kB / 1.276 GB, free: 2.195 MB / 0.9669 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.0004329/0.9263, allocations: 103.8 kB / 1.276 GB, free: 2.094 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000203/0.9265, allocations: 135.6 kB / 1.277 GB, free: 1.961 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001317/0.9267, allocations: 32.97 kB / 1.277 GB, free: 1.93 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.11e-05/0.9267, allocations: 47.84 kB / 1.277 GB, free: 1.883 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 9.829e-05/0.9268, allocations: 63.73 kB / 1.277 GB, free: 1.82 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.874e-05/0.9269, allocations: 16 kB / 1.277 GB, free: 1.805 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001218/0.927, allocations: 51.97 kB / 1.277 GB, free: 1.754 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 6.303e-05/0.9271, allocations: 35.83 kB / 1.277 GB, free: 1.719 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 7.235e-05/0.9271, allocations: 55.67 kB / 1.277 GB, free: 1.664 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000256/0.9274, allocations: 174 kB / 1.277 GB, free: 1.496 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.9274, allocations: 0 / 1.277 GB, free: 1.496 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.603e-06/0.9274, allocations: 4 kB / 1.277 GB, free: 1.492 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.018e-05/0.9274, allocations: 0 / 1.277 GB, free: 1.492 MB / 0.9669 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.0009355/0.9283, allocations: 0.5466 MB / 1.278 GB, free: 0.8789 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.9284, allocations: 12.03 kB / 1.278 GB, free: 0.8672 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.23e-05/0.9284, allocations: 20.83 kB / 1.278 GB, free: 0.8477 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002447/0.9287, allocations: 216.1 kB / 1.278 GB, free: 0.5977 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.009e-05/0.9287, allocations: 8.375 kB / 1.278 GB, free: 0.5898 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.867e-05/0.9287, allocations: 8.375 kB / 1.278 GB, free: 0.582 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003312/0.9291, allocations: 139.6 kB / 1.278 GB, free: 444 kB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.9291, allocations: 4 kB / 1.278 GB, free: 440 kB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.027e-05/0.9291, allocations: 7.984 kB / 1.278 GB, free: 432 kB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.9291, allocations: 0 / 1.278 GB, free: 432 kB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002573/0.9293, allocations: 67.94 kB / 1.278 GB, free: 364 kB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006905/0.93, allocations: 468.7 kB / 1.278 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002121/0.9302, allocations: 81.11 kB / 1.279 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000146/0.9304, allocations: 49.81 kB / 1.279 GB, free: 15.69 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.346e-05/0.9304, allocations: 0 / 1.279 GB, free: 15.69 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003369/0.9308, allocations: 141 kB / 1.279 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=12): time 1.313e-06/0.9308, allocations: 4 kB / 1.279 GB, free: 15.53 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12): time 0.0005895/0.9313, allocations: 189.7 kB / 1.279 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.294e-05/0.9314, allocations: 81.11 kB / 1.279 GB, free: 15.24 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001424/0.9316, allocations: 158.4 kB / 1.279 GB, free: 15.08 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.126e-05/0.9316, allocations: 29.8 kB / 1.279 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.3e-05/0.9317, allocations: 124.2 kB / 1.279 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.923e-05/0.9317, allocations: 31.78 kB / 1.279 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.709e-05/0.9318, allocations: 33.7 kB / 1.279 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001568/0.9319, allocations: 330.8 kB / 1.28 GB, free: 14.51 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001354/0.9321, allocations: 35.97 kB / 1.28 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002029/0.9323, allocations: 126.1 kB / 1.28 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003328/0.9326, allocations: 143.5 kB / 1.28 GB, free: 14.15 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.059e-06/0.9326, allocations: 4 kB / 1.28 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003873/0.933, allocations: 165.3 kB / 1.28 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.933, allocations: 8 kB / 1.28 GB, free: 13.97 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.933, allocations: 0 / 1.28 GB, free: 13.97 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.933, allocations: 4 kB / 1.28 GB, free: 13.96 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001119/0.9331, allocations: 20.27 kB / 1.28 GB, free: 13.95 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.468e-06/0.9331, allocations: 7.938 kB / 1.28 GB, free: 13.94 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001028/0.9332, allocations: 20.03 kB / 1.28 GB, free: 13.92 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.172e-05/0.9333, allocations: 7.938 kB / 1.28 GB, free: 13.91 MB / 0.9825 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 0.0001305/0.9334, allocations: 134.3 kB / 1.28 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.035e-05/0.9334, allocations: 15.91 kB / 1.28 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.218e-05/0.9335, allocations: 21.39 kB / 1.28 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.9335, allocations: 0 / 1.28 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.9335, allocations: 8 kB / 1.28 GB, free: 13.72 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.9335, allocations: 3.938 kB / 1.28 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007535/0.9342, allocations: 0.5291 MB / 1.281 GB, free: 13.13 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.9342, allocations: 0 / 1.281 GB, free: 13.13 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.038e-05/0.9343, allocations: 15.92 kB / 1.281 GB, free: 13.11 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.644e-06/0.9343, allocations: 7.969 kB / 1.281 GB, free: 13.11 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.396e-05/0.9343, allocations: 12 kB / 1.281 GB, free: 13.09 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.9343, allocations: 0 / 1.281 GB, free: 13.09 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.9343, allocations: 0 / 1.281 GB, free: 13.09 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000443/0.9348, allocations: 314.7 kB / 1.281 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.288e-05/0.9349, allocations: 89.02 kB / 1.281 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.488e-05/0.9349, allocations: 11.94 kB / 1.281 GB, free: 12.65 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001845/0.9351, allocations: 19.92 kB / 1.281 GB, free: 12.63 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.997e-05/0.9351, allocations: 15.92 kB / 1.281 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.372e-05/0.9351, allocations: 8.078 kB / 1.281 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.399e-05/0.9352, allocations: 128.2 kB / 1.281 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.9352, allocations: 0 / 1.281 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003407/0.9356, allocations: 35.94 kB / 1.282 GB, free: 12.45 MB / 0.9825 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.0004896/0.9361, allocations: 217.5 kB / 1.282 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003927/0.9365, allocations: 103.8 kB / 1.282 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.9365, allocations: 0 / 1.282 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001686/0.9366, allocations: 56.47 kB / 1.282 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003672/0.937, allocations: 19.97 kB / 1.282 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004926/0.9375, allocations: 259.3 kB / 1.282 GB, free: 11.81 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003513/0.9378, allocations: 0.7158 MB / 1.283 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.432e-05/0.9379, allocations: 24.53 kB / 1.283 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.29e-05/0.9379, allocations: 11.44 kB / 1.283 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of SimCode: time 4.1e-07/0.9379, allocations: 4 kB / 1.283 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of Templates: time 0.005671/0.9436, allocations: 1.81 MB / 1.285 GB, free: 9.23 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.IO.Files.Examples.Printer.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.IO.Files.Examples.Printer.pipe ; mkfifo Buildings_11_Buildings.Utilities.IO.Files.Examples.Printer.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.IO.Files.Examples.Printer.pipe >> ../files/Buildings_11_Buildings.Utilities.IO.Files.Examples.Printer.sim & ./Buildings_11_Buildings.Utilities.IO.Files.Examples.Printer -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.IO.Files.Examples.Printer.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.IO.Files.Examples.Printer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_IO_Files_Examples_Printer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.IO.Files.Examples.Printer.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.725389402359724]