Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001404/0.001404, allocations: 109.7 kB / 17.54 MB, free: 4.641 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.001414/0.001414, allocations: 190.6 kB / 20.71 MB, free: 1.484 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.297/1.297, allocations: 225.6 MB / 249.3 MB, free: 3.188 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.488/2.488, allocations: 476.7 MB / 0.7628 GB, free: 15.18 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Utilities_IO_Files_Examples_CSVReader",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="Buildings_11_Buildings_Utilities_IO_Files_Examples_CSVReader",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001757/0.001757, allocations: 67.89 kB / 1.107 GB, free: 5.152 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7628/0.7646, allocations: 168.7 MB / 1.271 GB, free: 7.715 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.002412/0.767, allocations: 1.713 MB / 1.273 GB, free: 6.551 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001623/0.7686, allocations: 1.587 MB / 1.275 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.596e-05/0.7687, allocations: 0.8125 kB / 1.275 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.000231/0.7689, allocations: 41.34 kB / 1.275 GB, free: 5.41 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001906/0.7691, allocations: 65.34 kB / 1.275 GB, free: 5.371 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002379/0.7693, allocations: 115 kB / 1.275 GB, free: 5.312 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001536/0.7695, allocations: 131.5 kB / 1.275 GB, free: 5.25 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.862e-05/0.7695, allocations: 10.67 kB / 1.275 GB, free: 5.246 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001072/0.7696, allocations: 56.05 kB / 1.275 GB, free: 5.219 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001512/0.7698, allocations: 56.47 kB / 1.275 GB, free: 5.191 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.902e-05/0.7698, allocations: 6.625 kB / 1.275 GB, free: 5.191 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001063/0.7699, allocations: 60.22 kB / 1.275 GB, free: 5.176 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 4.323e-05/0.7699, allocations: 21.84 kB / 1.275 GB, free: 5.164 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.614e-05/0.77, allocations: 42.81 kB / 1.275 GB, free: 5.137 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002062/0.7702, allocations: 154.5 kB / 1.275 GB, free: 5.07 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.7702, allocations: 0.9062 kB / 1.275 GB, free: 5.07 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.503e-06/0.7702, allocations: 4 kB / 1.275 GB, free: 5.066 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.7702, allocations: 0 / 1.275 GB, free: 5.066 MB / 0.9981 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.0004696/0.7707, allocations: 445.5 kB / 1.276 GB, free: 4.641 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.7707, allocations: 10.06 kB / 1.276 GB, free: 4.641 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.821e-05/0.7707, allocations: 37 kB / 1.276 GB, free: 4.598 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.911e-05/0.7708, allocations: 18.94 kB / 1.276 GB, free: 4.586 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001929/0.771, allocations: 217.6 kB / 1.276 GB, free: 4.367 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.771, allocations: 5.719 kB / 1.276 GB, free: 4.363 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.297e-05/0.771, allocations: 6.812 kB / 1.276 GB, free: 4.359 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001913/0.7712, allocations: 100.6 kB / 1.276 GB, free: 4.281 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.7712, allocations: 0.7812 kB / 1.276 GB, free: 4.281 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/0.7712, allocations: 0.9375 kB / 1.276 GB, free: 4.281 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.7712, allocations: 0.875 kB / 1.276 GB, free: 4.281 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001653/0.7714, allocations: 54.94 kB / 1.276 GB, free: 4.266 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001541/0.7715, allocations: 216.2 kB / 1.276 GB, free: 4.035 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002359/0.7718, allocations: 117.9 kB / 1.277 GB, free: 3.938 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001038/0.7719, allocations: 45.38 kB / 1.277 GB, free: 3.906 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.291e-05/0.7719, allocations: 1.094 kB / 1.277 GB, free: 3.906 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001866/0.7721, allocations: 120 kB / 1.277 GB, free: 3.809 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=8): time 1.192e-06/0.7721, allocations: 0.6562 kB / 1.277 GB, free: 3.809 MB / 0.9981 GB Notification: Performance of matching and sorting (n=8): time 0.000433/0.7725, allocations: 159.9 kB / 1.277 GB, free: 3.742 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.926e-05/0.7726, allocations: 130.6 kB / 1.277 GB, free: 3.586 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001383/0.7727, allocations: 186.5 kB / 1.277 GB, free: 3.453 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.491e-05/0.7727, allocations: 26.8 kB / 1.277 GB, free: 3.422 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.218e-05/0.7727, allocations: 103.7 kB / 1.277 GB, free: 3.324 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.885e-05/0.7728, allocations: 26.34 kB / 1.277 GB, free: 3.305 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.798e-05/0.7728, allocations: 22.81 kB / 1.277 GB, free: 3.285 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.874e-05/0.7728, allocations: 327.2 kB / 1.278 GB, free: 2.965 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001/0.7729, allocations: 35.06 kB / 1.278 GB, free: 2.953 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001009/0.773, allocations: 64.77 kB / 1.278 GB, free: 2.902 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001893/0.7732, allocations: 92.08 kB / 1.278 GB, free: 2.848 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.7732, allocations: 8.594 kB / 1.278 GB, free: 2.84 MB / 0.9981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002691/0.7735, allocations: 125.7 kB / 1.278 GB, free: 2.781 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.7735, allocations: 5.75 kB / 1.278 GB, free: 2.781 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.7735, allocations: 5.531 kB / 1.278 GB, free: 2.777 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.7735, allocations: 2.531 kB / 1.278 GB, free: 2.777 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001141/0.7736, allocations: 23.66 kB / 1.278 GB, free: 2.773 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.7737, allocations: 1.531 kB / 1.278 GB, free: 2.773 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.611e-05/0.7737, allocations: 24.3 kB / 1.278 GB, free: 2.758 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.909e-06/0.7737, allocations: 3.766 kB / 1.278 GB, free: 2.758 MB / 0.9981 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 6.637e-05/0.7738, allocations: 130 kB / 1.278 GB, free: 2.633 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.825e-05/0.7738, allocations: 10.52 kB / 1.278 GB, free: 2.629 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002003/0.774, allocations: 117.1 kB / 1.278 GB, free: 2.551 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.774, allocations: 1.781 kB / 1.278 GB, free: 2.551 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.774, allocations: 0.7188 kB / 1.278 GB, free: 2.551 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.774, allocations: 1.031 kB / 1.278 GB, free: 2.551 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001098/0.7742, allocations: 205.8 kB / 1.278 GB, free: 2.34 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.624e-06/0.7742, allocations: 1 kB / 1.278 GB, free: 2.34 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.908e-05/0.7742, allocations: 17.28 kB / 1.278 GB, free: 2.336 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.7742, allocations: 1.562 kB / 1.278 GB, free: 2.336 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/0.7742, allocations: 3.234 kB / 1.278 GB, free: 2.336 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.7742, allocations: 1.75 kB / 1.278 GB, free: 2.336 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.7742, allocations: 0.75 kB / 1.278 GB, free: 2.336 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000268/0.7745, allocations: 178.8 kB / 1.279 GB, free: 2.211 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.23e-05/0.7745, allocations: 85.45 kB / 1.279 GB, free: 2.113 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.457e-05/0.7746, allocations: 2.328 kB / 1.279 GB, free: 2.113 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.177e-05/0.7746, allocations: 12.2 kB / 1.279 GB, free: 2.109 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.388e-05/0.7747, allocations: 6.281 kB / 1.279 GB, free: 2.109 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.443e-05/0.7747, allocations: 4.484 kB / 1.279 GB, free: 2.109 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 8.502e-05/0.7748, allocations: 136.8 kB / 1.279 GB, free: 2.016 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7748, allocations: 0 / 1.279 GB, free: 2.016 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002267/0.775, allocations: 31.89 kB / 1.279 GB, free: 2.008 MB / 0.9981 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.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * 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.001707/0.7767, allocations: 1.053 MB / 1.28 GB, free: 1.242 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002633/0.777, allocations: 84.11 kB / 1.28 GB, free: 1.219 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.777, allocations: 0.9062 kB / 1.28 GB, free: 1.219 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001158/0.7771, allocations: 41.69 kB / 1.28 GB, free: 1.207 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002479/0.7773, allocations: 39.05 kB / 1.28 GB, free: 1.191 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001611/0.7789, allocations: 1.692 MB / 1.282 GB, free: 15.82 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003102/0.7792, allocations: 0.7023 MB / 1.282 GB, free: 15.12 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 8.728e-05/0.7793, allocations: 24.69 kB / 1.282 GB, free: 15.12 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.911e-05/0.7794, allocations: 42.45 kB / 1.282 GB, free: 15.09 MB / 1.014 GB Notification: Performance of SimCode: time 5.11e-07/0.7794, allocations: 7.938 kB / 1.282 GB, free: 15.08 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02835/0.8078, allocations: 3.879 MB / 1.286 GB, free: 14.2 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.223/8.031, allocations: 10.17 kB / 1.286 GB, free: 14.2 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; mkfifo Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe >> ../files/Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVReader.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVReader_res.csv --start-time -1.21 --stop-time 10 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004484 Buildings_11_Buildings_Utilities_IO_Files_Examples_CSVReader.fmu > Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVReader_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_IO_Files_Examples_CSVReader.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 13.450675560998206]