Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.IO.Files.Examples.CSVReader.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001415/0.001415, allocations: 110.4 kB / 18.94 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001511/0.001511, allocations: 220.3 kB / 22.26 MB, free: 5.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.512/1.512, allocations: 230.6 MB / 256 MB, free: 7.965 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.215/3.215, allocations: 0.49 GB / 0.7951 GB, free: 33.43 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="Buildings_12_Buildings_Utilities_IO_Files_Examples_CSVReader",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="Buildings_12_Buildings_Utilities_IO_Files_Examples_CSVReader",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002049/0.002049, allocations: 71.84 kB / 1.154 GB, free: 25.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3419/0.3439, allocations: 176.1 MB / 1.326 GB, free: 1.984 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.003045/0.347, allocations: 1.728 MB / 1.328 GB, free: 256 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00266/0.3496, allocations: 1.804 MB / 1.329 GB, free: 14.44 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.245e-05/0.3497, allocations: 4 kB / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002603/0.35, allocations: 35.7 kB / 1.329 GB, free: 14.4 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0003192/0.3503, allocations: 111.5 kB / 1.329 GB, free: 14.29 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002264/0.3505, allocations: 99.64 kB / 1.33 GB, free: 14.19 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002235/0.3507, allocations: 139.5 kB / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.894e-05/0.3508, allocations: 1.641 kB / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001792/0.351, allocations: 71.64 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001638/0.3511, allocations: 59.75 kB / 1.33 GB, free: 13.92 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.247e-05/0.3512, allocations: 8 kB / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002092/0.3514, allocations: 115.9 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.525e-05/0.3514, allocations: 27.8 kB / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 6.669e-05/0.3515, allocations: 55.72 kB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003243/0.3518, allocations: 199.5 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.3518, allocations: 0 / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.252e-06/0.3518, allocations: 0 / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.437e-06/0.3518, allocations: 0 / 1.33 GB, free: 13.52 MB / 1.029 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.0006624/0.3525, allocations: 397.2 kB / 1.331 GB, free: 13.1 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.49e-05/0.3525, allocations: 15.91 kB / 1.331 GB, free: 13.09 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.038e-05/0.3526, allocations: 38.73 kB / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001623/0.3527, allocations: 32.83 kB / 1.331 GB, free: 13.01 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000316/0.353, allocations: 163.1 kB / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.211e-05/0.3531, allocations: 384 / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.852e-05/0.3531, allocations: 7.938 kB / 1.331 GB, free: 12.81 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002455/0.3533, allocations: 101 kB / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.3533, allocations: 0 / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.3533, allocations: 7.938 kB / 1.331 GB, free: 12.69 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.3533, allocations: 0 / 1.331 GB, free: 12.69 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001765/0.3535, allocations: 51.95 kB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002617/0.3538, allocations: 182.5 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002766/0.3541, allocations: 115.7 kB / 1.331 GB, free: 12.27 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001296/0.3542, allocations: 50.55 kB / 1.331 GB, free: 12.21 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.009e-05/0.3542, allocations: 7.984 kB / 1.331 GB, free: 12.2 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002344/0.3545, allocations: 105.9 kB / 1.331 GB, free: 12.08 MB / 1.029 GB Notification: Performance of pre-optimization done (n=8): time 1.112e-06/0.3545, allocations: 0 / 1.331 GB, free: 12.08 MB / 1.029 GB Notification: Performance of matching and sorting (n=8): time 0.0004912/0.3549, allocations: 169.6 kB / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.11e-05/0.355, allocations: 132.5 kB / 1.332 GB, free: 11.75 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000214/0.3553, allocations: 199.2 kB / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.392e-05/0.3553, allocations: 29.7 kB / 1.332 GB, free: 11.51 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.497e-05/0.3553, allocations: 104.1 kB / 1.332 GB, free: 11.4 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.798e-05/0.3554, allocations: 23.84 kB / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.785e-05/0.3554, allocations: 25.7 kB / 1.332 GB, free: 11.35 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000151/0.3556, allocations: 322.8 kB / 1.332 GB, free: 11.02 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001024/0.3557, allocations: 31.98 kB / 1.332 GB, free: 10.99 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001321/0.3558, allocations: 68.2 kB / 1.333 GB, free: 10.91 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002327/0.356, allocations: 99.36 kB / 1.333 GB, free: 10.8 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.356, allocations: 3.938 kB / 1.333 GB, free: 10.8 MB / 1.029 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003019/0.3563, allocations: 129.5 kB / 1.333 GB, free: 10.66 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.3564, allocations: 4 kB / 1.333 GB, free: 10.66 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.3564, allocations: 4 kB / 1.333 GB, free: 10.66 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.3564, allocations: 96 / 1.333 GB, free: 10.66 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001218/0.3565, allocations: 23.98 kB / 1.333 GB, free: 10.63 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.3565, allocations: 0 / 1.333 GB, free: 10.63 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.328e-05/0.3566, allocations: 23.88 kB / 1.333 GB, free: 10.61 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.898e-06/0.3566, allocations: 4.188 kB / 1.333 GB, free: 10.61 MB / 1.029 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.0001173/0.3567, allocations: 135.4 kB / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.106e-05/0.3568, allocations: 15.84 kB / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002512/0.357, allocations: 107.4 kB / 1.333 GB, free: 10.33 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.357, allocations: 4 kB / 1.333 GB, free: 10.33 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.228e-06/0.357, allocations: 8.062 kB / 1.333 GB, free: 10.32 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.357, allocations: 3.984 kB / 1.333 GB, free: 10.32 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001906/0.3572, allocations: 176.6 kB / 1.333 GB, free: 10.1 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.3572, allocations: 3.938 kB / 1.333 GB, free: 10.1 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.023e-05/0.3573, allocations: 23.92 kB / 1.333 GB, free: 10.07 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.3573, allocations: 0 / 1.333 GB, free: 10.07 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.264e-05/0.3573, allocations: 4 kB / 1.333 GB, free: 10.07 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.3573, allocations: 0 / 1.333 GB, free: 10.07 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.3573, allocations: 3.984 kB / 1.333 GB, free: 10.07 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004013/0.3577, allocations: 166.7 kB / 1.333 GB, free: 9.879 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.201e-05/0.3578, allocations: 19.89 kB / 1.333 GB, free: 9.859 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.83e-05/0.3578, allocations: 3.938 kB / 1.333 GB, free: 9.855 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.054e-05/0.3579, allocations: 7.984 kB / 1.333 GB, free: 9.848 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.5e-05/0.3579, allocations: 15.98 kB / 1.333 GB, free: 9.832 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.601e-05/0.3579, allocations: 4 kB / 1.333 GB, free: 9.828 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001428/0.3581, allocations: 145.2 kB / 1.334 GB, free: 9.688 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3581, allocations: 0 / 1.334 GB, free: 9.688 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002798/0.3583, allocations: 43.88 kB / 1.334 GB, free: 9.645 MB / 1.029 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.002269/0.3606, allocations: 1.099 MB / 1.335 GB, free: 8.703 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002893/0.3609, allocations: 79.88 kB / 1.335 GB, free: 8.625 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.3609, allocations: 0 / 1.335 GB, free: 8.625 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000125/0.361, allocations: 40.17 kB / 1.335 GB, free: 8.586 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003057/0.3613, allocations: 33.8 kB / 1.335 GB, free: 8.555 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002214/0.3636, allocations: 1.746 MB / 1.337 GB, free: 6.691 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003363/0.3639, allocations: 0.7156 MB / 1.337 GB, free: 5.949 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.091e-05/0.364, allocations: 20.62 kB / 1.337 GB, free: 5.93 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.208e-05/0.3641, allocations: 51.34 kB / 1.337 GB, free: 5.883 MB / 1.029 GB Notification: Performance of SimCode: time 3.3e-07/0.3641, allocations: 0 / 1.337 GB, free: 5.883 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.033/0.3971, allocations: 4.545 MB / 1.342 GB, free: 1.398 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.28/11.67, allocations: 13.72 kB / 1.342 GB, free: 1.387 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; mkfifo Buildings_12_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe >> ../files/Buildings_12_Buildings.Utilities.IO.Files.Examples.CSVReader.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Utilities_IO_Files_Examples_CSVReader.fmu > Buildings_12_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.IO.Files.Examples.CSVReader_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_IO_Files_Examples_CSVReader.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 18.54904001900286]