Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001857/0.001857, allocations: 107.6 kB / 16.45 MB, free: 6.504 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.002087/0.002087, allocations: 191.7 kB / 19.41 MB, free: 3.68 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.404/1.404, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.558/2.558, allocations: 443.5 MB / 0.7287 GB, free: 13.23 MB / 0.5919 GB " [Timeout remaining time 177] 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: "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="Buildings_10_Buildings_Utilities_IO_Files_Examples_CSVReader",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="Buildings_10_Buildings_Utilities_IO_Files_Examples_CSVReader",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002623/0.002623, allocations: 63.91 kB / 1.056 GB, free: 5.902 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.754/0.7567, allocations: 160.7 MB / 1.213 GB, free: 3.949 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.003344/0.76, allocations: 1.693 MB / 1.215 GB, free: 2.625 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002338/0.7623, allocations: 1.518 MB / 1.216 GB, free: 1.434 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001035/0.7624, allocations: 5.062 kB / 1.216 GB, free: 1.43 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0002732/0.7627, allocations: 32.45 kB / 1.216 GB, free: 1.406 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0002762/0.763, allocations: 70.95 kB / 1.216 GB, free: 1.352 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003706/0.7634, allocations: 121.7 kB / 1.216 GB, free: 1.266 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002352/0.7636, allocations: 125 kB / 1.216 GB, free: 1.191 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 5.878e-05/0.7637, allocations: 5.031 kB / 1.216 GB, free: 1.188 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001488/0.7638, allocations: 60.81 kB / 1.216 GB, free: 1.148 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001957/0.764, allocations: 53.06 kB / 1.216 GB, free: 1.113 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.394e-05/0.764, allocations: 6.531 kB / 1.216 GB, free: 1.113 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001578/0.7642, allocations: 62.75 kB / 1.217 GB, free: 1.09 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 5.487e-05/0.7642, allocations: 21.42 kB / 1.217 GB, free: 1.074 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 7.059e-05/0.7643, allocations: 45.67 kB / 1.217 GB, free: 1.039 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002892/0.7646, allocations: 153.5 kB / 1.217 GB, free: 0.9414 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.7646, allocations: 0 / 1.217 GB, free: 0.9414 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.173e-06/0.7646, allocations: 0 / 1.217 GB, free: 0.9414 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.282e-06/0.7646, allocations: 0 / 1.217 GB, free: 0.9414 MB / 0.92 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.000687/0.7653, allocations: 454.9 kB / 1.217 GB, free: 500 kB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.487e-05/0.7653, allocations: 10.5 kB / 1.217 GB, free: 500 kB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.504e-05/0.7654, allocations: 31.94 kB / 1.217 GB, free: 460 kB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.021e-05/0.7654, allocations: 10.64 kB / 1.217 GB, free: 456 kB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004022/0.7658, allocations: 229.9 kB / 1.217 GB, free: 204 kB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.087e-05/0.7658, allocations: 2.344 kB / 1.217 GB, free: 204 kB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.005e-05/0.7659, allocations: 10.09 kB / 1.217 GB, free: 196 kB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002763/0.7661, allocations: 101.2 kB / 1.218 GB, free: 100 kB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.7662, allocations: 0 / 1.218 GB, free: 100 kB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.685e-05/0.7662, allocations: 5.312 kB / 1.218 GB, free: 96 kB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.7662, allocations: 1.312 kB / 1.218 GB, free: 96 kB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001838/0.7664, allocations: 51.48 kB / 1.218 GB, free: 72 kB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002786/0.7666, allocations: 209.6 kB / 1.218 GB, free: 15.83 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002807/0.7669, allocations: 118.1 kB / 1.218 GB, free: 15.72 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001257/0.767, allocations: 48 kB / 1.218 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.66e-05/0.7671, allocations: 1.875 kB / 1.218 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002424/0.7673, allocations: 109.3 kB / 1.218 GB, free: 15.58 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=8): time 1.342e-06/0.7673, allocations: 4 kB / 1.218 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of matching and sorting (n=8): time 0.0005038/0.7678, allocations: 166.1 kB / 1.218 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.132e-05/0.7679, allocations: 133.9 kB / 1.218 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001862/0.7681, allocations: 174.9 kB / 1.219 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.074e-05/0.7681, allocations: 27.67 kB / 1.219 GB, free: 15.15 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.557e-05/0.7682, allocations: 107.7 kB / 1.219 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.092e-05/0.7682, allocations: 24.66 kB / 1.219 GB, free: 15.03 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.957e-05/0.7683, allocations: 20.62 kB / 1.219 GB, free: 15.01 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001485/0.7684, allocations: 322.4 kB / 1.219 GB, free: 14.69 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001092/0.7685, allocations: 33.28 kB / 1.219 GB, free: 14.67 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001262/0.7687, allocations: 69.3 kB / 1.219 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000217/0.7689, allocations: 90.81 kB / 1.219 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.96e-06/0.7689, allocations: 5.062 kB / 1.219 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003144/0.7692, allocations: 139.3 kB / 1.219 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.7692, allocations: 5.281 kB / 1.219 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.239e-06/0.7692, allocations: 1.156 kB / 1.219 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.7692, allocations: 10.39 kB / 1.219 GB, free: 14.45 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000127/0.7694, allocations: 19.36 kB / 1.219 GB, free: 14.45 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.7694, allocations: 2.031 kB / 1.219 GB, free: 14.45 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.777e-05/0.7694, allocations: 16.97 kB / 1.219 GB, free: 14.43 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.215e-05/0.7695, allocations: 8.125 kB / 1.219 GB, free: 14.43 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.000116/0.7696, allocations: 131.4 kB / 1.22 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3e-05/0.7696, allocations: 10.23 kB / 1.22 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.221e-05/0.7697, allocations: 22.86 kB / 1.22 GB, free: 14.28 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.7697, allocations: 1.125 kB / 1.22 GB, free: 14.28 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.7697, allocations: 1.781 kB / 1.22 GB, free: 14.28 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.7697, allocations: 1.281 kB / 1.22 GB, free: 14.28 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002012/0.7699, allocations: 209.2 kB / 1.22 GB, free: 14.04 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.7699, allocations: 5.219 kB / 1.22 GB, free: 14.04 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.495e-05/0.7699, allocations: 13.77 kB / 1.22 GB, free: 14.04 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.77, allocations: 5.125 kB / 1.22 GB, free: 14.03 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.101e-05/0.77, allocations: 2.688 kB / 1.22 GB, free: 14.03 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.77, allocations: 1.344 kB / 1.22 GB, free: 14.03 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.77, allocations: 0 / 1.22 GB, free: 14.03 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003353/0.7703, allocations: 167.3 kB / 1.22 GB, free: 13.9 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.579e-05/0.7704, allocations: 96.12 kB / 1.22 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.912e-05/0.7704, allocations: 2.25 kB / 1.22 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.339e-05/0.7705, allocations: 5.344 kB / 1.22 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.62e-05/0.7705, allocations: 11.67 kB / 1.22 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.651e-05/0.7705, allocations: 4.219 kB / 1.22 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001338/0.7707, allocations: 137.2 kB / 1.22 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1e-07/0.7707, allocations: 192 / 1.22 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002627/0.7709, allocations: 30.12 kB / 1.22 GB, free: 13.67 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.002195/0.7731, allocations: 1.061 MB / 1.221 GB, free: 12.88 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000287/0.7734, allocations: 78.42 kB / 1.221 GB, free: 12.85 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.7734, allocations: 0 / 1.221 GB, free: 12.85 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001405/0.7736, allocations: 48 kB / 1.221 GB, free: 12.83 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002904/0.7738, allocations: 39.3 kB / 1.221 GB, free: 12.81 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002263/0.7761, allocations: 1.695 MB / 1.223 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003598/0.7765, allocations: 0.7059 MB / 1.224 GB, free: 10.63 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 8.535e-05/0.7766, allocations: 20.14 kB / 1.224 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.41e-05/0.7766, allocations: 41.75 kB / 1.224 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of SimCode: time 5.91e-07/0.7766, allocations: 0 / 1.224 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02782/0.8045, allocations: 3.893 MB / 1.228 GB, free: 8.363 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.105/8.91, allocations: 8.812 kB / 1.228 GB, free: 8.359 MB / 0.9356 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; mkfifo Buildings_10_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe >> ../files/Buildings_10_Buildings.Utilities.IO.Files.Examples.CSVReader.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.IO.Files.Examples.CSVReader_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_IO_Files_Examples_CSVReader_fmu --startTime=-1.21 --stopTime=10 --stepSize=0.004484 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Utilities_IO_Files_Examples_CSVReader.fmu > Buildings_10_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Utilities.IO.Files.Examples.CSVReader_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_IO_Files_Examples_CSVReader.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 14.748465474694967]