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.000937/0.000937, allocations: 77.95 kB / 20.66 MB, free: 3.832 MB / 18.57 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.001011/0.001011, allocations: 165 kB / 24.05 MB, free: 452 kB / 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 1/1, allocations: 177.1 MB / 204.5 MB, free: 5.504 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 2.121/2.121, allocations: 429.5 MB / 0.6743 GB, free: 3.945 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.673e-06/1.673e-06, allocations: 0 / 0.8794 GB, free: 6.062 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.443e-05/1.61e-05, allocations: 5.266 kB / 0.8794 GB, free: 6.059 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.002176/0.002192, allocations: 1.751 MB / 0.8811 GB, free: 4.32 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001706/0.003898, allocations: 1.766 MB / 0.8828 GB, free: 2.547 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.669e-05/0.003984, allocations: 4 kB / 0.8828 GB, free: 2.543 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0002905/0.004275, allocations: 39.7 kB / 0.8829 GB, free: 2.504 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0002707/0.004546, allocations: 112.3 kB / 0.883 GB, free: 2.395 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001597/0.004705, allocations: 96.7 kB / 0.8831 GB, free: 2.301 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001619/0.004867, allocations: 143.5 kB / 0.8832 GB, free: 2.16 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.333e-05/0.00491, allocations: 13.64 kB / 0.8832 GB, free: 2.145 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001503/0.005061, allocations: 88.8 kB / 0.8833 GB, free: 2.059 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000114/0.005175, allocations: 47.88 kB / 0.8833 GB, free: 2.012 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.577e-05/0.00519, allocations: 5.031 kB / 0.8833 GB, free: 2.008 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001338/0.005324, allocations: 111.8 kB / 0.8835 GB, free: 1.898 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 4.446e-05/0.005369, allocations: 23.92 kB / 0.8835 GB, free: 1.875 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.427e-05/0.005403, allocations: 28.78 kB / 0.8835 GB, free: 1.848 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002211/0.005624, allocations: 191.3 kB / 0.8837 GB, free: 1.66 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.403e-06/0.005626, allocations: 0.5 kB / 0.8837 GB, free: 1.66 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.41e-07/0.005626, allocations: 0 / 0.8837 GB, free: 1.66 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.787e-06/0.00563, allocations: 1.781 kB / 0.8837 GB, free: 1.66 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.0004602/0.00609, allocations: 495.4 kB / 0.8842 GB, free: 1.141 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.05e-05/0.006121, allocations: 8.031 kB / 0.8842 GB, free: 1.133 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000111/0.006232, allocations: 28.83 kB / 0.8842 GB, free: 1.105 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001618/0.006394, allocations: 170.8 kB / 0.8844 GB, free: 0.9102 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.426e-05/0.006408, allocations: 4.375 kB / 0.8844 GB, free: 0.9062 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.268e-06/0.006417, allocations: 5.469 kB / 0.8844 GB, free: 0.9023 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001391/0.006556, allocations: 131.3 kB / 0.8845 GB, free: 0.7422 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.006565, allocations: 4.594 kB / 0.8845 GB, free: 0.7383 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.397e-06/0.006574, allocations: 4 kB / 0.8845 GB, free: 0.7344 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.006579, allocations: 1.594 kB / 0.8845 GB, free: 0.7344 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.827e-05/0.006618, allocations: 19.97 kB / 0.8845 GB, free: 0.7148 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001294/0.006747, allocations: 136.7 kB / 0.8847 GB, free: 0.5469 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001149/0.006862, allocations: 112.1 kB / 0.8848 GB, free: 412 kB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.31e-05/0.006895, allocations: 38.98 kB / 0.8848 GB, free: 360 kB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.198e-05/0.006907, allocations: 3.984 kB / 0.8848 GB, free: 356 kB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.993e-05/0.007007, allocations: 108 kB / 0.8849 GB, free: 220 kB / 0.8386 GB Notification: Performance of pre-optimization done (n=8): time 1.242e-06/0.007008, allocations: 3.938 kB / 0.8849 GB, free: 216 kB / 0.8386 GB Notification: Performance of matching and sorting (n=8): time 0.0001838/0.007192, allocations: 111.2 kB / 0.885 GB, free: 100 kB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.794e-05/0.00725, allocations: 132.5 kB / 0.8851 GB, free: 15.94 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001203/0.00737, allocations: 234.6 kB / 0.8854 GB, free: 15.69 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.41e-05/0.007384, allocations: 25.7 kB / 0.8854 GB, free: 15.66 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.885e-05/0.007433, allocations: 155.5 kB / 0.8855 GB, free: 15.5 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.14e-05/0.007465, allocations: 33.39 kB / 0.8856 GB, free: 15.47 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.436e-05/0.007499, allocations: 31.36 kB / 0.8856 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001066/0.007606, allocations: 0.4962 MB / 0.8861 GB, free: 14.93 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2e-05/0.007626, allocations: 7.984 kB / 0.8861 GB, free: 14.92 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.514e-05/0.007681, allocations: 89.03 kB / 0.8862 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.2e-05/0.007743, allocations: 67.48 kB / 0.8862 GB, free: 14.72 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.007745, allocations: 288 / 0.8862 GB, free: 14.72 MB / 0.8542 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001051/0.00785, allocations: 97.52 kB / 0.8863 GB, free: 14.62 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.119e-05/0.007861, allocations: 8 kB / 0.8863 GB, free: 14.61 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.007865, allocations: 0 / 0.8863 GB, free: 14.61 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.257e-06/0.007874, allocations: 3.938 kB / 0.8863 GB, free: 14.61 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.387e-05/0.007948, allocations: 19.98 kB / 0.8864 GB, free: 14.59 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.487e-06/0.007951, allocations: 3.938 kB / 0.8864 GB, free: 14.59 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.639e-05/0.007988, allocations: 12 kB / 0.8864 GB, free: 14.57 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.959e-06/0.007993, allocations: 0 / 0.8864 GB, free: 14.57 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.301e-05/0.008066, allocations: 170 kB / 0.8865 GB, free: 14.4 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.122e-05/0.008087, allocations: 19.91 kB / 0.8866 GB, free: 14.38 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001223/0.008209, allocations: 95.12 kB / 0.8866 GB, free: 14.28 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.008215, allocations: 11.86 kB / 0.8867 GB, free: 14.27 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.863e-06/0.008217, allocations: 0 / 0.8867 GB, free: 14.27 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.00822, allocations: 4 kB / 0.8867 GB, free: 14.26 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.539e-05/0.008315, allocations: 129.1 kB / 0.8868 GB, free: 14.11 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.008317, allocations: 0 / 0.8868 GB, free: 14.11 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.809e-05/0.008355, allocations: 16 kB / 0.8868 GB, free: 14.09 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.008357, allocations: 4 kB / 0.8868 GB, free: 14.09 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-06/0.008364, allocations: 7.984 kB / 0.8868 GB, free: 14.08 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.008366, allocations: 4 kB / 0.8868 GB, free: 14.08 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.008367, allocations: 0 / 0.8868 GB, free: 14.08 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001247/0.008492, allocations: 155.6 kB / 0.887 GB, free: 13.89 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.778e-05/0.008509, allocations: 15.91 kB / 0.887 GB, free: 13.88 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.863e-05/0.008528, allocations: 11.98 kB / 0.887 GB, free: 13.87 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.149e-05/0.00856, allocations: 4 kB / 0.887 GB, free: 13.86 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.447e-05/0.008594, allocations: 19.91 kB / 0.887 GB, free: 13.84 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.426e-05/0.008608, allocations: 4 kB / 0.887 GB, free: 13.84 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 6.971e-05/0.008678, allocations: 181 kB / 0.8872 GB, free: 13.66 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.008678, allocations: 4 kB / 0.8872 GB, free: 13.66 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001769/0.008855, allocations: 47.86 kB / 0.8872 GB, free: 13.61 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.0009592/0.009814, allocations: 0.4907 MB / 0.8877 GB, free: 13.29 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001052/0.009919, allocations: 55.59 kB / 0.8878 GB, free: 13.23 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.213e-06/0.009921, allocations: 0 / 0.8878 GB, free: 13.23 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.798e-05/0.009959, allocations: 31.61 kB / 0.8878 GB, free: 13.2 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001787/0.01014, allocations: 36.2 kB / 0.8878 GB, free: 13.17 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004296/0.01057, allocations: 255.5 kB / 0.8881 GB, free: 12.88 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.874e-05/0.01061, allocations: 75.59 kB / 0.8882 GB, free: 12.79 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.697e-05/0.01065, allocations: 25.23 kB / 0.8882 GB, free: 12.77 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.596e-05/0.01074, allocations: 102.2 kB / 0.8883 GB, free: 12.66 MB / 0.8542 GB Notification: Performance of SimCode: time 6.52e-07/0.01074, allocations: 0 / 0.8883 GB, free: 12.66 MB / 0.8542 GB Notification: Performance of Templates: time 0.004182/0.01492, allocations: 2.974 MB / 0.8912 GB, free: 9.727 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.3057377631776035]