Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.IO.Files.Examples.CSVWriter.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.001616/0.001616, allocations: 95.92 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.001596/0.001596, allocations: 209.5 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.514/1.514, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.261/3.261, allocations: 0.49 GB / 0.7959 GB, free: 35.52 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.CSVWriter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cos.y|step.y",fileNamePrefix="Buildings_12_Buildings.Utilities.IO.Files.Examples.CSVWriter") translateModel(Buildings.Utilities.IO.Files.Examples.CSVWriter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cos.y|step.y",fileNamePrefix="Buildings_12_Buildings.Utilities.IO.Files.Examples.CSVWriter") [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.002069/0.002069, allocations: 61.97 kB / 1.155 GB, free: 25.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4266/0.4287, allocations: 176.1 MB / 1.327 GB, free: 0.9414 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVWriter): time 0.003281/0.4319, allocations: 1.633 MB / 1.329 GB, free: 15.3 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001242/0.4332, allocations: 0.6585 MB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.03e-05/0.4333, allocations: 4 kB / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001604/0.4334, allocations: 15.81 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002308/0.4337, allocations: 47.75 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.000497/0.4341, allocations: 127.7 kB / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002831/0.4344, allocations: 183.6 kB / 1.33 GB, free: 14.27 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001296/0.4346, allocations: 21.62 kB / 1.33 GB, free: 14.24 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002146/0.4348, allocations: 91.75 kB / 1.33 GB, free: 14.15 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001431/0.4349, allocations: 83.72 kB / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.134e-05/0.435, allocations: 16 kB / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001018/0.4351, allocations: 39.92 kB / 1.33 GB, free: 14.01 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 9.082e-05/0.4352, allocations: 31.91 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 9.442e-05/0.4352, allocations: 59.78 kB / 1.33 GB, free: 13.92 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002928/0.4355, allocations: 183.2 kB / 1.33 GB, free: 13.74 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.4355, allocations: 0 / 1.33 GB, free: 13.74 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.014e-06/0.4355, allocations: 0 / 1.33 GB, free: 13.74 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.4356, allocations: 0 / 1.33 GB, free: 13.74 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0007633/0.4363, allocations: 494.5 kB / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.4364, allocations: 12.03 kB / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001934/0.4366, allocations: 28.83 kB / 1.331 GB, free: 13.17 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003659/0.4369, allocations: 186.9 kB / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.013e-05/0.4369, allocations: 8.375 kB / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.845e-05/0.437, allocations: 12.38 kB / 1.331 GB, free: 12.94 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003431/0.4373, allocations: 177.1 kB / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.4373, allocations: 7.938 kB / 1.331 GB, free: 12.74 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.911e-05/0.4373, allocations: 11.88 kB / 1.331 GB, free: 12.73 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.4374, allocations: 0 / 1.331 GB, free: 12.73 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002514/0.4376, allocations: 123.3 kB / 1.331 GB, free: 12.6 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006609/0.4383, allocations: 344.2 kB / 1.332 GB, free: 12.23 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002578/0.4385, allocations: 137.9 kB / 1.332 GB, free: 12.07 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002333/0.4388, allocations: 128.2 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.551e-05/0.4388, allocations: 0 / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003301/0.4391, allocations: 242.1 kB / 1.332 GB, free: 11.66 MB / 1.029 GB Notification: Performance of pre-optimization done (n=10): time 3.367e-06/0.4391, allocations: 3.984 kB / 1.332 GB, free: 11.66 MB / 1.029 GB Notification: Performance of matching and sorting (n=10): time 0.0008708/0.44, allocations: 479.8 kB / 1.332 GB, free: 11.14 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001093/0.4401, allocations: 166.2 kB / 1.333 GB, free: 10.95 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001901/0.4403, allocations: 179.6 kB / 1.333 GB, free: 10.76 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.987e-05/0.4403, allocations: 33.7 kB / 1.333 GB, free: 10.72 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.406e-05/0.4404, allocations: 108.4 kB / 1.333 GB, free: 10.61 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.64e-05/0.4404, allocations: 31.75 kB / 1.333 GB, free: 10.57 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.764e-05/0.4405, allocations: 37.7 kB / 1.333 GB, free: 10.53 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001618/0.4407, allocations: 326.8 kB / 1.333 GB, free: 10.2 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002135/0.4409, allocations: 166.7 kB / 1.333 GB, free: 10.02 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002493/0.4411, allocations: 213.6 kB / 1.334 GB, free: 9.758 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003732/0.4415, allocations: 316.8 kB / 1.334 GB, free: 9.387 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.092e-06/0.4415, allocations: 4 kB / 1.334 GB, free: 9.383 MB / 1.029 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0006657/0.4422, allocations: 467 kB / 1.334 GB, free: 8.871 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 8.994e-05/0.4423, allocations: 118.8 kB / 1.335 GB, free: 8.73 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.4423, allocations: 0 / 1.335 GB, free: 8.73 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.898e-05/0.4423, allocations: 4 kB / 1.335 GB, free: 8.727 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001269/0.4424, allocations: 23.92 kB / 1.335 GB, free: 8.703 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.554e-05/0.4424, allocations: 4 kB / 1.335 GB, free: 8.699 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001105/0.4426, allocations: 11.94 kB / 1.335 GB, free: 8.688 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.2e-05/0.4426, allocations: 8 kB / 1.335 GB, free: 8.68 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 8 (combiTimeTableWriter.str,$PRE.combiTimeTableWriter.str,csvWriter.str,$PRE.csvWriter.str,combiTimeTableWriter.sampleTrigger,$whenCondition2,csvWriter.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 4 * 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.0001865/0.4428, allocations: 211.4 kB / 1.335 GB, free: 8.453 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.679e-05/0.4428, allocations: 19.84 kB / 1.335 GB, free: 8.434 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.328e-05/0.4428, allocations: 13.41 kB / 1.335 GB, free: 8.414 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.145e-06/0.4428, allocations: 3.938 kB / 1.335 GB, free: 8.41 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.4428, allocations: 4 kB / 1.335 GB, free: 8.406 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.411e-05/0.4429, allocations: 15.89 kB / 1.335 GB, free: 8.391 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.978e-05/0.4429, allocations: 8 kB / 1.335 GB, free: 8.383 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.95e-05/0.443, allocations: 8 kB / 1.335 GB, free: 8.375 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.507e-05/0.4431, allocations: 11.92 kB / 1.335 GB, free: 8.363 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007426/0.4438, allocations: 0.5453 MB / 1.335 GB, free: 7.762 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006879/0.4445, allocations: 0.5248 MB / 1.336 GB, free: 7.195 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002138/0.4447, allocations: 131.3 kB / 1.336 GB, free: 7.055 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000119/0.4448, allocations: 132.1 kB / 1.336 GB, free: 6.926 MB / 1.029 GB Notification: Performance of Backend: time 4.81e-07/0.4448, allocations: 0 / 1.336 GB, free: 6.926 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000969/0.4458, allocations: 0.5059 MB / 1.337 GB, free: 6.348 MB / 1.029 GB Notification: Performance of SimCode: time 0.0008529/0.4466, allocations: 0.7847 MB / 1.337 GB, free: 5.484 MB / 1.029 GB Notification: Performance of Templates: time 0.006681/0.4533, allocations: 2.546 MB / 1.34 GB, free: 2.988 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.IO.Files.Examples.CSVWriter.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.IO.Files.Examples.CSVWriter.pipe ; mkfifo Buildings_12_Buildings.Utilities.IO.Files.Examples.CSVWriter.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.IO.Files.Examples.CSVWriter.pipe >> ../files/Buildings_12_Buildings.Utilities.IO.Files.Examples.CSVWriter.sim & ./Buildings_12_Buildings.Utilities.IO.Files.Examples.CSVWriter -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.IO.Files.Examples.CSVWriter.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.IO.Files.Examples.CSVWriter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_IO_Files_Examples_CSVWriter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.IO.Files.Examples.CSVWriter.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.348944211000344]