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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001691/0.001691, allocations: 108.3 kB / 16.41 MB, free: 6.508 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002119/0.002119, allocations: 191.7 kB / 19.35 MB, free: 3.734 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.461/1.461, allocations: 222.9 MB / 245.1 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.839/2.839, allocations: 489.1 MB / 0.7678 GB, free: 164 kB / 0.6231 GB " [Timeout remaining time 177] 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: "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="Buildings_latest_Buildings_Utilities_IO_Files_Examples_CSVReader",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="Buildings_latest_Buildings_Utilities_IO_Files_Examples_CSVReader",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002177/0.002178, allocations: 67.89 kB / 1.101 GB, free: 6.156 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8549/0.8571, allocations: 163.8 MB / 1.261 GB, free: 7.164 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.003229/0.8603, allocations: 1.68 MB / 1.263 GB, free: 5.477 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002225/0.8626, allocations: 1.51 MB / 1.264 GB, free: 3.957 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.492e-05/0.8627, allocations: 0 / 1.264 GB, free: 3.957 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0002852/0.863, allocations: 35.77 kB / 1.264 GB, free: 3.922 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002523/0.8632, allocations: 71.61 kB / 1.264 GB, free: 3.852 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002968/0.8635, allocations: 115 kB / 1.264 GB, free: 3.742 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000215/0.8638, allocations: 127.6 kB / 1.264 GB, free: 3.617 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.801e-05/0.8638, allocations: 13.09 kB / 1.264 GB, free: 3.605 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001356/0.864, allocations: 59.72 kB / 1.265 GB, free: 3.547 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001825/0.8642, allocations: 51.77 kB / 1.265 GB, free: 3.496 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.35e-05/0.8642, allocations: 4 kB / 1.265 GB, free: 3.492 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001377/0.8643, allocations: 67.95 kB / 1.265 GB, free: 3.426 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 5.601e-05/0.8644, allocations: 19.92 kB / 1.265 GB, free: 3.406 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 7.123e-05/0.8645, allocations: 43.73 kB / 1.265 GB, free: 3.363 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002654/0.8647, allocations: 155.3 kB / 1.265 GB, free: 3.211 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.8648, allocations: 0 / 1.265 GB, free: 3.211 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.394e-06/0.8648, allocations: 0 / 1.265 GB, free: 3.211 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.61e-06/0.8648, allocations: 0 / 1.265 GB, free: 3.211 MB / 0.9669 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.0006812/0.8655, allocations: 446.5 kB / 1.265 GB, free: 2.727 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.8655, allocations: 12.03 kB / 1.265 GB, free: 2.715 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.489e-05/0.8656, allocations: 42.67 kB / 1.265 GB, free: 2.664 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.183e-05/0.8656, allocations: 8.891 kB / 1.265 GB, free: 2.656 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003104/0.8659, allocations: 216.1 kB / 1.266 GB, free: 2.406 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.303e-05/0.8659, allocations: 384 / 1.266 GB, free: 2.406 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.305e-05/0.866, allocations: 15.86 kB / 1.266 GB, free: 2.391 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000246/0.8662, allocations: 101.1 kB / 1.266 GB, free: 2.273 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.465e-06/0.8662, allocations: 0 / 1.266 GB, free: 2.273 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.8663, allocations: 0 / 1.266 GB, free: 2.273 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.8663, allocations: 0 / 1.266 GB, free: 2.273 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001947/0.8665, allocations: 55.89 kB / 1.266 GB, free: 2.219 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002653/0.8667, allocations: 215.4 kB / 1.266 GB, free: 1.953 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002828/0.867, allocations: 115.7 kB / 1.266 GB, free: 1.812 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001336/0.8672, allocations: 54.61 kB / 1.266 GB, free: 1.75 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.604e-05/0.8672, allocations: 0 / 1.266 GB, free: 1.75 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002397/0.8674, allocations: 113.9 kB / 1.266 GB, free: 1.617 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=8): time 1.333e-06/0.8675, allocations: 3.938 kB / 1.266 GB, free: 1.613 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8): time 0.0005046/0.868, allocations: 165.5 kB / 1.266 GB, free: 1.445 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.649e-05/0.8681, allocations: 136.5 kB / 1.267 GB, free: 1.281 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001844/0.8683, allocations: 182.8 kB / 1.267 GB, free: 1.094 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.521e-05/0.8683, allocations: 25.7 kB / 1.267 GB, free: 1.062 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.887e-05/0.8684, allocations: 104.1 kB / 1.267 GB, free: 0.957 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.213e-05/0.8684, allocations: 28.09 kB / 1.267 GB, free: 0.9297 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.902e-05/0.8685, allocations: 21.72 kB / 1.267 GB, free: 0.9023 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001568/0.8686, allocations: 326.8 kB / 1.267 GB, free: 0.5742 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001049/0.8688, allocations: 27.97 kB / 1.267 GB, free: 0.5469 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001344/0.8689, allocations: 68.27 kB / 1.267 GB, free: 476 kB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002191/0.8691, allocations: 91.38 kB / 1.267 GB, free: 372 kB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.62e-06/0.8691, allocations: 3.938 kB / 1.267 GB, free: 368 kB / 0.9669 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002999/0.8694, allocations: 133.5 kB / 1.267 GB, free: 228 kB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/0.8695, allocations: 7.984 kB / 1.267 GB, free: 220 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.8695, allocations: 4.312 kB / 1.267 GB, free: 216 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.8695, allocations: 0 / 1.267 GB, free: 216 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001309/0.8696, allocations: 23.92 kB / 1.268 GB, free: 192 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.1e-05/0.8697, allocations: 11.94 kB / 1.268 GB, free: 180 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.392e-05/0.8698, allocations: 15.89 kB / 1.268 GB, free: 164 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.059e-05/0.8698, allocations: 4 kB / 1.268 GB, free: 160 kB / 0.9669 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.0001288/0.8699, allocations: 130.5 kB / 1.268 GB, free: 20 kB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.71e-05/0.8699, allocations: 7.953 kB / 1.268 GB, free: 12 kB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.33e-05/0.87, allocations: 25.39 kB / 1.268 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.87, allocations: 0 / 1.268 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.87, allocations: 0 / 1.268 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.87, allocations: 4 kB / 1.268 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002081/0.8703, allocations: 209.5 kB / 1.268 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.8703, allocations: 0 / 1.268 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.108e-05/0.8703, allocations: 15.92 kB / 1.268 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.8704, allocations: 4 kB / 1.268 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.098e-05/0.8704, allocations: 4 kB / 1.268 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.8704, allocations: 4 kB / 1.268 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.8704, allocations: 0 / 1.268 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003577/0.8708, allocations: 162.7 kB / 1.268 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.635e-05/0.8708, allocations: 96.95 kB / 1.268 GB, free: 15.4 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.702e-05/0.8709, allocations: 192 / 1.268 GB, free: 15.4 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.529e-05/0.8709, allocations: 11.98 kB / 1.268 GB, free: 15.39 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.366e-05/0.871, allocations: 15.92 kB / 1.268 GB, free: 15.37 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.583e-05/0.871, allocations: 0 / 1.268 GB, free: 15.37 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001279/0.8712, allocations: 135.2 kB / 1.268 GB, free: 15.24 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8712, allocations: 0 / 1.268 GB, free: 15.24 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002452/0.8714, allocations: 27.94 kB / 1.268 GB, free: 15.21 MB / 0.9825 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.00223/0.8737, allocations: 1.057 MB / 1.269 GB, free: 14.31 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003171/0.874, allocations: 91.88 kB / 1.269 GB, free: 14.22 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.874, allocations: 0 / 1.269 GB, free: 14.22 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001381/0.8741, allocations: 44.22 kB / 1.27 GB, free: 14.18 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002944/0.8745, allocations: 27.98 kB / 1.27 GB, free: 14.15 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00221/0.8767, allocations: 1.697 MB / 1.271 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000342/0.877, allocations: 0.7079 MB / 1.272 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.826e-05/0.8771, allocations: 24.47 kB / 1.272 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.198e-05/0.8772, allocations: 43.41 kB / 1.272 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of SimCode: time 3.31e-07/0.8772, allocations: 0 / 1.272 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0275/0.9047, allocations: 3.865 MB / 1.276 GB, free: 7.758 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.212/9.117, allocations: 1.172 kB / 1.276 GB, free: 7.758 MB / 0.9825 GB " [Timeout remaining time 291] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVReader_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_IO_Files_Examples_CSVReader_fmu --startTime=-1.21 --stopTime=10 --stepSize=0.004484 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_IO_Files_Examples_CSVReader.fmu > Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1) [Timeout 840.0] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVReader.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.259021169971675]