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.001636/0.001636, allocations: 108.9 kB / 16.46 MB, free: 6.453 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.002123/0.002123, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.497/1.497, allocations: 230.6 MB / 252.8 MB, free: 8.953 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.248/3.248, allocations: 0.49 GB / 0.7916 GB, free: 33.34 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.002101/0.002101, allocations: 68.19 kB / 1.149 GB, free: 26.35 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.322/0.3241, allocations: 176.1 MB / 1.321 GB, free: 3.359 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.003338/0.3275, allocations: 1.71 MB / 1.322 GB, free: 1.637 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002737/0.3302, allocations: 1.713 MB / 1.324 GB, free: 15.91 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.118e-05/0.3303, allocations: 4 kB / 1.324 GB, free: 15.91 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002721/0.3306, allocations: 35.7 kB / 1.324 GB, free: 15.88 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0003613/0.3309, allocations: 107.5 kB / 1.324 GB, free: 15.77 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002596/0.3312, allocations: 95.64 kB / 1.324 GB, free: 15.68 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002505/0.3314, allocations: 147.5 kB / 1.325 GB, free: 15.53 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.03e-05/0.3315, allocations: 5.453 kB / 1.325 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002013/0.3317, allocations: 59.72 kB / 1.325 GB, free: 15.46 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001844/0.3319, allocations: 63.69 kB / 1.325 GB, free: 15.4 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.343e-05/0.3319, allocations: 8 kB / 1.325 GB, free: 15.39 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002327/0.3321, allocations: 111.9 kB / 1.325 GB, free: 15.28 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.54e-05/0.3322, allocations: 31.78 kB / 1.325 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 7.166e-05/0.3323, allocations: 47.73 kB / 1.325 GB, free: 15.2 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003702/0.3326, allocations: 203.5 kB / 1.325 GB, free: 15 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.3326, allocations: 3.984 kB / 1.325 GB, free: 15 MB / 1.029 GB Notification: Performance of FrontEnd: time 6.111e-06/0.3326, allocations: 8 kB / 1.325 GB, free: 14.99 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.933e-06/0.3326, allocations: 0 / 1.325 GB, free: 14.99 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.0007955/0.3334, allocations: 466.3 kB / 1.325 GB, free: 14.49 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.3335, allocations: 11.98 kB / 1.325 GB, free: 14.48 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.921e-05/0.3335, allocations: 42.67 kB / 1.326 GB, free: 14.43 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001811/0.3337, allocations: 24.84 kB / 1.326 GB, free: 14.4 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000383/0.3341, allocations: 229 kB / 1.326 GB, free: 14.14 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.238e-05/0.3341, allocations: 8.359 kB / 1.326 GB, free: 14.13 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.995e-05/0.3341, allocations: 7.938 kB / 1.326 GB, free: 14.12 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000257/0.3344, allocations: 97.03 kB / 1.326 GB, free: 14.01 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.3344, allocations: 0 / 1.326 GB, free: 14.01 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.614e-05/0.3344, allocations: 7.969 kB / 1.326 GB, free: 14 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.117e-06/0.3344, allocations: 0 / 1.326 GB, free: 14 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000192/0.3346, allocations: 51.91 kB / 1.326 GB, free: 13.95 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000268/0.3349, allocations: 211.5 kB / 1.326 GB, free: 13.69 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002936/0.3352, allocations: 119.7 kB / 1.326 GB, free: 13.54 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001352/0.3353, allocations: 46.56 kB / 1.326 GB, free: 13.49 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.108e-05/0.3353, allocations: 7.984 kB / 1.326 GB, free: 13.48 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002417/0.3356, allocations: 105.9 kB / 1.326 GB, free: 13.36 MB / 1.029 GB Notification: Performance of pre-optimization done (n=8): time 1.213e-06/0.3356, allocations: 4 kB / 1.326 GB, free: 13.35 MB / 1.029 GB Notification: Performance of matching and sorting (n=8): time 0.0005375/0.3361, allocations: 165.4 kB / 1.327 GB, free: 13.18 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.981e-05/0.3362, allocations: 128.5 kB / 1.327 GB, free: 13.03 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002274/0.3364, allocations: 195.4 kB / 1.327 GB, free: 12.83 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.162e-05/0.3365, allocations: 29.64 kB / 1.327 GB, free: 12.79 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.18e-05/0.3365, allocations: 108.1 kB / 1.327 GB, free: 12.68 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.813e-05/0.3366, allocations: 31.73 kB / 1.327 GB, free: 12.65 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.373e-05/0.3366, allocations: 25.72 kB / 1.327 GB, free: 12.62 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001498/0.3368, allocations: 322.8 kB / 1.327 GB, free: 12.3 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001162/0.3369, allocations: 31.97 kB / 1.327 GB, free: 12.27 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001428/0.337, allocations: 72.2 kB / 1.327 GB, free: 12.18 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002373/0.3373, allocations: 87.41 kB / 1.328 GB, free: 12.08 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/0.3373, allocations: 7.969 kB / 1.328 GB, free: 12.07 MB / 1.029 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003383/0.3376, allocations: 133.5 kB / 1.328 GB, free: 11.94 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.3376, allocations: 4 kB / 1.328 GB, free: 11.93 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/0.3376, allocations: 4 kB / 1.328 GB, free: 11.93 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.3377, allocations: 0 / 1.328 GB, free: 11.93 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001297/0.3378, allocations: 19.98 kB / 1.328 GB, free: 11.91 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.3378, allocations: 320 / 1.328 GB, free: 11.91 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.492e-05/0.3379, allocations: 20.03 kB / 1.328 GB, free: 11.89 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.505e-05/0.3379, allocations: 12 kB / 1.328 GB, free: 11.88 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.00013/0.338, allocations: 131.4 kB / 1.328 GB, free: 11.74 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.803e-05/0.3381, allocations: 11.91 kB / 1.328 GB, free: 11.73 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.094e-05/0.3381, allocations: 25.39 kB / 1.328 GB, free: 11.7 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-06/0.3381, allocations: 0 / 1.328 GB, free: 11.7 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.3381, allocations: 0 / 1.328 GB, free: 11.7 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.3381, allocations: 4 kB / 1.328 GB, free: 11.7 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002209/0.3384, allocations: 209.5 kB / 1.328 GB, free: 11.44 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.3384, allocations: 4 kB / 1.328 GB, free: 11.44 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.113e-05/0.3384, allocations: 15.98 kB / 1.328 GB, free: 11.42 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.3384, allocations: 3.938 kB / 1.328 GB, free: 11.42 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.313e-05/0.3385, allocations: 4 kB / 1.328 GB, free: 11.41 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.3385, allocations: 0 / 1.328 GB, free: 11.41 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3385, allocations: 0 / 1.328 GB, free: 11.41 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003782/0.3388, allocations: 174.6 kB / 1.328 GB, free: 11.22 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.954e-05/0.3389, allocations: 89.02 kB / 1.328 GB, free: 11.11 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.421e-05/0.3389, allocations: 7.984 kB / 1.328 GB, free: 11.11 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.437e-05/0.339, allocations: 8 kB / 1.328 GB, free: 11.1 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.061e-05/0.3391, allocations: 7.984 kB / 1.328 GB, free: 11.09 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.678e-05/0.3391, allocations: 4 kB / 1.328 GB, free: 11.09 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001531/0.3392, allocations: 144.3 kB / 1.329 GB, free: 10.95 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3392, allocations: 4 kB / 1.329 GB, free: 10.94 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003085/0.3396, allocations: 55.8 kB / 1.329 GB, free: 10.89 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.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * 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.002475/0.342, allocations: 1.099 MB / 1.33 GB, free: 9.945 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003386/0.3424, allocations: 79.89 kB / 1.33 GB, free: 9.867 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.3424, allocations: 0 / 1.33 GB, free: 9.867 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001474/0.3425, allocations: 47.84 kB / 1.33 GB, free: 9.82 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002875/0.3428, allocations: 30.67 kB / 1.33 GB, free: 9.793 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002448/0.3453, allocations: 1.738 MB / 1.332 GB, free: 7.941 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004157/0.3457, allocations: 0.7156 MB / 1.332 GB, free: 7.199 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 9.804e-05/0.3458, allocations: 24.62 kB / 1.332 GB, free: 7.176 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001024/0.3459, allocations: 43.41 kB / 1.332 GB, free: 7.137 MB / 1.029 GB Notification: Performance of SimCode: time 6.92e-07/0.3459, allocations: 0 / 1.332 GB, free: 7.137 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02963/0.3755, allocations: 4.38 MB / 1.337 GB, free: 2.793 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.529/8.904, allocations: 11.23 kB / 1.337 GB, free: 2.789 MB / 1.029 GB " [Timeout remaining time 291] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.IO.Files.Examples.CSVReader_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_IO_Files_Examples_CSVReader_fmu --startTime=-1.21 --stopTime=10 --stepSize=0.004484 --timeout=400 --tolerance=1e-06 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.mat","/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: 15.588767220964655]