Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001396/0.001395, allocations: 110.7 kB / 16.42 MB, free: 6.512 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.001488/0.001488, allocations: 189.5 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.407/1.407, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.283/2.283, allocations: 390.3 MB / 0.6655 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001445/0.001446, allocations: 59.91 kB / 0.9515 GB, free: 7.645 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8483/0.8497, allocations: 140.4 MB / 1.089 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVWriter): time 0.002657/0.8524, allocations: 1.6 MB / 1.09 GB, free: 4.41 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0009082/0.8534, allocations: 0.6096 MB / 1.091 GB, free: 3.988 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.74e-05/0.8535, allocations: 6.188 kB / 1.091 GB, free: 3.984 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001423/0.8536, allocations: 17.27 kB / 1.091 GB, free: 3.973 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002059/0.8538, allocations: 47.89 kB / 1.091 GB, free: 3.941 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004049/0.8542, allocations: 115.1 kB / 1.091 GB, free: 3.879 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002699/0.8545, allocations: 197.6 kB / 1.091 GB, free: 3.793 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000116/0.8546, allocations: 28 kB / 1.091 GB, free: 3.777 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001649/0.8548, allocations: 78.73 kB / 1.091 GB, free: 3.75 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001444/0.855, allocations: 87.77 kB / 1.091 GB, free: 3.711 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.663e-05/0.855, allocations: 13.81 kB / 1.091 GB, free: 3.711 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 9.243e-05/0.8551, allocations: 34.39 kB / 1.091 GB, free: 3.699 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 9.13e-05/0.8552, allocations: 36.62 kB / 1.091 GB, free: 3.68 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001021/0.8553, allocations: 75.92 kB / 1.091 GB, free: 3.637 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002778/0.8556, allocations: 162.2 kB / 1.092 GB, free: 3.574 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.8556, allocations: 0 / 1.092 GB, free: 3.574 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.673e-06/0.8556, allocations: 0.75 kB / 1.092 GB, free: 3.574 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.074e-05/0.8556, allocations: 0 / 1.092 GB, free: 3.574 MB / 0.8575 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.0006569/0.8563, allocations: 0.5627 MB / 1.092 GB, free: 3.027 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.8563, allocations: 9.562 kB / 1.092 GB, free: 3.027 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.313e-05/0.8564, allocations: 19.88 kB / 1.092 GB, free: 3.02 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002849/0.8567, allocations: 230.5 kB / 1.092 GB, free: 2.797 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.029e-05/0.8567, allocations: 11.47 kB / 1.092 GB, free: 2.793 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.306e-05/0.8568, allocations: 14.97 kB / 1.092 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003114/0.8571, allocations: 119.9 kB / 1.093 GB, free: 2.73 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.8571, allocations: 4 kB / 1.093 GB, free: 2.727 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.779e-05/0.8571, allocations: 3.281 kB / 1.093 GB, free: 2.727 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.391e-06/0.8572, allocations: 0.6875 kB / 1.093 GB, free: 2.727 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002158/0.8574, allocations: 68.98 kB / 1.093 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007294/0.8581, allocations: 419.5 kB / 1.093 GB, free: 2.383 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002358/0.8584, allocations: 89.55 kB / 1.093 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001987/0.8586, allocations: 75.97 kB / 1.093 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.418e-05/0.8586, allocations: 6.031 kB / 1.093 GB, free: 2.305 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003037/0.8589, allocations: 178.4 kB / 1.093 GB, free: 2.172 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=10): time 1.973e-06/0.8589, allocations: 3.938 kB / 1.093 GB, free: 2.168 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10): time 0.000916/0.8599, allocations: 358.5 kB / 1.094 GB, free: 1.996 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.725e-05/0.8599, allocations: 162.3 kB / 1.094 GB, free: 1.809 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002122/0.8602, allocations: 181.6 kB / 1.094 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.028e-05/0.8602, allocations: 29.44 kB / 1.094 GB, free: 1.645 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.649e-05/0.8603, allocations: 111.3 kB / 1.094 GB, free: 1.539 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.439e-05/0.8603, allocations: 26.62 kB / 1.094 GB, free: 1.52 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.433e-05/0.8604, allocations: 46.56 kB / 1.094 GB, free: 1.488 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.819e-05/0.8605, allocations: 331.1 kB / 1.095 GB, free: 1.164 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001467/0.8607, allocations: 50.97 kB / 1.095 GB, free: 1.152 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001807/0.8608, allocations: 105.7 kB / 1.095 GB, free: 1.07 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003273/0.8612, allocations: 312.8 kB / 1.095 GB, free: 0.7773 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.8612, allocations: 0.75 kB / 1.095 GB, free: 0.7773 MB / 0.8575 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005888/0.8618, allocations: 343.6 kB / 1.095 GB, free: 0.5625 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 7.057e-05/0.8619, allocations: 116.9 kB / 1.095 GB, free: 448 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.8619, allocations: 1.375 kB / 1.095 GB, free: 448 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.429e-05/0.8619, allocations: 7.438 kB / 1.095 GB, free: 444 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001458/0.8621, allocations: 19.98 kB / 1.095 GB, free: 440 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.665e-05/0.8621, allocations: 7.297 kB / 1.095 GB, free: 436 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001154/0.8622, allocations: 18.98 kB / 1.096 GB, free: 428 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.787e-05/0.8622, allocations: 12.78 kB / 1.096 GB, free: 424 kB / 0.8575 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.0001538/0.8624, allocations: 197 kB / 1.096 GB, free: 228 kB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.238e-05/0.8625, allocations: 16.69 kB / 1.096 GB, free: 220 kB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.352e-05/0.8625, allocations: 15.66 kB / 1.096 GB, free: 208 kB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.8625, allocations: 5.672 kB / 1.096 GB, free: 204 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.8625, allocations: 0 / 1.096 GB, free: 204 kB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.744e-05/0.8626, allocations: 85.44 kB / 1.096 GB, free: 104 kB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.372e-05/0.8626, allocations: 7.969 kB / 1.096 GB, free: 100 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.244e-05/0.8627, allocations: 11.3 kB / 1.096 GB, free: 96 kB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.347e-05/0.8628, allocations: 6.531 kB / 1.096 GB, free: 96 kB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007237/0.8635, allocations: 491.6 kB / 1.096 GB, free: 15.74 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007746/0.8643, allocations: 487.7 kB / 1.097 GB, free: 15.4 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002291/0.8645, allocations: 88.34 kB / 1.097 GB, free: 15.37 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001551/0.8647, allocations: 126.3 kB / 1.097 GB, free: 15.28 MB / 0.8731 GB Notification: Performance of Backend: time 7.52e-07/0.8647, allocations: 0.5312 kB / 1.097 GB, free: 15.28 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001067/0.8658, allocations: 419.2 kB / 1.097 GB, free: 14.92 MB / 0.8731 GB Notification: Performance of SimCode: time 0.001037/0.8668, allocations: 0.799 MB / 1.098 GB, free: 14.15 MB / 0.8731 GB Notification: Performance of Templates: time 0.007674/0.8745, allocations: 2.208 MB / 1.1 GB, free: 13.85 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Utilities.IO.Files.Examples.CSVWriter.makefile (rm -f Buildings_9_Buildings.Utilities.IO.Files.Examples.CSVWriter.pipe ; mkfifo Buildings_9_Buildings.Utilities.IO.Files.Examples.CSVWriter.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.IO.Files.Examples.CSVWriter.pipe >> ../files/Buildings_9_Buildings.Utilities.IO.Files.Examples.CSVWriter.sim & ./Buildings_9_Buildings.Utilities.IO.Files.Examples.CSVWriter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.IO.Files.Examples.CSVWriter.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.IO.Files.Examples.CSVWriter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_IO_Files_Examples_CSVWriter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.IO.Files.Examples.CSVWriter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches