Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001591/0.001591, allocations: 97.11 kB / 19.7 MB, free: 2.129 MB / 14.72 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.002266/0.002266, allocations: 209.9 kB / 23 MB, free: 4.934 MB / 14.72 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 1.559/1.559, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.253/3.253, allocations: 0.49 GB / 0.7959 GB, free: 35.48 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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="mat",numberOfIntervals=2500,variableFilter="time|pri1.x.1.|pri1.x.2.",fileNamePrefix="Buildings_12_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_12_Buildings.Utilities.IO.Files.Examples.Printer") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002039/0.002039, allocations: 64.06 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4128/0.4149, allocations: 176.1 MB / 1.327 GB, free: 1.027 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.Printer): time 0.00373/0.4186, allocations: 1.579 MB / 1.329 GB, free: 15.44 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.00171/0.4203, allocations: 0.7248 MB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.777e-05/0.4204, allocations: 0 / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001263/0.4205, allocations: 23.67 kB / 1.329 GB, free: 14.69 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 6.25e-05/0.4206, allocations: 23.78 kB / 1.329 GB, free: 14.66 MB / 1.029 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.0005483/0.4211, allocations: 119.7 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002161/0.4213, allocations: 135.6 kB / 1.33 GB, free: 14.41 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001517/0.4215, allocations: 25.28 kB / 1.33 GB, free: 14.39 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001225/0.4216, allocations: 59.78 kB / 1.33 GB, free: 14.33 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001033/0.4217, allocations: 63.69 kB / 1.33 GB, free: 14.27 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.673e-05/0.4217, allocations: 12 kB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001313/0.4219, allocations: 55.97 kB / 1.33 GB, free: 14.2 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.147e-05/0.4219, allocations: 31.89 kB / 1.33 GB, free: 14.17 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 8.336e-05/0.422, allocations: 43.73 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002911/0.4223, allocations: 183.2 kB / 1.33 GB, free: 13.95 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.4223, allocations: 0 / 1.33 GB, free: 13.95 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.004e-06/0.4223, allocations: 0 / 1.33 GB, free: 13.95 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.4223, allocations: 0 / 1.33 GB, free: 13.95 MB / 1.029 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.000967/0.4233, allocations: 490.5 kB / 1.331 GB, free: 13.42 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.886e-05/0.4233, allocations: 8.031 kB / 1.331 GB, free: 13.41 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.627e-05/0.4234, allocations: 20.83 kB / 1.331 GB, free: 13.39 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002354/0.4236, allocations: 150.3 kB / 1.331 GB, free: 13.22 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/0.4236, allocations: 8.375 kB / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.471e-05/0.4237, allocations: 8.375 kB / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003449/0.424, allocations: 143.6 kB / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.424, allocations: 0 / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.719e-05/0.424, allocations: 0 / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.424, allocations: 0 / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002602/0.4243, allocations: 75.86 kB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006703/0.425, allocations: 388.5 kB / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002223/0.4252, allocations: 85.11 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001361/0.4253, allocations: 41.81 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.92e-05/0.4254, allocations: 4 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003484/0.4257, allocations: 148.9 kB / 1.332 GB, free: 12.25 MB / 1.029 GB Notification: Performance of pre-optimization done (n=12): time 1.542e-06/0.4257, allocations: 4 kB / 1.332 GB, free: 12.24 MB / 1.029 GB Notification: Performance of matching and sorting (n=12): time 0.0006288/0.4263, allocations: 181.7 kB / 1.332 GB, free: 12.06 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.207e-05/0.4264, allocations: 85.11 kB / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001782/0.4266, allocations: 162.9 kB / 1.332 GB, free: 11.79 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.55e-05/0.4266, allocations: 37.64 kB / 1.332 GB, free: 11.74 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.869e-05/0.4267, allocations: 116.3 kB / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.262e-05/0.4268, allocations: 23.84 kB / 1.332 GB, free: 11.6 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.182e-05/0.4268, allocations: 37.7 kB / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001769/0.427, allocations: 330.8 kB / 1.333 GB, free: 11.22 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001321/0.4271, allocations: 35.95 kB / 1.333 GB, free: 11.19 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002626/0.4274, allocations: 195.3 kB / 1.333 GB, free: 10.94 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003187/0.4277, allocations: 147.6 kB / 1.333 GB, free: 10.77 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.4277, allocations: 0 / 1.333 GB, free: 10.77 MB / 1.029 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003931/0.4281, allocations: 169.3 kB / 1.333 GB, free: 10.6 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.126e-05/0.4281, allocations: 8.109 kB / 1.333 GB, free: 10.59 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.4281, allocations: 3.938 kB / 1.333 GB, free: 10.59 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.128e-05/0.4282, allocations: 4 kB / 1.333 GB, free: 10.58 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000121/0.4283, allocations: 19.98 kB / 1.333 GB, free: 10.56 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.367e-05/0.4283, allocations: 3.938 kB / 1.333 GB, free: 10.56 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001001/0.4284, allocations: 20.27 kB / 1.333 GB, free: 10.54 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.64e-05/0.4284, allocations: 8 kB / 1.333 GB, free: 10.53 MB / 1.029 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.000155/0.4286, allocations: 142.2 kB / 1.333 GB, free: 10.38 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.439e-05/0.4286, allocations: 19.91 kB / 1.333 GB, free: 10.36 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.869e-05/0.4287, allocations: 17.39 kB / 1.333 GB, free: 10.34 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.4287, allocations: 0 / 1.333 GB, free: 10.34 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.4287, allocations: 0 / 1.333 GB, free: 10.34 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.993e-05/0.4287, allocations: 15.91 kB / 1.333 GB, free: 10.32 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.054e-05/0.4287, allocations: 11.94 kB / 1.333 GB, free: 10.31 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001285/0.4289, allocations: 19.97 kB / 1.333 GB, free: 10.29 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.659e-05/0.4289, allocations: 15.92 kB / 1.333 GB, free: 10.28 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004934/0.4294, allocations: 300.1 kB / 1.334 GB, free: 9.977 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000485/0.4299, allocations: 393.9 kB / 1.334 GB, free: 9.574 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001751/0.4301, allocations: 60.09 kB / 1.334 GB, free: 9.516 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001082/0.4302, allocations: 119.3 kB / 1.334 GB, free: 9.398 MB / 1.029 GB Notification: Performance of Backend: time 5.21e-07/0.4302, allocations: 3.938 kB / 1.334 GB, free: 9.395 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001041/0.4312, allocations: 230.2 kB / 1.334 GB, free: 9.203 MB / 1.029 GB Notification: Performance of SimCode: time 0.000809/0.432, allocations: 0.6674 MB / 1.335 GB, free: 8.488 MB / 1.029 GB Notification: Performance of Templates: time 0.006629/0.4387, allocations: 2.166 MB / 1.337 GB, free: 6.355 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.IO.Files.Examples.Printer.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.IO.Files.Examples.Printer.pipe ; mkfifo Buildings_12_Buildings.Utilities.IO.Files.Examples.Printer.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.IO.Files.Examples.Printer.pipe >> ../files/Buildings_12_Buildings.Utilities.IO.Files.Examples.Printer.sim & ./Buildings_12_Buildings.Utilities.IO.Files.Examples.Printer -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.IO.Files.Examples.Printer.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.IO.Files.Examples.Printer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_IO_Files_Examples_Printer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.51794128199981]