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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001455/0.001455, allocations: 114.2 kB / 16.42 MB, free: 6.504 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.001484/0.001484, allocations: 188.2 kB / 17.35 MB, free: 5.758 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.467/1.467, allocations: 222.9 MB / 241.1 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.764/2.764, allocations: 472.7 MB / 0.746 GB, free: 396 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001407/0.001407, allocations: 67.89 kB / 1.07 GB, free: 9.523 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.007/1.008, allocations: 159.9 MB / 1.226 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVWriter): time 0.003914/1.012, allocations: 1.615 MB / 1.228 GB, free: 11.84 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001092/1.013, allocations: 0.6013 MB / 1.229 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001005/1.013, allocations: 4 kB / 1.229 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0001748/1.013, allocations: 23.78 kB / 1.229 GB, free: 11.21 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0002641/1.014, allocations: 47.75 kB / 1.229 GB, free: 11.16 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004317/1.014, allocations: 119.7 kB / 1.229 GB, free: 11.04 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0003345/1.014, allocations: 191.6 kB / 1.229 GB, free: 10.86 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001424/1.015, allocations: 25.12 kB / 1.229 GB, free: 10.83 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001882/1.015, allocations: 91.73 kB / 1.229 GB, free: 10.74 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001494/1.015, allocations: 83.72 kB / 1.229 GB, free: 10.66 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 4.321e-05/1.015, allocations: 12 kB / 1.229 GB, free: 10.65 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 8.943e-05/1.015, allocations: 28 kB / 1.229 GB, free: 10.62 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 9.713e-05/1.015, allocations: 27.91 kB / 1.229 GB, free: 10.59 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001181/1.015, allocations: 75.64 kB / 1.229 GB, free: 10.52 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002813/1.016, allocations: 171.9 kB / 1.229 GB, free: 10.36 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/1.016, allocations: 0 / 1.229 GB, free: 10.36 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.192e-06/1.016, allocations: 0 / 1.229 GB, free: 10.36 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 7.705e-06/1.016, allocations: 4 kB / 1.229 GB, free: 10.35 MB / 0.9512 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.0007645/1.016, allocations: 0.5639 MB / 1.23 GB, free: 9.715 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/1.016, allocations: 8.031 kB / 1.23 GB, free: 9.707 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.491e-05/1.017, allocations: 20.84 kB / 1.23 GB, free: 9.688 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000393/1.017, allocations: 244.3 kB / 1.23 GB, free: 9.41 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.432e-05/1.017, allocations: 4.375 kB / 1.23 GB, free: 9.406 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.456e-05/1.017, allocations: 16.38 kB / 1.23 GB, free: 9.391 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002823/1.017, allocations: 121.7 kB / 1.23 GB, free: 9.266 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/1.017, allocations: 0 / 1.23 GB, free: 9.266 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.656e-05/1.017, allocations: 0 / 1.23 GB, free: 9.266 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/1.017, allocations: 4 kB / 1.23 GB, free: 9.262 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001959/1.018, allocations: 67.94 kB / 1.23 GB, free: 9.195 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007521/1.018, allocations: 428.5 kB / 1.231 GB, free: 8.727 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002157/1.019, allocations: 86.53 kB / 1.231 GB, free: 8.633 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001591/1.019, allocations: 76.81 kB / 1.231 GB, free: 8.555 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.32e-05/1.019, allocations: 4 kB / 1.231 GB, free: 8.551 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002798/1.019, allocations: 174.7 kB / 1.231 GB, free: 8.355 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=10): time 3.296e-06/1.019, allocations: 96 / 1.231 GB, free: 8.355 MB / 0.9512 GB Notification: Performance of matching and sorting (n=10): time 0.0007621/1.02, allocations: 356.9 kB / 1.231 GB, free: 7.988 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001014/1.02, allocations: 166.2 kB / 1.232 GB, free: 7.789 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001875/1.02, allocations: 179.2 kB / 1.232 GB, free: 7.602 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.283e-05/1.02, allocations: 33.7 kB / 1.232 GB, free: 7.562 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 7.928e-05/1.02, allocations: 108.6 kB / 1.232 GB, free: 7.449 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.29e-05/1.02, allocations: 35.73 kB / 1.232 GB, free: 7.414 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.618e-05/1.02, allocations: 37.7 kB / 1.232 GB, free: 7.371 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001346/1.021, allocations: 338.6 kB / 1.232 GB, free: 7.031 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001399/1.021, allocations: 47.95 kB / 1.232 GB, free: 6.984 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00017/1.021, allocations: 106.8 kB / 1.232 GB, free: 6.855 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003779/1.021, allocations: 308.9 kB / 1.233 GB, free: 6.492 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/1.021, allocations: 0 / 1.233 GB, free: 6.492 MB / 0.9512 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005636/1.022, allocations: 344.2 kB / 1.233 GB, free: 6.125 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 8.845e-05/1.022, allocations: 124.8 kB / 1.233 GB, free: 5.98 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/1.022, allocations: 4 kB / 1.233 GB, free: 5.977 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.858e-05/1.022, allocations: 4 kB / 1.233 GB, free: 5.973 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001171/1.022, allocations: 19.92 kB / 1.233 GB, free: 5.953 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.427e-06/1.022, allocations: 4 kB / 1.233 GB, free: 5.949 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001084/1.022, allocations: 15.98 kB / 1.233 GB, free: 5.934 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.153e-05/1.022, allocations: 8 kB / 1.233 GB, free: 5.926 MB / 0.9512 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.0002022/1.022, allocations: 201 kB / 1.233 GB, free: 5.707 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.648e-05/1.022, allocations: 15.91 kB / 1.233 GB, free: 5.691 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.27e-05/1.023, allocations: 25.39 kB / 1.233 GB, free: 5.66 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/1.023, allocations: 0 / 1.233 GB, free: 5.66 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.562e-06/1.023, allocations: 0 / 1.233 GB, free: 5.66 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.088e-05/1.023, allocations: 89.02 kB / 1.234 GB, free: 5.555 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.904e-05/1.023, allocations: 4 kB / 1.234 GB, free: 5.551 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.159e-05/1.023, allocations: 19.92 kB / 1.234 GB, free: 5.531 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.132e-05/1.023, allocations: 4 kB / 1.234 GB, free: 5.527 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006444/1.023, allocations: 499 kB / 1.234 GB, free: 4.996 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006178/1.024, allocations: 478 kB / 1.235 GB, free: 4.5 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001778/1.024, allocations: 83.95 kB / 1.235 GB, free: 4.418 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.000111/1.024, allocations: 132.3 kB / 1.235 GB, free: 4.289 MB / 0.9512 GB Notification: Performance of Backend: time 7.51e-07/1.024, allocations: 0 / 1.235 GB, free: 4.289 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0008608/1.025, allocations: 415.7 kB / 1.235 GB, free: 3.836 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0008054/1.026, allocations: 0.7926 MB / 1.236 GB, free: 2.969 MB / 0.9512 GB Notification: Performance of Templates: time 0.006372/1.032, allocations: 2.236 MB / 1.238 GB, free: 0.7539 MB / 0.9512 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