Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.IO.Files.Examples.Printer.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.IO.Files.Examples.Printer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.Files.Examples.Printer") translateModel(Buildings.Utilities.IO.Files.Examples.Printer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.Files.Examples.Printer") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.689/1.689, allocations: 306.1 MB / 321.4 MB, free: 10.7 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001034/0.001034, allocations: 192.3 kB / 393.1 MB, free: 4.043 MB / 314.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.35/1.35, allocations: 225.7 MB / 0.6743 GB, free: 12.56 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007139/0.000714, allocations: 93.38 kB / 0.7935 GB, free: 40.12 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003069/0.000307, allocations: 15 kB / 0.9224 GB, free: 8.641 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5375/0.5378, allocations: 121.3 MB / 1.041 GB, free: 58.82 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.Printer): time 0.001559/0.5394, allocations: 1.288 MB / 1.042 GB, free: 57.99 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001093/0.5405, allocations: 1.036 MB / 1.043 GB, free: 57.08 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.299e-05/0.5406, allocations: 1.875 kB / 1.043 GB, free: 57.08 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 8.392e-05/0.5407, allocations: 10.22 kB / 1.043 GB, free: 57.07 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 4.732e-05/0.5407, allocations: 14.42 kB / 1.043 GB, free: 57.07 MB / 0.698 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-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.0003931/0.5411, allocations: 100 kB / 1.043 GB, free: 57.01 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001573/0.5413, allocations: 129.5 kB / 1.043 GB, free: 56.96 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001385/0.5415, allocations: 36.61 kB / 1.043 GB, free: 56.95 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 8.132e-05/0.5415, allocations: 40.72 kB / 1.043 GB, free: 56.93 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 8.335e-05/0.5416, allocations: 58.03 kB / 1.044 GB, free: 56.9 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.975e-05/0.5417, allocations: 4.219 kB / 1.044 GB, free: 56.9 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001055/0.5418, allocations: 45.66 kB / 1.044 GB, free: 56.89 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 4.895e-05/0.5418, allocations: 27.88 kB / 1.044 GB, free: 56.88 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 6.83e-05/0.5419, allocations: 75.72 kB / 1.044 GB, free: 56.82 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.000216/0.5421, allocations: 156.8 kB / 1.044 GB, free: 56.76 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.5421, allocations: 3.875 kB / 1.044 GB, free: 56.76 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.873e-06/0.5421, allocations: 0 / 1.044 GB, free: 56.76 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.978e-06/0.5422, allocations: 0 / 1.044 GB, free: 56.76 MB / 0.698 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.0006902/0.5428, allocations: 0.5302 MB / 1.044 GB, free: 56.26 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.5429, allocations: 13.56 kB / 1.044 GB, free: 56.26 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.563e-05/0.5429, allocations: 10.41 kB / 1.044 GB, free: 56.26 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001737/0.5431, allocations: 217.2 kB / 1.045 GB, free: 56.04 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.938e-05/0.5432, allocations: 11 kB / 1.045 GB, free: 56.03 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.299e-05/0.5432, allocations: 13.78 kB / 1.045 GB, free: 56.03 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002919/0.5435, allocations: 142.7 kB / 1.045 GB, free: 55.95 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.5435, allocations: 3.938 kB / 1.045 GB, free: 55.95 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/0.5435, allocations: 6.281 kB / 1.045 GB, free: 55.95 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.5435, allocations: 3.688 kB / 1.045 GB, free: 55.95 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002282/0.5438, allocations: 76.66 kB / 1.045 GB, free: 55.94 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000556/0.5443, allocations: 477.2 kB / 1.045 GB, free: 55.54 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001878/0.5445, allocations: 94.25 kB / 1.045 GB, free: 55.48 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001259/0.5447, allocations: 50.48 kB / 1.045 GB, free: 55.46 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.098e-05/0.5447, allocations: 9.094 kB / 1.045 GB, free: 55.45 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002827/0.545, allocations: 150.2 kB / 1.046 GB, free: 55.37 MB / 0.698 GB Notification: Performance of pre-optimization done (n=12): time 1.162e-06/0.545, allocations: 0.5 kB / 1.046 GB, free: 55.37 MB / 0.698 GB Notification: Performance of matching and sorting (n=12): time 0.0005244/0.5455, allocations: 209.2 kB / 1.046 GB, free: 55.3 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.656e-05/0.5456, allocations: 77.11 kB / 1.046 GB, free: 55.2 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001089/0.5457, allocations: 171.3 kB / 1.046 GB, free: 55.07 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.857e-05/0.5457, allocations: 34.95 kB / 1.046 GB, free: 55.04 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.545e-05/0.5458, allocations: 113.5 kB / 1.046 GB, free: 54.93 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.619e-05/0.5458, allocations: 29.95 kB / 1.046 GB, free: 54.91 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.46e-06/0.5458, allocations: 0 / 1.046 GB, free: 54.91 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.934e-05/0.5459, allocations: 330.2 kB / 1.046 GB, free: 54.58 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001278/0.546, allocations: 49.34 kB / 1.047 GB, free: 54.57 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001538/0.5462, allocations: 126.5 kB / 1.047 GB, free: 54.46 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002643/0.5464, allocations: 159.4 kB / 1.047 GB, free: 54.35 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.5465, allocations: 4 kB / 1.047 GB, free: 54.35 MB / 0.698 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003365/0.5468, allocations: 179.1 kB / 1.047 GB, free: 54.27 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.5468, allocations: 9.25 kB / 1.047 GB, free: 54.27 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.5468, allocations: 3.234 kB / 1.047 GB, free: 54.27 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.5468, allocations: 3.781 kB / 1.047 GB, free: 54.27 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001072/0.547, allocations: 29.23 kB / 1.047 GB, free: 54.26 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/0.547, allocations: 2.344 kB / 1.047 GB, free: 54.26 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.694e-05/0.5471, allocations: 25.64 kB / 1.047 GB, free: 54.25 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.235e-05/0.5471, allocations: 6.375 kB / 1.047 GB, free: 54.25 MB / 0.698 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 ($PRE.pri2.firstTrigger,pri2.firstTrigger,$PRE.pri1.firstTrigger,pri1.firstTrigger,$whenCondition4,$whenCondition2,pri1.sampleTrigger,$whenCondition3,pri2.sampleTrigger,$PRE.pri3.firstTrigger,pri3.firstTrigger,$whenCondition1,pri3.sampleTrigger) * 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 8.639e-05/0.5472, allocations: 137 kB / 1.047 GB, free: 54.12 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.091e-05/0.5472, allocations: 15.84 kB / 1.047 GB, free: 54.11 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.941e-05/0.5473, allocations: 20.92 kB / 1.047 GB, free: 54.11 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.5473, allocations: 0 / 1.047 GB, free: 54.11 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.5473, allocations: 1.781 kB / 1.047 GB, free: 54.11 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.451e-06/0.5473, allocations: 8.297 kB / 1.047 GB, free: 54.1 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005754/0.5479, allocations: 0.5405 MB / 1.048 GB, free: 53.67 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.5479, allocations: 0 / 1.048 GB, free: 53.67 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.205e-05/0.548, allocations: 26.97 kB / 1.048 GB, free: 53.66 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.548, allocations: 5.312 kB / 1.048 GB, free: 53.66 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.217e-05/0.548, allocations: 1.594 kB / 1.048 GB, free: 53.66 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.826e-06/0.548, allocations: 1.344 kB / 1.048 GB, free: 53.66 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.548, allocations: 0 / 1.048 GB, free: 53.66 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003567/0.5484, allocations: 335.9 kB / 1.048 GB, free: 53.42 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.902e-05/0.5484, allocations: 90.42 kB / 1.048 GB, free: 53.32 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.045e-05/0.5484, allocations: 12.34 kB / 1.048 GB, free: 53.31 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000173/0.5486, allocations: 25.42 kB / 1.048 GB, free: 53.3 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.291e-05/0.5487, allocations: 8.562 kB / 1.048 GB, free: 53.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.381e-05/0.5487, allocations: 12.89 kB / 1.048 GB, free: 53.3 MB / 0.698 GB Notification: Performance of sorting global known variables: time 6.261e-05/0.5488, allocations: 124.7 kB / 1.048 GB, free: 53.21 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5488, allocations: 0 / 1.048 GB, free: 53.21 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002989/0.5491, allocations: 37.73 kB / 1.048 GB, free: 53.2 MB / 0.698 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.0004027/0.5495, allocations: 235 kB / 1.049 GB, free: 53.07 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003402/0.5499, allocations: 126.4 kB / 1.049 GB, free: 53.04 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.5499, allocations: 0 / 1.049 GB, free: 53.04 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000161/0.55, allocations: 60.53 kB / 1.049 GB, free: 53.03 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003299/0.5504, allocations: 19.83 kB / 1.049 GB, free: 53.02 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004104/0.5508, allocations: 282.1 kB / 1.049 GB, free: 52.8 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001337/0.5509, allocations: 0.7153 MB / 1.05 GB, free: 52.1 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 6.126e-05/0.551, allocations: 24.83 kB / 1.05 GB, free: 52.1 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.677e-05/0.551, allocations: 15.09 kB / 1.05 GB, free: 52.09 MB / 0.698 GB Notification: Performance of SimCode: time 2.11e-07/0.551, allocations: 0 / 1.05 GB, free: 52.09 MB / 0.698 GB Notification: Performance of Templates: time 0.004227/0.5553, allocations: 1.631 MB / 1.051 GB, free: 51.93 MB / 0.698 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 -lv LOG_STATS > Buildings_latest_Buildings.Utilities.IO.Files.Examples.Printer.pipe 2>&1)