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.002132/0.002132, allocations: 99.75 kB / 18.94 MB, free: 2.832 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.002532/0.002532, allocations: 221.8 kB / 22.25 MB, free: 5.102 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.601/1.601, allocations: 230.6 MB / 256 MB, free: 7.781 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.274/3.274, allocations: 0.49 GB / 0.7951 GB, free: 35.44 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.00202/0.00202, allocations: 68.05 kB / 1.154 GB, free: 25.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3452/0.3472, allocations: 176.1 MB / 1.326 GB, free: 1.473 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.003623/0.3508, allocations: 1.684 MB / 1.327 GB, free: 15.78 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003036/0.3539, allocations: 1.722 MB / 1.329 GB, free: 14.05 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.712e-05/0.3539, allocations: 4 kB / 1.329 GB, free: 14.04 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.000282/0.3542, allocations: 39.7 kB / 1.329 GB, free: 14 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0003824/0.3546, allocations: 107.5 kB / 1.329 GB, free: 13.9 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002404/0.3548, allocations: 95.64 kB / 1.329 GB, free: 13.8 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002105/0.3551, allocations: 139.5 kB / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.529e-05/0.3551, allocations: 13.62 kB / 1.33 GB, free: 13.65 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001867/0.3553, allocations: 71.7 kB / 1.33 GB, free: 13.58 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002105/0.3555, allocations: 57.08 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.657e-05/0.3555, allocations: 11.98 kB / 1.33 GB, free: 13.51 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001938/0.3557, allocations: 104 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.16e-05/0.3558, allocations: 23.91 kB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 6.635e-05/0.3559, allocations: 43.73 kB / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003597/0.3562, allocations: 211.4 kB / 1.33 GB, free: 13.14 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.3562, allocations: 0 / 1.33 GB, free: 13.14 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.884e-06/0.3562, allocations: 0 / 1.33 GB, free: 13.14 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.262e-06/0.3562, allocations: 0 / 1.33 GB, free: 13.14 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.0007188/0.357, allocations: 401.2 kB / 1.33 GB, free: 12.71 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/0.357, allocations: 8.031 kB / 1.33 GB, free: 12.71 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.223e-05/0.357, allocations: 34.75 kB / 1.33 GB, free: 12.66 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001678/0.3572, allocations: 24.83 kB / 1.33 GB, free: 12.64 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003377/0.3576, allocations: 167.1 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.743e-05/0.3576, allocations: 4.375 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.822e-05/0.3576, allocations: 3.938 kB / 1.331 GB, free: 12.44 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002584/0.3578, allocations: 134.8 kB / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.3579, allocations: 3.938 kB / 1.331 GB, free: 12.28 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.465e-05/0.3579, allocations: 4 kB / 1.331 GB, free: 12.28 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.3579, allocations: 0 / 1.331 GB, free: 12.28 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001943/0.3581, allocations: 55.89 kB / 1.331 GB, free: 12.22 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002381/0.3583, allocations: 174.6 kB / 1.331 GB, free: 12 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002986/0.3586, allocations: 119.7 kB / 1.331 GB, free: 11.86 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000122/0.3587, allocations: 54.61 kB / 1.331 GB, free: 11.8 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.772e-05/0.3587, allocations: 0 / 1.331 GB, free: 11.8 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002358/0.359, allocations: 113.9 kB / 1.331 GB, free: 11.66 MB / 1.029 GB Notification: Performance of pre-optimization done (n=8): time 1.182e-06/0.359, allocations: 4 kB / 1.331 GB, free: 11.66 MB / 1.029 GB Notification: Performance of matching and sorting (n=8): time 0.000534/0.3595, allocations: 173.7 kB / 1.331 GB, free: 11.48 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.764e-05/0.3596, allocations: 136.4 kB / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002215/0.3598, allocations: 203.2 kB / 1.332 GB, free: 11.11 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.216e-05/0.3598, allocations: 29.7 kB / 1.332 GB, free: 11.08 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.151e-05/0.3599, allocations: 108.1 kB / 1.332 GB, free: 10.97 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.9e-05/0.36, allocations: 19.84 kB / 1.332 GB, free: 10.95 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.989e-05/0.36, allocations: 25.72 kB / 1.332 GB, free: 10.92 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001458/0.3602, allocations: 322.8 kB / 1.332 GB, free: 10.59 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001099/0.3603, allocations: 35.97 kB / 1.332 GB, free: 10.56 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001468/0.3604, allocations: 97.97 kB / 1.332 GB, free: 10.44 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002312/0.3606, allocations: 95.33 kB / 1.332 GB, free: 10.34 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.3606, allocations: 3.938 kB / 1.332 GB, free: 10.33 MB / 1.029 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003135/0.361, allocations: 141.5 kB / 1.333 GB, free: 10.19 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.361, allocations: 12.06 kB / 1.333 GB, free: 10.18 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.361, allocations: 7.938 kB / 1.333 GB, free: 10.17 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.361, allocations: 0 / 1.333 GB, free: 10.17 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001228/0.3611, allocations: 19.98 kB / 1.333 GB, free: 10.15 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.3611, allocations: 0 / 1.333 GB, free: 10.15 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.704e-05/0.3612, allocations: 19.88 kB / 1.333 GB, free: 10.13 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.094e-05/0.3612, allocations: 4 kB / 1.333 GB, free: 10.12 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.0001187/0.3613, allocations: 128.1 kB / 1.333 GB, free: 9.992 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.345e-05/0.3614, allocations: 15.91 kB / 1.333 GB, free: 9.977 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002778/0.3616, allocations: 135 kB / 1.333 GB, free: 9.832 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.3617, allocations: 0 / 1.333 GB, free: 9.832 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.3617, allocations: 4 kB / 1.333 GB, free: 9.828 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.3617, allocations: 0 / 1.333 GB, free: 9.828 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001869/0.3618, allocations: 172.8 kB / 1.333 GB, free: 9.617 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.3618, allocations: 0 / 1.333 GB, free: 9.617 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.389e-05/0.3619, allocations: 24.23 kB / 1.333 GB, free: 9.594 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.3619, allocations: 0 / 1.333 GB, free: 9.594 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.334e-05/0.3619, allocations: 4 kB / 1.333 GB, free: 9.59 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.57e-06/0.362, allocations: 7.984 kB / 1.333 GB, free: 9.582 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.362, allocations: 7.938 kB / 1.333 GB, free: 9.574 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003552/0.3623, allocations: 182.6 kB / 1.333 GB, free: 9.371 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.061e-05/0.3623, allocations: 15.91 kB / 1.333 GB, free: 9.355 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.376e-05/0.3624, allocations: 7.984 kB / 1.333 GB, free: 9.348 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.756e-05/0.3625, allocations: 4 kB / 1.333 GB, free: 9.344 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.57e-05/0.3625, allocations: 11.98 kB / 1.333 GB, free: 9.332 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.805e-05/0.3625, allocations: 4 kB / 1.333 GB, free: 9.328 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001637/0.3627, allocations: 153.2 kB / 1.334 GB, free: 9.18 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3627, allocations: 4 kB / 1.334 GB, free: 9.176 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002997/0.363, allocations: 47.88 kB / 1.334 GB, free: 9.129 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 (10): * Single equations (assignments): 8 * 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.002556/0.3655, allocations: 1.15 MB / 1.335 GB, free: 8.172 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003242/0.3659, allocations: 91.88 kB / 1.335 GB, free: 8.082 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.3659, allocations: 0 / 1.335 GB, free: 8.082 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001573/0.366, allocations: 56.08 kB / 1.335 GB, free: 8.027 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003066/0.3663, allocations: 32.89 kB / 1.335 GB, free: 7.996 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002427/0.3688, allocations: 1.776 MB / 1.337 GB, free: 6.109 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.75e-05/0.3689, allocations: 101 kB / 1.337 GB, free: 5.988 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 7.873e-05/0.3689, allocations: 16.64 kB / 1.337 GB, free: 5.969 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.609e-05/0.369, allocations: 47.41 kB / 1.337 GB, free: 5.922 MB / 1.029 GB Notification: Performance of SimCode: time 4.01e-07/0.369, allocations: 0 / 1.337 GB, free: 5.922 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03579/0.4048, allocations: 5.21 MB / 1.342 GB, free: 0.7734 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.59/11.99, allocations: 4.062 kB / 1.342 GB, free: 0.7695 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: 19.08213097299449]