Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVReader.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.CSVReader,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTimeTable.y.1.|combiTimeTable.y.2.|cos.y|step.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVReader") translateModel(Buildings.Utilities.IO.Files.Examples.CSVReader,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTimeTable.y.1.|combiTimeTable.y.2.|cos.y|step.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVReader") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005266/0.005266, allocations: 103.2 kB / 15.73 MB, free: 6.059 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.001104/0.001104, allocations: 190.5 kB / 16.67 MB, free: 5.977 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.328/1.328, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.597/2.597, allocations: 461.9 MB / 0.7348 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002068/0.002068, allocations: 67.91 kB / 1.054 GB, free: 7.707 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9117/0.9138, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.003612/0.9175, allocations: 1.681 MB / 1.209 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002425/0.9199, allocations: 1.514 MB / 1.211 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.01e-05/0.92, allocations: 4 kB / 1.211 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0003184/0.9204, allocations: 31.78 kB / 1.211 GB, free: 10.4 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0002478/0.9206, allocations: 63.62 kB / 1.211 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.000305/0.921, allocations: 119.6 kB / 1.211 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001966/0.9212, allocations: 131.6 kB / 1.211 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 5.671e-05/0.9212, allocations: 9.125 kB / 1.211 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001412/0.9214, allocations: 55.72 kB / 1.211 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00021/0.9216, allocations: 51.75 kB / 1.211 GB, free: 9.977 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.517e-05/0.9216, allocations: 8 kB / 1.211 GB, free: 9.969 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001306/0.9218, allocations: 63.97 kB / 1.211 GB, free: 9.906 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 6.174e-05/0.9218, allocations: 23.91 kB / 1.211 GB, free: 9.883 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 6.776e-05/0.9219, allocations: 39.75 kB / 1.211 GB, free: 9.844 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002632/0.9222, allocations: 155.3 kB / 1.212 GB, free: 9.695 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.9222, allocations: 11.94 kB / 1.212 GB, free: 9.684 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.184e-06/0.9222, allocations: 0 / 1.212 GB, free: 9.684 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.284e-06/0.9222, allocations: 0 / 1.212 GB, free: 9.684 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007588/0.923, allocations: 432.8 kB / 1.212 GB, free: 9.215 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.664e-05/0.923, allocations: 8.031 kB / 1.212 GB, free: 9.207 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.294e-05/0.9231, allocations: 16.84 kB / 1.212 GB, free: 9.191 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003928/0.9235, allocations: 221.2 kB / 1.212 GB, free: 8.938 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.531e-05/0.9235, allocations: 4.359 kB / 1.212 GB, free: 8.934 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.523e-05/0.9236, allocations: 11.94 kB / 1.212 GB, free: 8.922 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002599/0.9238, allocations: 97.03 kB / 1.212 GB, free: 8.809 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.9239, allocations: 0 / 1.212 GB, free: 8.809 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.549e-05/0.9239, allocations: 0 / 1.212 GB, free: 8.809 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.291e-06/0.9239, allocations: 0 / 1.212 GB, free: 8.809 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001862/0.9241, allocations: 59.89 kB / 1.212 GB, free: 8.75 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002605/0.9243, allocations: 207.5 kB / 1.213 GB, free: 8.492 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000269/0.9246, allocations: 115.7 kB / 1.213 GB, free: 8.352 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001196/0.9248, allocations: 50.61 kB / 1.213 GB, free: 8.293 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.245e-05/0.9248, allocations: 4 kB / 1.213 GB, free: 8.289 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002273/0.925, allocations: 109.9 kB / 1.213 GB, free: 8.16 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=8): time 1.333e-06/0.925, allocations: 0 / 1.213 GB, free: 8.16 MB / 0.9356 GB Notification: Performance of matching and sorting (n=8): time 0.0004812/0.9255, allocations: 161.4 kB / 1.213 GB, free: 7.996 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.475e-05/0.9256, allocations: 136.5 kB / 1.213 GB, free: 7.832 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001701/0.9258, allocations: 179.1 kB / 1.213 GB, free: 7.645 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.959e-05/0.9258, allocations: 29.7 kB / 1.213 GB, free: 7.609 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.017e-05/0.9259, allocations: 104.1 kB / 1.213 GB, free: 7.504 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.476e-05/0.9259, allocations: 27.62 kB / 1.213 GB, free: 7.477 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.517e-05/0.926, allocations: 29.66 kB / 1.213 GB, free: 7.441 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000115/0.9261, allocations: 322.8 kB / 1.214 GB, free: 7.117 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001044/0.9262, allocations: 31.97 kB / 1.214 GB, free: 7.086 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001214/0.9263, allocations: 68.27 kB / 1.214 GB, free: 7.004 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002051/0.9265, allocations: 95.34 kB / 1.214 GB, free: 6.898 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.429e-06/0.9266, allocations: 3.938 kB / 1.214 GB, free: 6.895 MB / 0.9356 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002823/0.9269, allocations: 125.8 kB / 1.214 GB, free: 6.766 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/0.9269, allocations: 11.98 kB / 1.214 GB, free: 6.754 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.221e-06/0.9269, allocations: 4 kB / 1.214 GB, free: 6.75 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.9269, allocations: 0 / 1.214 GB, free: 6.75 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001256/0.927, allocations: 24.11 kB / 1.214 GB, free: 6.727 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.028e-05/0.9271, allocations: 4 kB / 1.214 GB, free: 6.723 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.786e-05/0.9271, allocations: 15.94 kB / 1.214 GB, free: 6.707 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.306e-05/0.9272, allocations: 4 kB / 1.214 GB, free: 6.703 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * 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.0001184/0.9273, allocations: 133.7 kB / 1.214 GB, free: 6.562 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.943e-05/0.9273, allocations: 15.89 kB / 1.214 GB, free: 6.547 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.029e-05/0.9274, allocations: 17.39 kB / 1.214 GB, free: 6.523 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.9274, allocations: 0 / 1.214 GB, free: 6.523 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.543e-06/0.9274, allocations: 4 kB / 1.214 GB, free: 6.52 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.9274, allocations: 0 / 1.214 GB, free: 6.52 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001757/0.9276, allocations: 209.4 kB / 1.215 GB, free: 6.266 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.9276, allocations: 4 kB / 1.215 GB, free: 6.262 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.705e-05/0.9277, allocations: 23.92 kB / 1.215 GB, free: 6.238 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.9277, allocations: 0 / 1.215 GB, free: 6.238 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.9277, allocations: 0 / 1.215 GB, free: 6.238 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.9277, allocations: 4 kB / 1.215 GB, free: 6.234 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.9277, allocations: 0 / 1.215 GB, free: 6.234 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003116/0.928, allocations: 162.6 kB / 1.215 GB, free: 6.051 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.033e-05/0.9281, allocations: 88.92 kB / 1.215 GB, free: 5.945 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.905e-05/0.9281, allocations: 11.98 kB / 1.215 GB, free: 5.934 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.192e-05/0.9282, allocations: 4 kB / 1.215 GB, free: 5.93 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.19e-05/0.9283, allocations: 11.92 kB / 1.215 GB, free: 5.918 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.446e-05/0.9283, allocations: 8 kB / 1.215 GB, free: 5.91 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001131/0.9284, allocations: 131.2 kB / 1.215 GB, free: 5.781 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9284, allocations: 4 kB / 1.215 GB, free: 5.777 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002486/0.9287, allocations: 32 kB / 1.215 GB, free: 5.746 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001052/0.9297, allocations: 446.7 kB / 1.215 GB, free: 5.48 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003078/0.93, allocations: 87.89 kB / 1.216 GB, free: 5.395 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.9301, allocations: 0 / 1.216 GB, free: 5.395 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.000122/0.9302, allocations: 39.92 kB / 1.216 GB, free: 5.355 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002879/0.9305, allocations: 44.02 kB / 1.216 GB, free: 5.312 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005095/0.931, allocations: 249.2 kB / 1.216 GB, free: 5.039 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002634/0.9313, allocations: 0.7002 MB / 1.217 GB, free: 4.312 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 7.106e-05/0.9314, allocations: 20.81 kB / 1.217 GB, free: 4.289 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.831e-05/0.9314, allocations: 23.42 kB / 1.217 GB, free: 4.266 MB / 0.9356 GB Notification: Performance of SimCode: time 3.7e-07/0.9314, allocations: 0 / 1.217 GB, free: 4.266 MB / 0.9356 GB Notification: Performance of Templates: time 0.005033/0.9365, allocations: 2.03 MB / 1.219 GB, free: 2.262 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVReader.makefile (rm -f Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; mkfifo Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe >> ../files/Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVReader.sim & ./Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVReader -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVReader_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_IO_Files_Examples_CSVReader.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVReader.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches