Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVWriter.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.CSVWriter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cos.y|step.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVWriter") translateModel(Buildings.Utilities.IO.Files.Examples.CSVWriter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cos.y|step.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVWriter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001489/0.001489, allocations: 113.2 kB / 16.42 MB, free: 6.516 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.001711/0.001711, allocations: 190.6 kB / 17.35 MB, free: 5.738 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.479/1.479, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.727/2.727, allocations: 461.9 MB / 0.7355 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001409/0.001409, allocations: 63.89 kB / 1.055 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.001/1.002, allocations: 157.4 MB / 1.208 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVWriter): time 0.003502/1.006, allocations: 1.628 MB / 1.21 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001302/1.007, allocations: 0.6077 MB / 1.211 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001297/1.007, allocations: 4 kB / 1.211 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001922/1.008, allocations: 19.8 kB / 1.211 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0002764/1.008, allocations: 43.77 kB / 1.211 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005147/1.009, allocations: 115.8 kB / 1.211 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0003431/1.009, allocations: 203.5 kB / 1.211 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001276/1.009, allocations: 21.12 kB / 1.211 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001935/1.009, allocations: 91.73 kB / 1.211 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001639/1.009, allocations: 83.72 kB / 1.211 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.342e-05/1.009, allocations: 12 kB / 1.211 GB, free: 10.83 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 8.878e-05/1.01, allocations: 28 kB / 1.211 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 9.545e-05/1.01, allocations: 19.92 kB / 1.211 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001108/1.01, allocations: 83.64 kB / 1.211 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002764/1.01, allocations: 159.5 kB / 1.211 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/1.01, allocations: 0 / 1.211 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.442e-06/1.01, allocations: 4 kB / 1.211 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.113e-06/1.01, allocations: 0 / 1.211 GB, free: 10.54 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0009525/1.011, allocations: 0.5618 MB / 1.212 GB, free: 9.914 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.429e-05/1.011, allocations: 8.031 kB / 1.212 GB, free: 9.906 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.629e-05/1.011, allocations: 20.75 kB / 1.212 GB, free: 9.887 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004357/1.012, allocations: 241.3 kB / 1.212 GB, free: 9.613 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.985e-05/1.012, allocations: 4.375 kB / 1.212 GB, free: 9.609 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.404e-05/1.012, allocations: 20.38 kB / 1.212 GB, free: 9.59 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003253/1.012, allocations: 113.7 kB / 1.212 GB, free: 9.473 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/1.012, allocations: 0 / 1.212 GB, free: 9.473 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.204e-05/1.012, allocations: 7.984 kB / 1.212 GB, free: 9.465 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.857e-06/1.012, allocations: 4 kB / 1.212 GB, free: 9.461 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002256/1.012, allocations: 63.89 kB / 1.212 GB, free: 9.398 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000861/1.013, allocations: 416.6 kB / 1.213 GB, free: 8.941 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002037/1.013, allocations: 86.56 kB / 1.213 GB, free: 8.848 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001635/1.014, allocations: 76.81 kB / 1.213 GB, free: 8.77 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.26e-05/1.014, allocations: 7.984 kB / 1.213 GB, free: 8.762 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002921/1.014, allocations: 178.9 kB / 1.213 GB, free: 8.562 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=10): time 1.723e-06/1.014, allocations: 3.938 kB / 1.213 GB, free: 8.559 MB / 0.9356 GB Notification: Performance of matching and sorting (n=10): time 0.0007902/1.015, allocations: 352.7 kB / 1.214 GB, free: 8.195 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.679e-05/1.015, allocations: 162.2 kB / 1.214 GB, free: 8 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002064/1.015, allocations: 179.2 kB / 1.214 GB, free: 7.809 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.948e-05/1.015, allocations: 29.7 kB / 1.214 GB, free: 7.773 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 8.697e-05/1.015, allocations: 116.3 kB / 1.214 GB, free: 7.652 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.541e-05/1.015, allocations: 31.62 kB / 1.214 GB, free: 7.621 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.192e-05/1.015, allocations: 37.7 kB / 1.214 GB, free: 7.578 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001403/1.015, allocations: 330.8 kB / 1.214 GB, free: 7.246 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001373/1.016, allocations: 51.91 kB / 1.214 GB, free: 7.195 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001782/1.016, allocations: 110.8 kB / 1.215 GB, free: 7.062 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003656/1.016, allocations: 309 kB / 1.215 GB, free: 6.699 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/1.016, allocations: 0 / 1.215 GB, free: 6.699 MB / 0.9356 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0006409/1.017, allocations: 348.2 kB / 1.215 GB, free: 6.328 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 8.14e-05/1.017, allocations: 122.8 kB / 1.215 GB, free: 6.184 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/1.017, allocations: 0 / 1.215 GB, free: 6.184 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/1.017, allocations: 4 kB / 1.215 GB, free: 6.18 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001199/1.017, allocations: 23.92 kB / 1.215 GB, free: 6.156 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.405e-05/1.017, allocations: 4 kB / 1.215 GB, free: 6.152 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001118/1.017, allocations: 19.92 kB / 1.215 GB, free: 6.133 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.364e-05/1.017, allocations: 8 kB / 1.215 GB, free: 6.125 MB / 0.9356 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.0002228/1.018, allocations: 197.2 kB / 1.216 GB, free: 5.91 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.179e-05/1.018, allocations: 19.81 kB / 1.216 GB, free: 5.891 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.455e-05/1.018, allocations: 21.33 kB / 1.216 GB, free: 5.863 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/1.018, allocations: 0 / 1.216 GB, free: 5.863 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/1.018, allocations: 0 / 1.216 GB, free: 5.863 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.861e-05/1.018, allocations: 88.92 kB / 1.216 GB, free: 5.758 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.519e-05/1.018, allocations: 4 kB / 1.216 GB, free: 5.754 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.142e-05/1.018, allocations: 15.94 kB / 1.216 GB, free: 5.738 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.786e-05/1.018, allocations: 7.984 kB / 1.216 GB, free: 5.73 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006466/1.019, allocations: 487.3 kB / 1.216 GB, free: 5.211 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000619/1.019, allocations: 481.9 kB / 1.217 GB, free: 4.711 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001753/1.019, allocations: 87.95 kB / 1.217 GB, free: 4.625 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001497/1.02, allocations: 127.2 kB / 1.217 GB, free: 4.5 MB / 0.9356 GB Notification: Performance of Backend: time 6.31e-07/1.02, allocations: 0 / 1.217 GB, free: 4.5 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0008999/1.02, allocations: 413.2 kB / 1.217 GB, free: 4.047 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0008818/1.021, allocations: 0.7967 MB / 1.218 GB, free: 3.18 MB / 0.9356 GB Notification: Performance of Templates: time 0.006458/1.028, allocations: 2.272 MB / 1.22 GB, free: 0.9414 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVWriter.makefile (rm -f Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVWriter.pipe ; mkfifo Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVWriter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVWriter.pipe >> ../files/Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVWriter.sim & ./Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVWriter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVWriter.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVWriter_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_IO_Files_Examples_CSVWriter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVWriter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches