Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001694/0.001694, allocations: 104.2 kB / 18.19 MB, free: 4.145 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001874/0.001874, allocations: 192.4 kB / 21.34 MB, free: 1.004 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.489/1.489, allocations: 225.6 MB / 249.9 MB, free: 13.61 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.538/2.538, allocations: 443.5 MB / 0.731 GB, free: 12.74 MB / 0.5919 GB [Timeout remaining time 87] 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.IO.Files.Examples.Printer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=503,variableFilter="time|pri1.x.1.|pri1.x.2.",fileNamePrefix="Buildings_10_Buildings.Utilities.IO.Files.Examples.Printer") translateModel(Buildings.Utilities.IO.Files.Examples.Printer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=503,variableFilter="time|pri1.x.1.|pri1.x.2.",fileNamePrefix="Buildings_10_Buildings.Utilities.IO.Files.Examples.Printer") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.001987/0.001987, allocations: 71.89 kB / 1.06 GB, free: 4.062 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7794/0.7813, allocations: 160.7 MB / 1.217 GB, free: 4.055 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.Printer): time 0.003394/0.7847, allocations: 1.6 MB / 1.218 GB, free: 2.801 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001584/0.7863, allocations: 0.6964 MB / 1.219 GB, free: 2.266 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001079/0.7864, allocations: 1.344 kB / 1.219 GB, free: 2.266 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001285/0.7866, allocations: 15.81 kB / 1.219 GB, free: 2.25 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.662e-05/0.7866, allocations: 18.39 kB / 1.219 GB, free: 2.234 MB / 0.92 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.0005914/0.7872, allocations: 112.6 kB / 1.219 GB, free: 2.152 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002758/0.7875, allocations: 139.8 kB / 1.219 GB, free: 2.07 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001636/0.7877, allocations: 23.77 kB / 1.219 GB, free: 2.055 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000136/0.7878, allocations: 53.2 kB / 1.219 GB, free: 2.023 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001434/0.7879, allocations: 67.78 kB / 1.219 GB, free: 1.977 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.092e-05/0.788, allocations: 9.656 kB / 1.219 GB, free: 1.977 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001596/0.7881, allocations: 53.69 kB / 1.219 GB, free: 1.953 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 7.301e-05/0.7882, allocations: 40.11 kB / 1.219 GB, free: 1.922 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 9.126e-05/0.7883, allocations: 58.25 kB / 1.219 GB, free: 1.879 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003457/0.7886, allocations: 166.6 kB / 1.219 GB, free: 1.77 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.7886, allocations: 1.156 kB / 1.219 GB, free: 1.77 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.443e-06/0.7886, allocations: 0 / 1.219 GB, free: 1.77 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.223e-06/0.7887, allocations: 0 / 1.219 GB, free: 1.77 MB / 0.92 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.001005/0.7897, allocations: 0.5542 MB / 1.22 GB, free: 1.215 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.7897, allocations: 10.77 kB / 1.22 GB, free: 1.215 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.578e-05/0.7898, allocations: 17.34 kB / 1.22 GB, free: 1.207 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002789/0.7901, allocations: 227.6 kB / 1.22 GB, free: 0.9609 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.626e-05/0.7901, allocations: 4.469 kB / 1.22 GB, free: 0.9609 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.315e-05/0.7901, allocations: 11.09 kB / 1.22 GB, free: 0.957 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003456/0.7905, allocations: 134.7 kB / 1.22 GB, free: 0.8594 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.948e-06/0.7905, allocations: 3.938 kB / 1.22 GB, free: 0.8555 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.551e-05/0.7905, allocations: 1.125 kB / 1.22 GB, free: 0.8555 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.7905, allocations: 2.812 kB / 1.22 GB, free: 0.8555 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002428/0.7907, allocations: 68.47 kB / 1.22 GB, free: 0.8242 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007192/0.7914, allocations: 470.7 kB / 1.221 GB, free: 376 kB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002185/0.7917, allocations: 84.59 kB / 1.221 GB, free: 300 kB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001434/0.7918, allocations: 49.22 kB / 1.221 GB, free: 264 kB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.507e-05/0.7918, allocations: 1.094 kB / 1.221 GB, free: 264 kB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003324/0.7922, allocations: 140.8 kB / 1.221 GB, free: 152 kB / 0.92 GB Notification: Performance of pre-optimization done (n=12): time 1.453e-06/0.7922, allocations: 4 kB / 1.221 GB, free: 148 kB / 0.92 GB Notification: Performance of matching and sorting (n=12): time 0.0006334/0.7928, allocations: 190 kB / 1.221 GB, free: 44 kB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.484e-05/0.7929, allocations: 83.39 kB / 1.221 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002064/0.7931, allocations: 154.5 kB / 1.222 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.891e-05/0.7931, allocations: 35.91 kB / 1.222 GB, free: 15.78 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.000111/0.7933, allocations: 115.9 kB / 1.222 GB, free: 15.67 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.365e-05/0.7933, allocations: 27.91 kB / 1.222 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.669e-05/0.7934, allocations: 34.33 kB / 1.222 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000157/0.7935, allocations: 330.5 kB / 1.222 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001467/0.7937, allocations: 33.03 kB / 1.222 GB, free: 15.28 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002066/0.7939, allocations: 122.9 kB / 1.222 GB, free: 15.15 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000322/0.7942, allocations: 148.2 kB / 1.222 GB, free: 15.03 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.7942, allocations: 1.156 kB / 1.222 GB, free: 15.03 MB / 0.9356 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004021/0.7946, allocations: 164.7 kB / 1.223 GB, free: 14.94 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.7946, allocations: 5.531 kB / 1.223 GB, free: 14.94 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/0.7946, allocations: 2.75 kB / 1.223 GB, free: 14.94 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.7946, allocations: 3.453 kB / 1.223 GB, free: 14.94 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001202/0.7948, allocations: 34.44 kB / 1.223 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.7948, allocations: 3.25 kB / 1.223 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001099/0.7949, allocations: 20.25 kB / 1.223 GB, free: 14.9 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.278e-05/0.7949, allocations: 5.312 kB / 1.223 GB, free: 14.9 MB / 0.9356 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.0001483/0.795, allocations: 134.5 kB / 1.223 GB, free: 14.77 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.197e-05/0.7951, allocations: 11.48 kB / 1.223 GB, free: 14.77 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.379e-05/0.7951, allocations: 17.89 kB / 1.223 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.7951, allocations: 1.438 kB / 1.223 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.7951, allocations: 5.125 kB / 1.223 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/0.7951, allocations: 5.156 kB / 1.223 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008065/0.796, allocations: 0.5361 MB / 1.223 GB, free: 14.25 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.205e-06/0.796, allocations: 0 / 1.223 GB, free: 14.25 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.362e-05/0.796, allocations: 13.11 kB / 1.223 GB, free: 14.25 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.424e-06/0.7961, allocations: 4.75 kB / 1.223 GB, free: 14.24 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.235e-05/0.7961, allocations: 5.469 kB / 1.223 GB, free: 14.24 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.7961, allocations: 2.125 kB / 1.223 GB, free: 14.24 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.7961, allocations: 0 / 1.223 GB, free: 14.24 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004873/0.7966, allocations: 325 kB / 1.224 GB, free: 13.97 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.908e-05/0.7966, allocations: 93.42 kB / 1.224 GB, free: 13.87 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.319e-05/0.7966, allocations: 10 kB / 1.224 GB, free: 13.86 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001855/0.7968, allocations: 20.75 kB / 1.224 GB, free: 13.85 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.495e-05/0.7969, allocations: 5.031 kB / 1.224 GB, free: 13.85 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.394e-05/0.7969, allocations: 18.39 kB / 1.224 GB, free: 13.84 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001067/0.797, allocations: 123.3 kB / 1.224 GB, free: 13.74 MB / 0.9356 GB Notification: Performance of sort global known variables: time 6e-08/0.797, allocations: 0 / 1.224 GB, free: 13.74 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003792/0.7974, allocations: 40.42 kB / 1.224 GB, free: 13.73 MB / 0.9356 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.0005316/0.7979, allocations: 204 kB / 1.224 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003792/0.7983, allocations: 101.2 kB / 1.224 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.7983, allocations: 0 / 1.224 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001737/0.7985, allocations: 64.22 kB / 1.224 GB, free: 13.52 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003799/0.7989, allocations: 19.05 kB / 1.224 GB, free: 13.52 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000614/0.7995, allocations: 281.9 kB / 1.225 GB, free: 13.27 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003604/0.7999, allocations: 0.7187 MB / 1.225 GB, free: 12.55 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.408e-05/0.7999, allocations: 15.84 kB / 1.225 GB, free: 12.55 MB / 0.9356 GB Notification: Performance of SimCode: time 5.51e-07/0.7999, allocations: 0 / 1.225 GB, free: 12.55 MB / 0.9356 GB Notification: Performance of Templates: time 0.004995/0.8049, allocations: 2.074 MB / 1.227 GB, free: 11.47 MB / 0.9356 GB [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Utilities.IO.Files.Examples.Printer.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.IO.Files.Examples.Printer.pipe ; mkfifo Buildings_10_Buildings.Utilities.IO.Files.Examples.Printer.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.IO.Files.Examples.Printer.pipe >> ../files/Buildings_10_Buildings.Utilities.IO.Files.Examples.Printer.sim & ./Buildings_10_Buildings.Utilities.IO.Files.Examples.Printer -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.IO.Files.Examples.Printer.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Utilities.IO.Files.Examples.Printer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_IO_Files_Examples_Printer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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