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.001415/0.001415, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001688/0.001688, allocations: 212.8 kB / 22.25 MB, free: 5.258 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.496/1.496, allocations: 230.6 MB / 256 MB, free: 7.785 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.302/3.302, allocations: 0.5107 GB / 0.8158 GB, free: 17.78 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.00303/0.00303, allocations: 67.45 kB / 1.186 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.366/0.369, allocations: 181.9 MB / 1.363 GB, free: 14.07 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.00309/0.3721, allocations: 1.685 MB / 1.365 GB, free: 12.37 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002668/0.3748, allocations: 1.723 MB / 1.367 GB, free: 10.64 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.964e-05/0.3749, allocations: 0 / 1.367 GB, free: 10.64 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.00028/0.3752, allocations: 31.78 kB / 1.367 GB, free: 10.61 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0004068/0.3756, allocations: 119.5 kB / 1.367 GB, free: 10.49 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002365/0.3758, allocations: 103.6 kB / 1.367 GB, free: 10.39 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003315/0.3761, allocations: 135.5 kB / 1.367 GB, free: 10.25 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 5.211e-05/0.3762, allocations: 5.641 kB / 1.367 GB, free: 10.24 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001775/0.3764, allocations: 67.7 kB / 1.367 GB, free: 10.18 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001868/0.3766, allocations: 55.75 kB / 1.367 GB, free: 10.12 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.213e-05/0.3766, allocations: 4 kB / 1.367 GB, free: 10.12 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00021/0.3768, allocations: 115.9 kB / 1.367 GB, free: 10 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 6.046e-05/0.3768, allocations: 27.91 kB / 1.367 GB, free: 9.977 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 5.76e-05/0.3769, allocations: 35.73 kB / 1.367 GB, free: 9.941 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003426/0.3772, allocations: 211.4 kB / 1.368 GB, free: 9.734 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.3773, allocations: 0 / 1.368 GB, free: 9.734 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.693e-06/0.3773, allocations: 0 / 1.368 GB, free: 9.734 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.315e-06/0.3773, allocations: 0 / 1.368 GB, free: 9.734 MB / 1.061 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.0006737/0.3779, allocations: 393.2 kB / 1.368 GB, free: 9.32 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.378, allocations: 8.031 kB / 1.368 GB, free: 9.312 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.108e-05/0.378, allocations: 38.73 kB / 1.368 GB, free: 9.266 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001592/0.3782, allocations: 24.88 kB / 1.368 GB, free: 9.242 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003121/0.3785, allocations: 167 kB / 1.368 GB, free: 9.051 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.308e-05/0.3785, allocations: 8.375 kB / 1.368 GB, free: 9.043 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.01e-05/0.3785, allocations: 7.922 kB / 1.368 GB, free: 9.035 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002676/0.3788, allocations: 130.7 kB / 1.368 GB, free: 8.883 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.3788, allocations: 0 / 1.368 GB, free: 8.883 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.3788, allocations: 0 / 1.368 GB, free: 8.883 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.568e-06/0.3788, allocations: 4 kB / 1.368 GB, free: 8.879 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002028/0.379, allocations: 55.89 kB / 1.368 GB, free: 8.824 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002517/0.3793, allocations: 178.5 kB / 1.369 GB, free: 8.602 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002923/0.3796, allocations: 119.7 kB / 1.369 GB, free: 8.457 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001337/0.3797, allocations: 50.61 kB / 1.369 GB, free: 8.398 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.832e-05/0.3797, allocations: 4 kB / 1.369 GB, free: 8.395 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002388/0.38, allocations: 113.9 kB / 1.369 GB, free: 8.262 MB / 1.061 GB Notification: Performance of pre-optimization done (n=8): time 1.522e-06/0.38, allocations: 0 / 1.369 GB, free: 8.262 MB / 1.061 GB Notification: Performance of matching and sorting (n=8): time 0.0005301/0.3805, allocations: 173.5 kB / 1.369 GB, free: 8.086 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001021/0.3806, allocations: 132.5 kB / 1.369 GB, free: 7.926 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002492/0.3808, allocations: 207.2 kB / 1.369 GB, free: 7.715 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.292e-05/0.3809, allocations: 25.7 kB / 1.369 GB, free: 7.684 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 8.096e-05/0.3809, allocations: 112.1 kB / 1.369 GB, free: 7.57 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.81e-05/0.381, allocations: 23.84 kB / 1.369 GB, free: 7.547 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.636e-05/0.381, allocations: 29.7 kB / 1.37 GB, free: 7.512 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001611/0.3812, allocations: 319.1 kB / 1.37 GB, free: 7.191 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001125/0.3813, allocations: 39.97 kB / 1.37 GB, free: 7.152 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000151/0.3815, allocations: 93.97 kB / 1.37 GB, free: 7.039 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002394/0.3817, allocations: 95.34 kB / 1.37 GB, free: 6.934 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.3817, allocations: 3.938 kB / 1.37 GB, free: 6.93 MB / 1.061 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003242/0.382, allocations: 141.8 kB / 1.37 GB, free: 6.785 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/0.3821, allocations: 8 kB / 1.37 GB, free: 6.777 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/0.3821, allocations: 4 kB / 1.37 GB, free: 6.773 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.3821, allocations: 0 / 1.37 GB, free: 6.773 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001368/0.3822, allocations: 27.91 kB / 1.37 GB, free: 6.746 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/0.3822, allocations: 4 kB / 1.37 GB, free: 6.742 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.381e-05/0.3823, allocations: 7.938 kB / 1.37 GB, free: 6.734 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.223e-05/0.3823, allocations: 4.094 kB / 1.37 GB, free: 6.73 MB / 1.061 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.0001343/0.3825, allocations: 135.7 kB / 1.37 GB, free: 6.59 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.515e-05/0.3825, allocations: 15.91 kB / 1.37 GB, free: 6.574 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002946/0.3828, allocations: 131.1 kB / 1.37 GB, free: 6.434 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.671e-06/0.3828, allocations: 4 kB / 1.37 GB, free: 6.43 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.3828, allocations: 3.938 kB / 1.37 GB, free: 6.426 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.3828, allocations: 0 / 1.37 GB, free: 6.426 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002348/0.383, allocations: 176.6 kB / 1.371 GB, free: 6.211 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.383, allocations: 4 kB / 1.371 GB, free: 6.207 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.449e-05/0.3831, allocations: 15.98 kB / 1.371 GB, free: 6.191 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.3831, allocations: 4 kB / 1.371 GB, free: 6.188 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.778e-05/0.3831, allocations: 8 kB / 1.371 GB, free: 6.18 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.3831, allocations: 0 / 1.371 GB, free: 6.18 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3831, allocations: 0 / 1.371 GB, free: 6.18 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003827/0.3835, allocations: 186.6 kB / 1.371 GB, free: 5.973 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.263e-05/0.3836, allocations: 11.95 kB / 1.371 GB, free: 5.961 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.169e-05/0.3836, allocations: 4 kB / 1.371 GB, free: 5.957 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.291e-05/0.3837, allocations: 7.984 kB / 1.371 GB, free: 5.949 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.746e-05/0.3837, allocations: 19.92 kB / 1.371 GB, free: 5.93 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.964e-05/0.3838, allocations: 4 kB / 1.371 GB, free: 5.926 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001685/0.3839, allocations: 153.1 kB / 1.371 GB, free: 5.777 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3839, allocations: 0 / 1.371 GB, free: 5.777 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002978/0.3842, allocations: 51.86 kB / 1.371 GB, free: 5.727 MB / 1.061 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.002626/0.3868, allocations: 1.146 MB / 1.372 GB, free: 4.77 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003327/0.3872, allocations: 91.88 kB / 1.372 GB, free: 4.68 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.3872, allocations: 4 kB / 1.372 GB, free: 4.676 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001547/0.3873, allocations: 47.91 kB / 1.372 GB, free: 4.629 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003301/0.3877, allocations: 41.59 kB / 1.372 GB, free: 4.59 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002623/0.3903, allocations: 1.773 MB / 1.374 GB, free: 2.711 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.657e-05/0.3904, allocations: 97.03 kB / 1.374 GB, free: 2.598 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001028/0.3905, allocations: 20.64 kB / 1.374 GB, free: 2.574 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001121/0.3906, allocations: 51.41 kB / 1.374 GB, free: 2.523 MB / 1.061 GB Notification: Performance of SimCode: time 9.12e-07/0.3906, allocations: 0 / 1.374 GB, free: 2.523 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03436/0.425, allocations: 5.153 MB / 1.379 GB, free: 13.43 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/11.91, allocations: 14.09 kB / 1.379 GB, free: 13.42 MB / 1.076 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.817474295850843]