Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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=5000,variableFilter="time|pri1.x.1.|pri1.x.2.",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.Files.Examples.Printer") translateModel(Buildings.Utilities.IO.Files.Examples.Printer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pri1.x.1.|pri1.x.2.",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.Files.Examples.Printer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001672/0.001672, allocations: 109 kB / 16.42 MB, free: 6.457 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001905/0.001905, allocations: 189.4 kB / 17.35 MB, free: 5.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.44/1.44, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.69/2.69, allocations: 461.9 MB / 0.7355 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001578/0.001578, allocations: 63.91 kB / 1.055 GB, free: 7.707 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9748/0.9763, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.Printer): time 0.002925/0.9793, allocations: 1.581 MB / 1.21 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001413/0.9808, allocations: 0.6935 MB / 1.211 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.112e-05/0.9809, allocations: 4 kB / 1.211 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001644/0.9811, allocations: 23.8 kB / 1.211 GB, free: 11.31 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.000105/0.9812, allocations: 11.81 kB / 1.211 GB, free: 11.3 MB / 0.9356 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.0009002/0.9821, allocations: 111.7 kB / 1.211 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0003365/0.9825, allocations: 139.5 kB / 1.211 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002275/0.9827, allocations: 37.09 kB / 1.211 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000174/0.9829, allocations: 51.84 kB / 1.211 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001413/0.9831, allocations: 59.73 kB / 1.211 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.978e-05/0.9831, allocations: 12 kB / 1.211 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001979/0.9833, allocations: 55.91 kB / 1.211 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 7.128e-05/0.9834, allocations: 31.84 kB / 1.211 GB, free: 10.81 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 9.62e-05/0.9835, allocations: 59.66 kB / 1.211 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003015/0.9838, allocations: 167.3 kB / 1.211 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.9839, allocations: 8 kB / 1.211 GB, free: 10.58 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.893e-06/0.9839, allocations: 0 / 1.211 GB, free: 10.58 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.522e-06/0.9839, allocations: 0 / 1.211 GB, free: 10.58 MB / 0.9356 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.0009961/0.9849, allocations: 0.5446 MB / 1.212 GB, free: 9.973 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.804e-05/0.9849, allocations: 8.031 kB / 1.212 GB, free: 9.965 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.007e-05/0.985, allocations: 16.84 kB / 1.212 GB, free: 9.949 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002662/0.9853, allocations: 221.2 kB / 1.212 GB, free: 9.695 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.021e-05/0.9853, allocations: 8.375 kB / 1.212 GB, free: 9.688 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.313e-05/0.9854, allocations: 8.375 kB / 1.212 GB, free: 9.68 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003327/0.9857, allocations: 131.6 kB / 1.212 GB, free: 9.539 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.9857, allocations: 0 / 1.212 GB, free: 9.539 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.57e-05/0.9857, allocations: 8 kB / 1.212 GB, free: 9.531 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.9857, allocations: 4 kB / 1.212 GB, free: 9.527 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002408/0.986, allocations: 71.88 kB / 1.212 GB, free: 9.457 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006446/0.9866, allocations: 460.7 kB / 1.213 GB, free: 8.953 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001997/0.9869, allocations: 81.12 kB / 1.213 GB, free: 8.855 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001372/0.987, allocations: 49.81 kB / 1.213 GB, free: 8.801 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.661e-05/0.987, allocations: 3.938 kB / 1.213 GB, free: 8.797 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004154/0.9875, allocations: 149 kB / 1.213 GB, free: 8.633 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=12): time 3.656e-06/0.9875, allocations: 3.984 kB / 1.213 GB, free: 8.629 MB / 0.9356 GB Notification: Performance of matching and sorting (n=12): time 0.0006034/0.9881, allocations: 185.3 kB / 1.213 GB, free: 8.441 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.544e-05/0.9881, allocations: 85.11 kB / 1.213 GB, free: 8.34 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001638/0.9883, allocations: 171.4 kB / 1.213 GB, free: 8.16 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.157e-05/0.9884, allocations: 29.64 kB / 1.214 GB, free: 8.125 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 9.148e-05/0.9885, allocations: 112.3 kB / 1.214 GB, free: 8.008 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.007e-05/0.9885, allocations: 27.61 kB / 1.214 GB, free: 7.98 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.52e-05/0.9886, allocations: 37.7 kB / 1.214 GB, free: 7.938 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001319/0.9887, allocations: 326.8 kB / 1.214 GB, free: 7.609 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001318/0.9889, allocations: 43.95 kB / 1.214 GB, free: 7.566 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001957/0.9891, allocations: 110.3 kB / 1.214 GB, free: 7.422 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003105/0.9894, allocations: 147.5 kB / 1.214 GB, free: 7.25 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.9894, allocations: 0 / 1.214 GB, free: 7.25 MB / 0.9356 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003933/0.9898, allocations: 169.4 kB / 1.214 GB, free: 7.078 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.59e-05/0.9898, allocations: 8 kB / 1.214 GB, free: 7.07 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.9898, allocations: 3.984 kB / 1.214 GB, free: 7.066 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.116e-05/0.9899, allocations: 4 kB / 1.214 GB, free: 7.062 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001155/0.99, allocations: 19.92 kB / 1.214 GB, free: 7.043 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.042e-05/0.99, allocations: 4 kB / 1.214 GB, free: 7.039 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000103/0.9901, allocations: 15.98 kB / 1.215 GB, free: 7.023 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.806e-05/0.9901, allocations: 8.047 kB / 1.215 GB, free: 7.016 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.0001259/0.9903, allocations: 141.8 kB / 1.215 GB, free: 6.867 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.011e-05/0.9903, allocations: 15.89 kB / 1.215 GB, free: 6.852 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.671e-05/0.9904, allocations: 17.41 kB / 1.215 GB, free: 6.828 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-06/0.9904, allocations: 0 / 1.215 GB, free: 6.828 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.9904, allocations: 0 / 1.215 GB, free: 6.828 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.664e-05/0.9904, allocations: 92.91 kB / 1.215 GB, free: 6.719 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.397e-05/0.9905, allocations: 11.94 kB / 1.215 GB, free: 6.707 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001192/0.9906, allocations: 15.98 kB / 1.215 GB, free: 6.691 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.209e-05/0.9907, allocations: 11.98 kB / 1.215 GB, free: 6.68 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004441/0.9911, allocations: 304.4 kB / 1.215 GB, free: 6.375 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005825/0.9917, allocations: 405.8 kB / 1.215 GB, free: 5.961 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001521/0.9919, allocations: 51.95 kB / 1.216 GB, free: 5.91 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.233e-05/0.992, allocations: 115.2 kB / 1.216 GB, free: 5.797 MB / 0.9356 GB Notification: Performance of Backend: time 5.51e-07/0.992, allocations: 0 / 1.216 GB, free: 5.797 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000931/0.9929, allocations: 250.2 kB / 1.216 GB, free: 5.586 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0008079/0.9937, allocations: 0.6676 MB / 1.217 GB, free: 4.871 MB / 0.9356 GB Notification: Performance of Templates: time 0.006078/0.9998, allocations: 1.999 MB / 1.218 GB, free: 2.887 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Utilities.IO.Files.Examples.Printer.makefile (rm -f Buildings_latest_Buildings.Utilities.IO.Files.Examples.Printer.pipe ; mkfifo Buildings_latest_Buildings.Utilities.IO.Files.Examples.Printer.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.IO.Files.Examples.Printer.pipe >> ../files/Buildings_latest_Buildings.Utilities.IO.Files.Examples.Printer.sim & ./Buildings_latest_Buildings.Utilities.IO.Files.Examples.Printer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.IO.Files.Examples.Printer.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.IO.Files.Examples.Printer_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_IO_Files_Examples_Printer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.IO.Files.Examples.Printer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches