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.001338/0.001338, allocations: 110.6 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.001657/0.001657, 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.501/1.501, allocations: 230.6 MB / 256 MB, free: 7.98 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.311/3.311, allocations: 0.505 GB / 0.8101 GB, free: 22.02 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.00206/0.00206, allocations: 67.09 kB / 1.177 GB, free: 16.94 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3574/0.3594, allocations: 180.2 MB / 1.353 GB, free: 8.445 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.00408/0.3635, allocations: 1.734 MB / 1.355 GB, free: 6.699 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.003553/0.3671, allocations: 1.797 MB / 1.356 GB, free: 4.895 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001687/0.3673, allocations: 3.938 kB / 1.356 GB, free: 4.891 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0004603/0.3677, allocations: 35.77 kB / 1.356 GB, free: 4.855 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0004598/0.3682, allocations: 111.5 kB / 1.356 GB, free: 4.746 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003429/0.3685, allocations: 95.64 kB / 1.357 GB, free: 4.652 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002658/0.3688, allocations: 135.5 kB / 1.357 GB, free: 4.52 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 6.975e-05/0.3688, allocations: 9.625 kB / 1.357 GB, free: 4.508 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002405/0.3691, allocations: 67.66 kB / 1.357 GB, free: 4.441 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002363/0.3693, allocations: 63.75 kB / 1.357 GB, free: 4.379 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.508e-05/0.3694, allocations: 8 kB / 1.357 GB, free: 4.371 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002819/0.3696, allocations: 119.9 kB / 1.357 GB, free: 4.254 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 7.913e-05/0.3697, allocations: 27.91 kB / 1.357 GB, free: 4.227 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 8.826e-05/0.3698, allocations: 47.67 kB / 1.357 GB, free: 4.18 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.000428/0.3702, allocations: 203.4 kB / 1.357 GB, free: 3.98 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.3702, allocations: 0 / 1.357 GB, free: 3.98 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.404e-06/0.3702, allocations: 0 / 1.357 GB, free: 3.98 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.344e-06/0.3702, allocations: 0 / 1.357 GB, free: 3.98 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.0008014/0.371, allocations: 409.2 kB / 1.358 GB, free: 3.551 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.814e-05/0.3711, allocations: 8.031 kB / 1.358 GB, free: 3.543 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.33e-05/0.3711, allocations: 34.69 kB / 1.358 GB, free: 3.5 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001887/0.3713, allocations: 24.83 kB / 1.358 GB, free: 3.477 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003805/0.3717, allocations: 163.1 kB / 1.358 GB, free: 3.289 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.518e-05/0.3717, allocations: 4.375 kB / 1.358 GB, free: 3.285 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.488e-05/0.3717, allocations: 3.938 kB / 1.358 GB, free: 3.281 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002614/0.372, allocations: 109 kB / 1.358 GB, free: 3.156 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.372, allocations: 0 / 1.358 GB, free: 3.156 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.658e-05/0.372, allocations: 4 kB / 1.358 GB, free: 3.152 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.372, allocations: 0 / 1.358 GB, free: 3.152 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000181/0.3722, allocations: 55.89 kB / 1.358 GB, free: 3.098 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002836/0.3725, allocations: 186.5 kB / 1.358 GB, free: 2.867 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002874/0.3728, allocations: 111.7 kB / 1.358 GB, free: 2.73 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001246/0.3729, allocations: 54.61 kB / 1.358 GB, free: 2.668 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.406e-05/0.3729, allocations: 4 kB / 1.358 GB, free: 2.664 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000288/0.3732, allocations: 109.8 kB / 1.358 GB, free: 2.535 MB / 1.045 GB Notification: Performance of pre-optimization done (n=8): time 1.453e-06/0.3732, allocations: 0 / 1.358 GB, free: 2.535 MB / 1.045 GB Notification: Performance of matching and sorting (n=8): time 0.0005558/0.3738, allocations: 161.5 kB / 1.359 GB, free: 2.371 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001235/0.3739, allocations: 136.5 kB / 1.359 GB, free: 2.207 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002562/0.3742, allocations: 203.1 kB / 1.359 GB, free: 2 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.87e-05/0.3742, allocations: 29.7 kB / 1.359 GB, free: 1.965 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 8.601e-05/0.3743, allocations: 104.1 kB / 1.359 GB, free: 1.859 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.8e-05/0.3743, allocations: 24.11 kB / 1.359 GB, free: 1.836 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.434e-05/0.3744, allocations: 25.7 kB / 1.359 GB, free: 1.805 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001864/0.3746, allocations: 326.8 kB / 1.359 GB, free: 1.477 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001061/0.3747, allocations: 27.98 kB / 1.359 GB, free: 1.449 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001378/0.3748, allocations: 64.27 kB / 1.359 GB, free: 1.371 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002317/0.375, allocations: 99.36 kB / 1.36 GB, free: 1.262 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.3751, allocations: 3.938 kB / 1.36 GB, free: 1.258 MB / 1.045 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003208/0.3754, allocations: 133.5 kB / 1.36 GB, free: 1.121 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/0.3754, allocations: 5.719 kB / 1.36 GB, free: 1.117 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.3754, allocations: 0 / 1.36 GB, free: 1.117 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.194e-05/0.3754, allocations: 4 kB / 1.36 GB, free: 1.113 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001424/0.3756, allocations: 27.91 kB / 1.36 GB, free: 1.086 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.896e-06/0.3756, allocations: 3.984 kB / 1.36 GB, free: 1.082 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.327e-05/0.3757, allocations: 11.94 kB / 1.36 GB, free: 1.07 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.177e-05/0.3757, allocations: 4 kB / 1.36 GB, free: 1.066 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.0001287/0.3758, allocations: 135.7 kB / 1.36 GB, free: 0.9258 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.486e-05/0.3758, allocations: 15.91 kB / 1.36 GB, free: 0.9102 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002758/0.3761, allocations: 119.3 kB / 1.36 GB, free: 0.7812 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.3761, allocations: 0 / 1.36 GB, free: 0.7812 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.3761, allocations: 0 / 1.36 GB, free: 0.7812 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.3761, allocations: 4 kB / 1.36 GB, free: 0.7773 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002151/0.3763, allocations: 184.6 kB / 1.36 GB, free: 0.5547 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.3763, allocations: 0 / 1.36 GB, free: 0.5547 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.264e-05/0.3764, allocations: 12 kB / 1.36 GB, free: 0.543 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.469e-06/0.3764, allocations: 4 kB / 1.36 GB, free: 0.5391 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.598e-05/0.3764, allocations: 11.98 kB / 1.36 GB, free: 0.5273 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.3764, allocations: 0 / 1.36 GB, free: 0.5273 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.3764, allocations: 0 / 1.36 GB, free: 0.5273 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003695/0.3768, allocations: 170.6 kB / 1.36 GB, free: 344 kB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 3.245e-05/0.3768, allocations: 19.84 kB / 1.36 GB, free: 324 kB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.403e-05/0.3769, allocations: 8 kB / 1.36 GB, free: 316 kB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.79e-05/0.3769, allocations: 7.984 kB / 1.36 GB, free: 308 kB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.031e-05/0.377, allocations: 11.98 kB / 1.36 GB, free: 296 kB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.566e-05/0.377, allocations: 4 kB / 1.36 GB, free: 292 kB / 1.045 GB Notification: Performance of sorting global known variables: time 0.000135/0.3771, allocations: 141.2 kB / 1.361 GB, free: 152 kB / 1.045 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3771, allocations: 4 kB / 1.361 GB, free: 148 kB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002848/0.3774, allocations: 43.86 kB / 1.361 GB, free: 104 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.002388/0.3798, allocations: 1.108 MB / 1.362 GB, free: 15.15 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003047/0.3801, allocations: 83.89 kB / 1.362 GB, free: 15.07 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.3801, allocations: 0 / 1.362 GB, free: 15.07 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001295/0.3803, allocations: 43.91 kB / 1.362 GB, free: 15.03 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003066/0.3806, allocations: 23.98 kB / 1.362 GB, free: 15 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002413/0.383, allocations: 1.752 MB / 1.364 GB, free: 13.14 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003374/0.3833, allocations: 0.7078 MB / 1.364 GB, free: 12.4 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 9.233e-05/0.3834, allocations: 24.62 kB / 1.364 GB, free: 12.38 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.094e-05/0.3835, allocations: 47.41 kB / 1.364 GB, free: 12.33 MB / 1.061 GB Notification: Performance of SimCode: time 4.8e-07/0.3835, allocations: 4 kB / 1.364 GB, free: 12.33 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03642/0.4199, allocations: 4.529 MB / 1.369 GB, free: 7.848 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.49/11.91, allocations: 7.234 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVReader_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_IO_Files_Examples_CSVReader_fmu --startTime=-1.21 --stopTime=10 --stepSize=0.004484 --timeout=800 --tolerance=1e-06 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.mat","/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.840734615921974]