Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.001671/0.001671, allocations: 114.6 kB / 16.42 MB, free: 6.465 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.001989/0.001989, allocations: 189.5 kB / 17.35 MB, free: 5.711 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.428/1.428, allocations: 222.9 MB / 241.1 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.548/2.548, allocations: 437 MB / 0.7112 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001481/0.001482, allocations: 67.89 kB / 1.019 GB, free: 9.414 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.003/1.004, allocations: 151.6 MB / 1.167 GB, free: 3.855 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVWriter): time 0.003533/1.008, allocations: 1.606 MB / 1.169 GB, free: 2.242 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001201/1.009, allocations: 0.6195 MB / 1.169 GB, free: 1.617 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001208/1.009, allocations: 0 / 1.169 GB, free: 1.617 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001913/1.01, allocations: 15.86 kB / 1.169 GB, free: 1.602 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0002794/1.01, allocations: 52.92 kB / 1.17 GB, free: 1.551 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005317/1.01, allocations: 103.8 kB / 1.17 GB, free: 1.449 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0003429/1.011, allocations: 207.5 kB / 1.17 GB, free: 1.246 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001379/1.011, allocations: 25.11 kB / 1.17 GB, free: 1.219 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002043/1.011, allocations: 91.67 kB / 1.17 GB, free: 1.129 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001539/1.011, allocations: 87.72 kB / 1.17 GB, free: 1.043 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 4.622e-05/1.011, allocations: 12 kB / 1.17 GB, free: 1.031 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 8.186e-05/1.012, allocations: 24 kB / 1.17 GB, free: 1.008 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0001061/1.012, allocations: 31.91 kB / 1.17 GB, free: 0.9766 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001114/1.012, allocations: 71.66 kB / 1.17 GB, free: 0.9062 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0003048/1.012, allocations: 167.9 kB / 1.17 GB, free: 0.7461 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/1.012, allocations: 4 kB / 1.17 GB, free: 0.7422 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.024e-06/1.012, allocations: 0 / 1.17 GB, free: 0.7422 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.414e-06/1.012, allocations: 0 / 1.17 GB, free: 0.7422 MB / 0.8887 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.0008191/1.013, allocations: 0.56 MB / 1.171 GB, free: 112 kB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/1.013, allocations: 8.922 kB / 1.171 GB, free: 104 kB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.576e-05/1.013, allocations: 20.84 kB / 1.171 GB, free: 84 kB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004014/1.013, allocations: 252.2 kB / 1.171 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.996e-05/1.013, allocations: 8.375 kB / 1.171 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.369e-05/1.014, allocations: 12.38 kB / 1.171 GB, free: 15.78 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003126/1.014, allocations: 113.7 kB / 1.171 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/1.014, allocations: 4 kB / 1.171 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.849e-05/1.014, allocations: 4 kB / 1.171 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/1.014, allocations: 0 / 1.171 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002133/1.014, allocations: 71.89 kB / 1.171 GB, free: 15.58 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007243/1.015, allocations: 416.6 kB / 1.172 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002217/1.015, allocations: 98.55 kB / 1.172 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001631/1.015, allocations: 72.81 kB / 1.172 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.849e-05/1.015, allocations: 4 kB / 1.172 GB, free: 14.94 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002832/1.016, allocations: 174.7 kB / 1.172 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=10): time 2.204e-06/1.016, allocations: 4 kB / 1.172 GB, free: 14.74 MB / 0.9044 GB Notification: Performance of matching and sorting (n=10): time 0.0007861/1.016, allocations: 353 kB / 1.172 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.506e-05/1.017, allocations: 166.2 kB / 1.173 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001916/1.017, allocations: 171.7 kB / 1.173 GB, free: 14 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.073e-05/1.017, allocations: 37.69 kB / 1.173 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 8.189e-05/1.017, allocations: 104.4 kB / 1.173 GB, free: 13.85 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.59e-05/1.017, allocations: 31.73 kB / 1.173 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.088e-05/1.017, allocations: 37.7 kB / 1.173 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.000137/1.017, allocations: 330.8 kB / 1.173 GB, free: 13.44 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001527/1.017, allocations: 52.23 kB / 1.173 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001769/1.017, allocations: 110.8 kB / 1.173 GB, free: 13.26 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003814/1.018, allocations: 309 kB / 1.174 GB, free: 12.89 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/1.018, allocations: 3.938 kB / 1.174 GB, free: 12.89 MB / 0.9044 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005995/1.018, allocations: 348.1 kB / 1.174 GB, free: 12.52 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 9.593e-05/1.019, allocations: 118.8 kB / 1.174 GB, free: 12.38 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/1.019, allocations: 0 / 1.174 GB, free: 12.38 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.096e-05/1.019, allocations: 4.25 kB / 1.174 GB, free: 12.38 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001234/1.019, allocations: 27.92 kB / 1.174 GB, free: 12.35 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.238e-06/1.019, allocations: 4 kB / 1.174 GB, free: 12.34 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001068/1.019, allocations: 11.98 kB / 1.174 GB, free: 12.33 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.559e-05/1.019, allocations: 15.94 kB / 1.174 GB, free: 12.32 MB / 0.9044 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.000183/1.019, allocations: 199.8 kB / 1.174 GB, free: 12.1 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.678e-05/1.019, allocations: 15.91 kB / 1.174 GB, free: 12.09 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.503e-05/1.019, allocations: 21.39 kB / 1.174 GB, free: 12.06 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/1.019, allocations: 0 / 1.174 GB, free: 12.06 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/1.019, allocations: 4 kB / 1.174 GB, free: 12.06 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.95e-05/1.019, allocations: 92.95 kB / 1.175 GB, free: 11.95 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.826e-05/1.019, allocations: 4 kB / 1.175 GB, free: 11.95 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.987e-05/1.019, allocations: 15.92 kB / 1.175 GB, free: 11.93 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.22e-05/1.019, allocations: 11.98 kB / 1.175 GB, free: 11.92 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006742/1.02, allocations: 487 kB / 1.175 GB, free: 11.4 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000617/1.021, allocations: 490 kB / 1.176 GB, free: 10.89 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001782/1.021, allocations: 83.95 kB / 1.176 GB, free: 10.81 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 9.976e-05/1.021, allocations: 132.8 kB / 1.176 GB, free: 10.68 MB / 0.9044 GB Notification: Performance of Backend: time 4.91e-07/1.021, allocations: 0 / 1.176 GB, free: 10.68 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.000837/1.022, allocations: 414 kB / 1.176 GB, free: 10.23 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0007365/1.023, allocations: 0.7921 MB / 1.177 GB, free: 9.363 MB / 0.9044 GB Notification: Performance of Templates: time 0.006047/1.029, allocations: 2.21 MB / 1.179 GB, free: 7.184 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Utilities.IO.Files.Examples.CSVWriter.makefile (rm -f Buildings_10_Buildings.Utilities.IO.Files.Examples.CSVWriter.pipe ; mkfifo Buildings_10_Buildings.Utilities.IO.Files.Examples.CSVWriter.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.IO.Files.Examples.CSVWriter.pipe >> ../files/Buildings_10_Buildings.Utilities.IO.Files.Examples.CSVWriter.sim & ./Buildings_10_Buildings.Utilities.IO.Files.Examples.CSVWriter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.IO.Files.Examples.CSVWriter.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.IO.Files.Examples.CSVWriter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_IO_Files_Examples_CSVWriter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.IO.Files.Examples.CSVWriter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches