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.00141/0.00141, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 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.001016/0.001016, allocations: 169 kB / 23.02 MB, free: 1.547 MB / 18.57 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 0.9927/0.9927, allocations: 177.2 MB / 203.4 MB, free: 5.465 MB / 186.7 MB " [Timeout remaining time 179] 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 1.976/1.976, allocations: 429.5 MB / 0.6733 GB, free: 4.016 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.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: translateModel(Buildings.Utilities.IO.Files.Examples.CSVReader,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|combiTimeTable.y.[0-9,]+.|cos.y|step.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVReader") translateModel(Buildings.Utilities.IO.Files.Examples.CSVReader,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|combiTimeTable.y.[0-9,]+.|cos.y|step.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVReader") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 0.8782 GB, free: 6.285 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.919e-05/2.051e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.281 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.002037/0.002057, allocations: 1.769 MB / 0.8799 GB, free: 4.523 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001559/0.003617, allocations: 1.779 MB / 0.8816 GB, free: 2.738 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.098e-05/0.003688, allocations: 3.938 kB / 0.8816 GB, free: 2.734 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0002476/0.003935, allocations: 32.7 kB / 0.8817 GB, free: 2.703 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0002897/0.004225, allocations: 124.3 kB / 0.8818 GB, free: 2.582 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001596/0.004384, allocations: 95.58 kB / 0.8819 GB, free: 2.488 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001574/0.004542, allocations: 135.5 kB / 0.882 GB, free: 2.355 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.754e-05/0.004579, allocations: 14.75 kB / 0.882 GB, free: 2.34 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001489/0.004728, allocations: 83.69 kB / 0.8821 GB, free: 2.258 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001004/0.004829, allocations: 52.94 kB / 0.8821 GB, free: 2.207 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.786e-05/0.004847, allocations: 8 kB / 0.8821 GB, free: 2.199 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001459/0.004992, allocations: 103.8 kB / 0.8822 GB, free: 2.098 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 4.672e-05/0.005039, allocations: 32.83 kB / 0.8823 GB, free: 2.066 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 4.125e-05/0.00508, allocations: 31.91 kB / 0.8823 GB, free: 2.035 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002157/0.005296, allocations: 179.4 kB / 0.8825 GB, free: 1.859 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.823e-06/0.005298, allocations: 0.6562 kB / 0.8825 GB, free: 1.859 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.22e-07/0.005299, allocations: 0 / 0.8825 GB, free: 1.859 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.416e-06/0.005302, allocations: 3.625 kB / 0.8825 GB, free: 1.859 MB / 0.8386 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.0004766/0.005779, allocations: 495.4 kB / 0.883 GB, free: 1.34 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.298e-05/0.005812, allocations: 12.03 kB / 0.883 GB, free: 1.328 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001546/0.005966, allocations: 24.83 kB / 0.883 GB, free: 1.305 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002106/0.006177, allocations: 169.1 kB / 0.8832 GB, free: 1.109 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.931e-05/0.006196, allocations: 4.375 kB / 0.8832 GB, free: 1.105 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.254e-05/0.006209, allocations: 4.375 kB / 0.8832 GB, free: 1.102 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001949/0.006404, allocations: 140 kB / 0.8833 GB, free: 0.9336 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.006412, allocations: 3.938 kB / 0.8833 GB, free: 0.9297 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.006424, allocations: 0.5938 kB / 0.8833 GB, free: 0.9297 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.816e-06/0.006432, allocations: 4 kB / 0.8833 GB, free: 0.9258 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.501e-05/0.006497, allocations: 24.55 kB / 0.8833 GB, free: 0.9023 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001729/0.00667, allocations: 165.1 kB / 0.8835 GB, free: 0.6992 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001603/0.006831, allocations: 113.9 kB / 0.8836 GB, free: 0.5508 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.163e-05/0.006882, allocations: 44.42 kB / 0.8836 GB, free: 0.4961 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.22e-05/0.006895, allocations: 0 / 0.8836 GB, free: 0.4961 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001339/0.007028, allocations: 112 kB / 0.8837 GB, free: 368 kB / 0.8386 GB Notification: Performance of pre-optimization done (n=8): time 1.683e-06/0.00703, allocations: 1.531 kB / 0.8837 GB, free: 368 kB / 0.8386 GB Notification: Performance of matching and sorting (n=8): time 0.0002604/0.00729, allocations: 113.5 kB / 0.8839 GB, free: 248 kB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.14e-05/0.007342, allocations: 132.5 kB / 0.884 GB, free: 84 kB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001818/0.007524, allocations: 240 kB / 0.8842 GB, free: 15.83 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.007542, allocations: 33.7 kB / 0.8842 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 5.989e-05/0.007602, allocations: 155.8 kB / 0.8844 GB, free: 15.64 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.747e-05/0.00764, allocations: 31.73 kB / 0.8844 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.419e-05/0.007684, allocations: 27.62 kB / 0.8844 GB, free: 15.57 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001241/0.007808, allocations: 0.504 MB / 0.8849 GB, free: 15.05 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.276e-05/0.007841, allocations: 8 kB / 0.8849 GB, free: 15.05 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.009e-05/0.007911, allocations: 92 kB / 0.885 GB, free: 14.93 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.966e-05/0.008001, allocations: 70.67 kB / 0.8851 GB, free: 14.84 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.008003, allocations: 0 / 0.8851 GB, free: 14.84 MB / 0.8542 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001528/0.008156, allocations: 97.53 kB / 0.8852 GB, free: 14.74 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/0.008168, allocations: 12.12 kB / 0.8852 GB, free: 14.73 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.008173, allocations: 3.938 kB / 0.8852 GB, free: 14.73 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.008185, allocations: 0 / 0.8852 GB, free: 14.73 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.958e-05/0.008275, allocations: 27.86 kB / 0.8852 GB, free: 14.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.159e-06/0.00828, allocations: 0 / 0.8852 GB, free: 14.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.249e-05/0.008332, allocations: 11.98 kB / 0.8852 GB, free: 14.69 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.315e-06/0.008341, allocations: 4 kB / 0.8852 GB, free: 14.68 MB / 0.8542 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 7.795e-05/0.008419, allocations: 162.6 kB / 0.8854 GB, free: 14.52 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.745e-05/0.008446, allocations: 15.91 kB / 0.8854 GB, free: 14.5 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001596/0.008606, allocations: 111 kB / 0.8855 GB, free: 14.38 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.008608, allocations: 8 kB / 0.8855 GB, free: 14.38 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.008612, allocations: 4 kB / 0.8855 GB, free: 14.37 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.257e-06/0.008616, allocations: 0 / 0.8855 GB, free: 14.37 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001262/0.008742, allocations: 160.5 kB / 0.8857 GB, free: 14.18 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.008743, allocations: 0 / 0.8857 GB, free: 14.18 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.802e-05/0.008791, allocations: 15.98 kB / 0.8857 GB, free: 14.16 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.008793, allocations: 0 / 0.8857 GB, free: 14.16 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.166e-05/0.008805, allocations: 4 kB / 0.8857 GB, free: 14.16 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.008807, allocations: 3.938 kB / 0.8857 GB, free: 14.16 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.008808, allocations: 0 / 0.8857 GB, free: 14.16 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001725/0.00898, allocations: 167.6 kB / 0.8859 GB, free: 13.96 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.037e-05/0.009001, allocations: 15.89 kB / 0.8859 GB, free: 13.95 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.384e-05/0.009025, allocations: 4 kB / 0.8859 GB, free: 13.94 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.434e-05/0.009069, allocations: 7.938 kB / 0.8859 GB, free: 13.93 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.899e-05/0.009108, allocations: 11.97 kB / 0.8859 GB, free: 13.92 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.511e-05/0.009123, allocations: 11.94 kB / 0.8859 GB, free: 13.91 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001047/0.009228, allocations: 176 kB / 0.8861 GB, free: 13.74 MB / 0.8542 GB Notification: Performance of sort global known variables: time 9.1e-08/0.009228, allocations: 0 / 0.8861 GB, free: 13.74 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002547/0.009483, allocations: 47.88 kB / 0.8861 GB, free: 13.69 MB / 0.8542 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.001129/0.01061, allocations: 0.4954 MB / 0.8866 GB, free: 13.37 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001476/0.01076, allocations: 59.53 kB / 0.8867 GB, free: 13.3 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.192e-06/0.01076, allocations: 0 / 0.8867 GB, free: 13.3 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 5.76e-05/0.01082, allocations: 43.8 kB / 0.8867 GB, free: 13.26 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002309/0.01105, allocations: 31.97 kB / 0.8867 GB, free: 13.23 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000543/0.01159, allocations: 255.4 kB / 0.887 GB, free: 12.94 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.869e-05/0.01163, allocations: 67.34 kB / 0.8871 GB, free: 12.86 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 5.882e-05/0.01169, allocations: 25.22 kB / 0.8871 GB, free: 12.83 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.099e-05/0.01174, allocations: 24.5 kB / 0.8871 GB, free: 12.81 MB / 0.8542 GB Notification: Performance of SimCode: time 7.91e-07/0.01174, allocations: 0 / 0.8871 GB, free: 12.81 MB / 0.8542 GB Notification: Performance of Templates: time 0.005163/0.0169, allocations: 2.91 MB / 0.8899 GB, free: 9.945 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVReader.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVReader -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVReader_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_IO_Files_Examples_CSVReader.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.366265116259456]