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.001166/0.001166, allocations: 105.7 kB / 17.54 MB, free: 4.766 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.001183/0.001183, allocations: 181.9 kB / 20.71 MB, free: 1.609 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.303/1.303, allocations: 225.6 MB / 249.3 MB, free: 3.047 MB / 190.1 MB " [Timeout remaining time 179] 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.352/2.352, allocations: 443.5 MB / 0.7304 GB, free: 14.03 MB / 0.5762 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.001822/0.001822, allocations: 63.91 kB / 1.059 GB, free: 0.957 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2555/0.2573, allocations: 160.7 MB / 1.216 GB, free: 15.93 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.003146/0.2605, allocations: 1.706 MB / 1.217 GB, free: 14.2 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002175/0.2626, allocations: 1.577 MB / 1.219 GB, free: 12.61 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.133e-05/0.2627, allocations: 3.938 kB / 1.219 GB, free: 12.61 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0002493/0.263, allocations: 43.77 kB / 1.219 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002511/0.2632, allocations: 63.69 kB / 1.219 GB, free: 12.5 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003313/0.2636, allocations: 119.3 kB / 1.219 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002065/0.2638, allocations: 127.6 kB / 1.219 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.993e-05/0.2638, allocations: 5.125 kB / 1.219 GB, free: 12.26 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001331/0.264, allocations: 63.69 kB / 1.219 GB, free: 12.2 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001728/0.2641, allocations: 47.77 kB / 1.219 GB, free: 12.15 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.346e-05/0.2641, allocations: 8 kB / 1.219 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001384/0.2643, allocations: 63.91 kB / 1.219 GB, free: 12.08 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 5.241e-05/0.2643, allocations: 31.91 kB / 1.219 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.863e-05/0.2644, allocations: 39.73 kB / 1.219 GB, free: 12.01 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002514/0.2646, allocations: 151.6 kB / 1.219 GB, free: 11.86 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.2647, allocations: 0 / 1.219 GB, free: 11.86 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.052e-06/0.2647, allocations: 0 / 1.219 GB, free: 11.86 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.434e-06/0.2647, allocations: 4 kB / 1.219 GB, free: 11.86 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.0006153/0.2653, allocations: 442.5 kB / 1.22 GB, free: 11.38 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.23e-05/0.2653, allocations: 8.031 kB / 1.22 GB, free: 11.37 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.987e-05/0.2653, allocations: 42.69 kB / 1.22 GB, free: 11.32 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.387e-05/0.2654, allocations: 20.81 kB / 1.22 GB, free: 11.3 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002706/0.2657, allocations: 217.1 kB / 1.22 GB, free: 11.05 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.298e-05/0.2657, allocations: 4.375 kB / 1.22 GB, free: 11.04 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.548e-05/0.2657, allocations: 3.938 kB / 1.22 GB, free: 11.04 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002263/0.2659, allocations: 105 kB / 1.22 GB, free: 10.92 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.113e-06/0.2659, allocations: 4 kB / 1.22 GB, free: 10.91 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.2659, allocations: 0 / 1.22 GB, free: 10.91 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.2659, allocations: 4 kB / 1.22 GB, free: 10.91 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001717/0.2661, allocations: 51.95 kB / 1.22 GB, free: 10.86 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002287/0.2663, allocations: 203.5 kB / 1.221 GB, free: 10.61 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002655/0.2666, allocations: 119.7 kB / 1.221 GB, free: 10.46 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001165/0.2667, allocations: 50.55 kB / 1.221 GB, free: 10.4 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.272e-05/0.2667, allocations: 4 kB / 1.221 GB, free: 10.4 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002108/0.267, allocations: 109.9 kB / 1.221 GB, free: 10.27 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=8): time 1.182e-06/0.267, allocations: 0 / 1.221 GB, free: 10.27 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8): time 0.0004662/0.2674, allocations: 169.6 kB / 1.221 GB, free: 10.1 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.75e-05/0.2675, allocations: 132.5 kB / 1.221 GB, free: 9.938 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001792/0.2677, allocations: 174.9 kB / 1.221 GB, free: 9.758 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.186e-05/0.2677, allocations: 29.7 kB / 1.221 GB, free: 9.723 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.686e-05/0.2678, allocations: 104.1 kB / 1.221 GB, free: 9.617 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.864e-05/0.2678, allocations: 23.8 kB / 1.221 GB, free: 9.594 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.661e-05/0.2678, allocations: 29.7 kB / 1.221 GB, free: 9.559 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001282/0.268, allocations: 322.9 kB / 1.222 GB, free: 9.234 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001012/0.2681, allocations: 31.98 kB / 1.222 GB, free: 9.203 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001218/0.2682, allocations: 64.2 kB / 1.222 GB, free: 9.125 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002155/0.2684, allocations: 95.42 kB / 1.222 GB, free: 9.02 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.2684, allocations: 3.938 kB / 1.222 GB, free: 9.016 MB / 0.9669 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002913/0.2687, allocations: 137.4 kB / 1.222 GB, free: 8.875 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/0.2687, allocations: 4 kB / 1.222 GB, free: 8.871 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.477e-06/0.2687, allocations: 0 / 1.222 GB, free: 8.871 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.2687, allocations: 8.094 kB / 1.222 GB, free: 8.863 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001171/0.2689, allocations: 19.98 kB / 1.222 GB, free: 8.844 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.2689, allocations: 0 / 1.222 GB, free: 8.844 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.827e-05/0.2689, allocations: 11.94 kB / 1.222 GB, free: 8.832 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.324e-06/0.2689, allocations: 4 kB / 1.222 GB, free: 8.828 MB / 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.0001045/0.269, allocations: 139.4 kB / 1.222 GB, free: 8.684 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.982e-05/0.2691, allocations: 12.14 kB / 1.222 GB, free: 8.672 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002267/0.2693, allocations: 107.1 kB / 1.222 GB, free: 8.559 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.2693, allocations: 7.938 kB / 1.222 GB, free: 8.551 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.2693, allocations: 384 / 1.222 GB, free: 8.551 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.2693, allocations: 0 / 1.222 GB, free: 8.551 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001815/0.2695, allocations: 213.4 kB / 1.223 GB, free: 8.293 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.2695, allocations: 4 kB / 1.223 GB, free: 8.289 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.394e-05/0.2696, allocations: 23.92 kB / 1.223 GB, free: 8.266 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.2696, allocations: 0 / 1.223 GB, free: 8.266 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.205e-05/0.2696, allocations: 4 kB / 1.223 GB, free: 8.262 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.2696, allocations: 0 / 1.223 GB, free: 8.262 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.2696, allocations: 0 / 1.223 GB, free: 8.262 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000319/0.2699, allocations: 166.7 kB / 1.223 GB, free: 8.074 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.932e-05/0.27, allocations: 89.02 kB / 1.223 GB, free: 7.969 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.032e-05/0.27, allocations: 11.98 kB / 1.223 GB, free: 7.957 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.13e-05/0.2701, allocations: 4 kB / 1.223 GB, free: 7.953 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.943e-05/0.2701, allocations: 15.92 kB / 1.223 GB, free: 7.938 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.588e-05/0.2701, allocations: 8 kB / 1.223 GB, free: 7.93 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.00012/0.2702, allocations: 131.2 kB / 1.223 GB, free: 7.801 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2702, allocations: 0 / 1.223 GB, free: 7.801 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002303/0.2705, allocations: 31.94 kB / 1.223 GB, free: 7.77 MB / 0.9669 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.001967/0.2724, allocations: 1.055 MB / 1.224 GB, free: 6.855 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002719/0.2727, allocations: 79.88 kB / 1.224 GB, free: 6.777 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.2727, allocations: 4 kB / 1.224 GB, free: 6.773 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001223/0.2728, allocations: 35.97 kB / 1.224 GB, free: 6.738 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002613/0.2731, allocations: 36.42 kB / 1.224 GB, free: 6.707 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001953/0.275, allocations: 1.689 MB / 1.226 GB, free: 4.906 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002991/0.2753, allocations: 0.7079 MB / 1.227 GB, free: 4.172 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 7.133e-05/0.2754, allocations: 24.48 kB / 1.227 GB, free: 4.148 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.041e-05/0.2755, allocations: 43.41 kB / 1.227 GB, free: 4.105 MB / 0.9669 GB Notification: Performance of SimCode: time 4.31e-07/0.2755, allocations: 0 / 1.227 GB, free: 4.105 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02624/0.3017, allocations: 3.872 MB / 1.23 GB, free: 260 kB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.264/7.566, allocations: 0 / 1.23 GB, free: 260 kB / 0.9669 GB " [Timeout remaining time 292] (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 & python3 -m fmpy simulate --output-file Buildings_10_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_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.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_IO_Files_Examples_CSVReader.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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: 12.848645064004813]