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.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.001916/0.001916, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002727/0.002727, allocations: 215.1 kB / 22.26 MB, free: 5.082 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.486/1.486, allocations: 230.6 MB / 256 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.343/3.343, allocations: 0.505 GB / 0.8101 GB, free: 22.05 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_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: 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.002002/0.002002, allocations: 67.72 kB / 1.177 GB, free: 17.13 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.325/0.327, allocations: 180.2 MB / 1.353 GB, free: 8.453 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.003186/0.3302, allocations: 1.74 MB / 1.355 GB, free: 6.699 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002755/0.3329, allocations: 1.789 MB / 1.356 GB, free: 4.902 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001181/0.3331, allocations: 3.938 kB / 1.356 GB, free: 4.898 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.000332/0.3334, allocations: 39.77 kB / 1.356 GB, free: 4.859 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0003834/0.3338, allocations: 107.5 kB / 1.356 GB, free: 4.754 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002863/0.3341, allocations: 95.64 kB / 1.357 GB, free: 4.652 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002401/0.3343, allocations: 139.5 kB / 1.357 GB, free: 4.516 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 5.514e-05/0.3344, allocations: 5.641 kB / 1.357 GB, free: 4.508 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000228/0.3346, allocations: 75.64 kB / 1.357 GB, free: 4.434 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001673/0.3348, allocations: 55.77 kB / 1.357 GB, free: 4.379 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.473e-05/0.3348, allocations: 12 kB / 1.357 GB, free: 4.367 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002221/0.335, allocations: 119.9 kB / 1.357 GB, free: 4.25 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 5.654e-05/0.3351, allocations: 27.91 kB / 1.357 GB, free: 4.223 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 7.028e-05/0.3351, allocations: 47.67 kB / 1.357 GB, free: 4.176 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0003389/0.3355, allocations: 207.4 kB / 1.357 GB, free: 3.973 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.3355, allocations: 0 / 1.357 GB, free: 3.973 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.112e-06/0.3355, allocations: 0 / 1.357 GB, free: 3.973 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.3355, allocations: 0 / 1.357 GB, free: 3.973 MB / 1.045 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.0007438/0.3362, allocations: 401.2 kB / 1.358 GB, free: 3.551 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/0.3363, allocations: 12.03 kB / 1.358 GB, free: 3.539 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.308e-05/0.3363, allocations: 34.75 kB / 1.358 GB, free: 3.496 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001691/0.3365, allocations: 20.83 kB / 1.358 GB, free: 3.477 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003639/0.3369, allocations: 175.1 kB / 1.358 GB, free: 3.277 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.436e-05/0.3369, allocations: 384 / 1.358 GB, free: 3.277 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.52e-05/0.3369, allocations: 7.938 kB / 1.358 GB, free: 3.27 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00025/0.3371, allocations: 97.08 kB / 1.358 GB, free: 3.156 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.679e-06/0.3371, allocations: 4 kB / 1.358 GB, free: 3.152 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.3372, allocations: 0 / 1.358 GB, free: 3.152 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.3372, allocations: 0 / 1.358 GB, free: 3.152 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002003/0.3374, allocations: 51.89 kB / 1.358 GB, free: 3.102 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002474/0.3376, allocations: 190.5 kB / 1.358 GB, free: 2.867 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002726/0.3379, allocations: 111.7 kB / 1.358 GB, free: 2.73 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001228/0.338, allocations: 50.61 kB / 1.358 GB, free: 2.672 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.079e-05/0.338, allocations: 7.984 kB / 1.358 GB, free: 2.664 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002408/0.3383, allocations: 105.9 kB / 1.358 GB, free: 2.539 MB / 1.045 GB Notification: Performance of pre-optimization done (n=8): time 1.412e-06/0.3383, allocations: 3.938 kB / 1.358 GB, free: 2.535 MB / 1.045 GB Notification: Performance of matching and sorting (n=8): time 0.0005178/0.3388, allocations: 165.6 kB / 1.359 GB, free: 2.367 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.062e-05/0.3389, allocations: 136.5 kB / 1.359 GB, free: 2.203 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002122/0.3391, allocations: 203.1 kB / 1.359 GB, free: 1.996 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.157e-05/0.3391, allocations: 25.7 kB / 1.359 GB, free: 1.965 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 7.233e-05/0.3392, allocations: 108.1 kB / 1.359 GB, free: 1.855 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.973e-05/0.3392, allocations: 24.09 kB / 1.359 GB, free: 1.832 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.815e-05/0.3393, allocations: 29.7 kB / 1.359 GB, free: 1.797 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001418/0.3394, allocations: 322.8 kB / 1.359 GB, free: 1.473 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001087/0.3395, allocations: 31.98 kB / 1.359 GB, free: 1.441 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001299/0.3397, allocations: 64.33 kB / 1.359 GB, free: 1.363 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000225/0.3399, allocations: 99.36 kB / 1.36 GB, free: 1.254 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.3399, allocations: 3.938 kB / 1.36 GB, free: 1.25 MB / 1.045 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000307/0.3402, allocations: 133.6 kB / 1.36 GB, free: 1.113 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.3402, allocations: 13.5 kB / 1.36 GB, free: 1.102 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.3402, allocations: 0 / 1.36 GB, free: 1.102 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.3402, allocations: 4 kB / 1.36 GB, free: 1.098 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000128/0.3404, allocations: 19.98 kB / 1.36 GB, free: 1.078 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/0.3404, allocations: 0 / 1.36 GB, free: 1.078 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.625e-05/0.3405, allocations: 15.92 kB / 1.36 GB, free: 1.062 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.546e-06/0.3405, allocations: 0 / 1.36 GB, free: 1.062 MB / 1.045 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.0001209/0.3406, allocations: 133.8 kB / 1.36 GB, free: 0.9219 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.235e-05/0.3406, allocations: 15.91 kB / 1.36 GB, free: 0.9062 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002534/0.3409, allocations: 115 kB / 1.36 GB, free: 0.7812 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.3409, allocations: 0 / 1.36 GB, free: 0.7812 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.3409, allocations: 0 / 1.36 GB, free: 0.7812 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.3409, allocations: 4 kB / 1.36 GB, free: 0.7773 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001993/0.3411, allocations: 172.6 kB / 1.36 GB, free: 0.5664 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.3411, allocations: 0 / 1.36 GB, free: 0.5664 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.47e-05/0.3412, allocations: 15.98 kB / 1.36 GB, free: 0.5508 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.3412, allocations: 0 / 1.36 GB, free: 0.5508 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.466e-05/0.3412, allocations: 4.125 kB / 1.36 GB, free: 0.5469 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.653e-06/0.3412, allocations: 11.98 kB / 1.36 GB, free: 0.5352 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.3412, allocations: 3.938 kB / 1.36 GB, free: 0.5312 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003273/0.3415, allocations: 170.6 kB / 1.36 GB, free: 348 kB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 3.14e-05/0.3415, allocations: 15.91 kB / 1.36 GB, free: 332 kB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.821e-05/0.3416, allocations: 7.938 kB / 1.36 GB, free: 324 kB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.054e-05/0.3417, allocations: 12.17 kB / 1.36 GB, free: 312 kB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.197e-05/0.3417, allocations: 7.984 kB / 1.36 GB, free: 304 kB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.733e-05/0.3417, allocations: 7.938 kB / 1.36 GB, free: 296 kB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001413/0.3419, allocations: 145.2 kB / 1.361 GB, free: 152 kB / 1.045 GB Notification: Performance of sort global known variables: time 6e-08/0.3419, allocations: 0 / 1.361 GB, free: 152 kB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002924/0.3421, allocations: 51.86 kB / 1.361 GB, free: 100 kB / 1.045 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.002315/0.3445, allocations: 1.096 MB / 1.362 GB, free: 15.16 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002996/0.3448, allocations: 87.94 kB / 1.362 GB, free: 15.07 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.3448, allocations: 0 / 1.362 GB, free: 15.07 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001281/0.3449, allocations: 39.92 kB / 1.362 GB, free: 15.04 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002939/0.3452, allocations: 30.03 kB / 1.362 GB, free: 15.01 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002331/0.3475, allocations: 1.742 MB / 1.364 GB, free: 13.15 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003482/0.3479, allocations: 0.7156 MB / 1.364 GB, free: 12.41 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 9.779e-05/0.348, allocations: 20.88 kB / 1.364 GB, free: 12.39 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.566e-05/0.3481, allocations: 47.39 kB / 1.364 GB, free: 12.34 MB / 1.061 GB Notification: Performance of SimCode: time 5.92e-07/0.3481, allocations: 4 kB / 1.364 GB, free: 12.34 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03392/0.382, allocations: 4.537 MB / 1.369 GB, free: 7.848 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.11/11.49, allocations: 5.719 kB / 1.369 GB, free: 7.844 MB / 1.061 GB " [Timeout remaining time 288] (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVReader_res.csv --start-time -1.21 --stop-time 10 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004484 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.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_IO_Files_Examples_CSVReader.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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: 18.514018270000633]