Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.IO.Files.Examples.CSVReader.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.IO.Files.Examples.CSVReader,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTimeTable.y.1.|combiTimeTable.y.2.|cos.y|step.y",fileNamePrefix="Buildings_10_Buildings.Utilities.IO.Files.Examples.CSVReader") translateModel(Buildings.Utilities.IO.Files.Examples.CSVReader,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTimeTable.y.1.|combiTimeTable.y.2.|cos.y|step.y",fileNamePrefix="Buildings_10_Buildings.Utilities.IO.Files.Examples.CSVReader") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001901/0.001901, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002248/0.002249, allocations: 199.2 kB / 16.14 MB, free: 6.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.466/1.466, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.762/2.762, allocations: 437 MB / 0.71 GB, free: 5.32 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002008/0.002008, allocations: 67.89 kB / 0.8686 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6088/0.6108, allocations: 151.6 MB / 1.017 GB, free: 2.906 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.003456/0.6143, allocations: 1.741 MB / 1.018 GB, free: 1.156 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002201/0.6166, allocations: 1.483 MB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.452e-05/0.6166, allocations: 4 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0003946/0.617, allocations: 39.83 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001913/0.6173, allocations: 47.77 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002775/0.6176, allocations: 101.6 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001959/0.6178, allocations: 123.5 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 5.079e-05/0.6178, allocations: 5.125 kB / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001291/0.6179, allocations: 51.78 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002033/0.6182, allocations: 51.77 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.25e-05/0.6182, allocations: 7.938 kB / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001846/0.6184, allocations: 63.95 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.94e-05/0.6185, allocations: 15.92 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.723e-05/0.6185, allocations: 39.73 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002388/0.6188, allocations: 145.7 kB / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.6188, allocations: 0 / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of FrontEnd: time 6.92e-07/0.6188, allocations: 0 / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.077e-06/0.6188, allocations: 0 / 1.02 GB, free: 14.98 MB / 0.7794 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.0006991/0.6195, allocations: 444.4 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/0.6195, allocations: 12.03 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.037e-05/0.6196, allocations: 12.83 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002609/0.6199, allocations: 216 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.664e-05/0.6199, allocations: 8.375 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.814e-05/0.6199, allocations: 8.062 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002466/0.6202, allocations: 105.1 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.417e-05/0.6202, allocations: 3.938 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.485e-05/0.6202, allocations: 4 kB / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.6202, allocations: 0 / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001855/0.6204, allocations: 47.95 kB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002667/0.6207, allocations: 207.4 kB / 1.021 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002877/0.621, allocations: 119.8 kB / 1.022 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001352/0.6212, allocations: 58.48 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.898e-05/0.6212, allocations: 4 kB / 1.022 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003163/0.6215, allocations: 105.9 kB / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=8): time 1.523e-06/0.6215, allocations: 0 / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.0005418/0.6221, allocations: 161.4 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.461e-05/0.6222, allocations: 132.5 kB / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001989/0.6224, allocations: 171.4 kB / 1.022 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.677e-05/0.6224, allocations: 33.7 kB / 1.022 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.552e-05/0.6225, allocations: 100.1 kB / 1.022 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.324e-05/0.6226, allocations: 23.66 kB / 1.022 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.71e-05/0.6226, allocations: 33.95 kB / 1.022 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001506/0.6228, allocations: 322.8 kB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001128/0.6229, allocations: 27.98 kB / 1.023 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001432/0.623, allocations: 60.27 kB / 1.023 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002415/0.6233, allocations: 99.61 kB / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.6233, allocations: 3.938 kB / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003426/0.6237, allocations: 145.3 kB / 1.023 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.6237, allocations: 8.094 kB / 1.023 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.6237, allocations: 0 / 1.023 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/0.6237, allocations: 4 kB / 1.023 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001351/0.6239, allocations: 19.98 kB / 1.023 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.6239, allocations: 0 / 1.023 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.022e-05/0.624, allocations: 11.98 kB / 1.023 GB, free: 12 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.128e-06/0.624, allocations: 0 / 1.023 GB, free: 12 MB / 0.7794 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.0001316/0.6241, allocations: 133.7 kB / 1.023 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.294e-05/0.6242, allocations: 19.81 kB / 1.023 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.715e-05/0.6242, allocations: 13.41 kB / 1.023 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.159e-06/0.6242, allocations: 4 kB / 1.023 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.6242, allocations: 192 / 1.023 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.6242, allocations: 3.984 kB / 1.023 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002196/0.6245, allocations: 209.4 kB / 1.023 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.09e-06/0.6245, allocations: 3.984 kB / 1.023 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.546e-05/0.6246, allocations: 12 kB / 1.023 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.6246, allocations: 0 / 1.023 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.766e-05/0.6246, allocations: 11.98 kB / 1.023 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.6246, allocations: 0 / 1.023 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.6246, allocations: 4 kB / 1.023 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003574/0.625, allocations: 170.5 kB / 1.024 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.559e-05/0.625, allocations: 85.02 kB / 1.024 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.1e-05/0.6251, allocations: 8 kB / 1.024 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.631e-05/0.6252, allocations: 11.98 kB / 1.024 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.771e-05/0.6252, allocations: 7.984 kB / 1.024 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.672e-05/0.6252, allocations: 4 kB / 1.024 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001296/0.6254, allocations: 132.8 kB / 1.024 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6254, allocations: 0 / 1.024 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002627/0.6257, allocations: 35.98 kB / 1.024 GB, free: 11.05 MB / 0.7794 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.001678/0.6273, allocations: 467.1 kB / 1.024 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003598/0.6277, allocations: 79.89 kB / 1.024 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.6277, allocations: 0 / 1.024 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001425/0.6279, allocations: 48.28 kB / 1.024 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003224/0.6282, allocations: 34.44 kB / 1.024 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005382/0.6288, allocations: 266.6 kB / 1.025 GB, free: 10.31 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003592/0.6291, allocations: 0.7121 MB / 1.025 GB, free: 9.574 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 9.532e-05/0.6292, allocations: 28.84 kB / 1.025 GB, free: 9.547 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.707e-05/0.6293, allocations: 15.44 kB / 1.025 GB, free: 9.535 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.6293, allocations: 0 / 1.025 GB, free: 9.535 MB / 0.7794 GB Notification: Performance of Templates: time 0.005482/0.6348, allocations: 1.921 MB / 1.027 GB, free: 7.629 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.IO.Files.Examples.CSVReader.makefile (rm -f Buildings_10_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; mkfifo Buildings_10_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe >> ../files/Buildings_10_Buildings.Utilities.IO.Files.Examples.CSVReader.sim & ./Buildings_10_Buildings.Utilities.IO.Files.Examples.CSVReader -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.IO.Files.Examples.CSVReader_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_IO_Files_Examples_CSVReader.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.IO.Files.Examples.CSVReader.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches