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.0009818/0.0009818, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001007/0.001007, allocations: 173 kB / 23.5 MB, free: 1.055 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.9493/0.9493, allocations: 177.1 MB / 203.8 MB, free: 5.617 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.155/2.155, allocations: 429.5 MB / 0.6736 GB, free: 4.055 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 2.064e-06/2.064e-06, allocations: 0 / 0.8782 GB, free: 6.652 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.66e-05/2.866e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.648 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.003688/0.003717, allocations: 1.745 MB / 0.8799 GB, free: 4.91 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002657/0.006373, allocations: 1.768 MB / 0.8816 GB, free: 3.137 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001101/0.006483, allocations: 5.062 kB / 0.8816 GB, free: 3.133 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0003477/0.006831, allocations: 43.64 kB / 0.8817 GB, free: 3.09 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.000468/0.007299, allocations: 112.4 kB / 0.8818 GB, free: 2.98 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003034/0.007602, allocations: 95.58 kB / 0.8818 GB, free: 2.887 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002496/0.007852, allocations: 140.6 kB / 0.882 GB, free: 2.75 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 5.864e-05/0.007911, allocations: 21.56 kB / 0.882 GB, free: 2.727 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002454/0.008156, allocations: 88.33 kB / 0.8821 GB, free: 2.641 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001571/0.008313, allocations: 46.22 kB / 0.8821 GB, free: 2.598 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.529e-05/0.008338, allocations: 8.594 kB / 0.8821 GB, free: 2.59 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002226/0.008561, allocations: 107.9 kB / 0.8822 GB, free: 2.484 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 6.864e-05/0.00863, allocations: 33.12 kB / 0.8823 GB, free: 2.453 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 5.544e-05/0.008685, allocations: 27.92 kB / 0.8823 GB, free: 2.426 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003546/0.00904, allocations: 183.4 kB / 0.8825 GB, free: 2.246 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.009045, allocations: 4.594 kB / 0.8825 GB, free: 2.242 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.152e-06/0.009046, allocations: 0 / 0.8825 GB, free: 2.242 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.731e-06/0.009052, allocations: 1.375 kB / 0.8825 GB, free: 2.242 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.0006985/0.00975, allocations: 495.4 kB / 0.883 GB, free: 1.723 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.009792, allocations: 8.031 kB / 0.883 GB, free: 1.715 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001894/0.009982, allocations: 25.58 kB / 0.883 GB, free: 1.691 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002755/0.01026, allocations: 165.8 kB / 0.8831 GB, free: 1.5 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.64e-05/0.01028, allocations: 9.688 kB / 0.8832 GB, free: 1.492 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.662e-05/0.0103, allocations: 4.375 kB / 0.8832 GB, free: 1.488 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002412/0.01054, allocations: 139.3 kB / 0.8833 GB, free: 1.32 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.01055, allocations: 4.469 kB / 0.8833 GB, free: 1.316 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.622e-05/0.01057, allocations: 4 kB / 0.8833 GB, free: 1.312 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.468e-06/0.01058, allocations: 1.188 kB / 0.8833 GB, free: 1.312 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.288e-05/0.01066, allocations: 23.97 kB / 0.8833 GB, free: 1.289 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000218/0.01088, allocations: 171.5 kB / 0.8835 GB, free: 1.082 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002013/0.01108, allocations: 109.2 kB / 0.8836 GB, free: 0.9375 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.137e-05/0.01115, allocations: 35.12 kB / 0.8836 GB, free: 0.8906 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.708e-05/0.01117, allocations: 4 kB / 0.8836 GB, free: 0.8867 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001746/0.01134, allocations: 108 kB / 0.8837 GB, free: 0.7539 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=8): time 2.064e-06/0.01134, allocations: 3.938 kB / 0.8837 GB, free: 0.75 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8): time 0.0003409/0.01169, allocations: 114.4 kB / 0.8838 GB, free: 0.6328 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.095e-05/0.01176, allocations: 128.5 kB / 0.884 GB, free: 488 kB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002266/0.01198, allocations: 251.5 kB / 0.8842 GB, free: 220 kB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.339e-05/0.01201, allocations: 29.7 kB / 0.8842 GB, free: 184 kB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.71e-05/0.01208, allocations: 154.9 kB / 0.8844 GB, free: 24 kB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 6.235e-05/0.01215, allocations: 31.88 kB / 0.8844 GB, free: 15.99 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.393e-05/0.0122, allocations: 31.36 kB / 0.8844 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001482/0.01235, allocations: 0.4923 MB / 0.8849 GB, free: 15.45 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.311e-05/0.01239, allocations: 15.98 kB / 0.8849 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.027e-05/0.01247, allocations: 92.06 kB / 0.885 GB, free: 15.31 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001115/0.01258, allocations: 66.72 kB / 0.8851 GB, free: 15.23 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.01259, allocations: 0 / 0.8851 GB, free: 15.23 MB / 0.8542 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001948/0.01278, allocations: 97.56 kB / 0.8852 GB, free: 15.13 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.0128, allocations: 4 kB / 0.8852 GB, free: 15.12 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.0128, allocations: 3.75 kB / 0.8852 GB, free: 15.12 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.01282, allocations: 4 kB / 0.8852 GB, free: 15.12 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001244/0.01294, allocations: 23.92 kB / 0.8852 GB, free: 15.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.01295, allocations: 0 / 0.8852 GB, free: 15.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001415/0.01309, allocations: 7.953 kB / 0.8852 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.053e-05/0.01312, allocations: 8.094 kB / 0.8852 GB, free: 15.08 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 0.0001598/0.01328, allocations: 165.7 kB / 0.8854 GB, free: 14.91 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.31e-05/0.01335, allocations: 19.91 kB / 0.8854 GB, free: 14.89 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003341/0.01369, allocations: 115 kB / 0.8855 GB, free: 14.77 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/0.01369, allocations: 4 kB / 0.8855 GB, free: 14.77 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.0137, allocations: 4 kB / 0.8855 GB, free: 14.76 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.01371, allocations: 0 / 0.8855 GB, free: 14.76 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001942/0.0139, allocations: 152.5 kB / 0.8857 GB, free: 14.58 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.0139, allocations: 0 / 0.8857 GB, free: 14.58 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.699e-05/0.01398, allocations: 12 kB / 0.8857 GB, free: 14.57 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.17e-06/0.01398, allocations: 8 kB / 0.8857 GB, free: 14.56 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.749e-06/0.01399, allocations: 7.984 kB / 0.8857 GB, free: 14.55 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.418e-06/0.014, allocations: 7.938 kB / 0.8857 GB, free: 14.54 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.014, allocations: 0 / 0.8857 GB, free: 14.54 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001635/0.01416, allocations: 155.6 kB / 0.8859 GB, free: 14.36 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.24e-05/0.01419, allocations: 11.91 kB / 0.8859 GB, free: 14.35 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.56e-05/0.01421, allocations: 11.98 kB / 0.8859 GB, free: 14.34 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.685e-05/0.01426, allocations: 7.938 kB / 0.8859 GB, free: 14.33 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.377e-05/0.0143, allocations: 11.98 kB / 0.8859 GB, free: 14.32 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.603e-05/0.01432, allocations: 7.984 kB / 0.8859 GB, free: 14.31 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 9.166e-05/0.01441, allocations: 179.9 kB / 0.8861 GB, free: 14.13 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.01441, allocations: 0 / 0.8861 GB, free: 14.13 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002003/0.01461, allocations: 59.8 kB / 0.8861 GB, free: 14.07 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.001045/0.01565, allocations: 0.4969 MB / 0.8866 GB, free: 13.75 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.000149/0.0158, allocations: 51.59 kB / 0.8867 GB, free: 13.7 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.594e-06/0.01581, allocations: 4 kB / 0.8867 GB, free: 13.69 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 5.355e-05/0.01586, allocations: 35.61 kB / 0.8867 GB, free: 13.65 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002066/0.01607, allocations: 30.02 kB / 0.8867 GB, free: 13.62 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005795/0.01665, allocations: 271.7 kB / 0.887 GB, free: 13.32 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.849e-05/0.01668, allocations: 67.34 kB / 0.8871 GB, free: 13.24 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 5.333e-05/0.01674, allocations: 21.11 kB / 0.8871 GB, free: 13.22 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.082e-05/0.01678, allocations: 20.48 kB / 0.8871 GB, free: 13.2 MB / 0.8542 GB Notification: Performance of SimCode: time 5.41e-07/0.01678, allocations: 0 / 0.8871 GB, free: 13.2 MB / 0.8542 GB Notification: Performance of Templates: time 0.004217/0.021, allocations: 2.675 MB / 0.8897 GB, free: 10.57 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.397722026100382]