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.001032/0.001032, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001048/0.001048, allocations: 181 kB / 23.36 MB, free: 1.133 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.9486/0.9486, allocations: 177.1 MB / 203.8 MB, free: 5.457 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.345/2.345, allocations: 438.8 MB / 0.6827 GB, free: 13.57 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.263e-06/1.263e-06, allocations: 0 / 0.8386 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.852e-05/1.979e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.002248/0.002268, allocations: 1.742 MB / 0.8403 GB, free: 12.42 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001921/0.004188, allocations: 1.796 MB / 0.842 GB, free: 10.62 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.796e-05/0.004266, allocations: 3.938 kB / 0.842 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0002595/0.004526, allocations: 39.77 kB / 0.8421 GB, free: 10.57 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0003349/0.004861, allocations: 115.3 kB / 0.8422 GB, free: 10.46 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002346/0.005095, allocations: 95.58 kB / 0.8423 GB, free: 10.37 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0001889/0.005284, allocations: 143.5 kB / 0.8424 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 5.813e-05/0.005342, allocations: 6.297 kB / 0.8424 GB, free: 10.22 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001979/0.00554, allocations: 87.67 kB / 0.8425 GB, free: 10.13 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001294/0.00567, allocations: 47.81 kB / 0.8425 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.938e-05/0.005689, allocations: 8 kB / 0.8425 GB, free: 10.08 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001752/0.005864, allocations: 107.8 kB / 0.8427 GB, free: 9.973 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 5.215e-05/0.005916, allocations: 27.92 kB / 0.8427 GB, free: 9.945 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 4.245e-05/0.005959, allocations: 35.84 kB / 0.8427 GB, free: 9.91 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002441/0.006203, allocations: 187.3 kB / 0.8429 GB, free: 9.727 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.804e-06/0.006205, allocations: 0 / 0.8429 GB, free: 9.727 MB / 0.8073 GB Notification: Performance of FrontEnd: time 5.41e-07/0.006205, allocations: 0 / 0.8429 GB, free: 9.727 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.707e-06/0.006209, allocations: 0 / 0.8429 GB, free: 9.727 MB / 0.8073 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.0004064/0.006615, allocations: 363.8 kB / 0.8432 GB, free: 9.348 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.981e-05/0.006645, allocations: 8.625 kB / 0.8432 GB, free: 9.34 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.971e-05/0.006745, allocations: 20.91 kB / 0.8433 GB, free: 9.32 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000162/0.006907, allocations: 163.5 kB / 0.8434 GB, free: 9.133 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.515e-05/0.006922, allocations: 8.297 kB / 0.8434 GB, free: 9.125 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.183e-05/0.006934, allocations: 4.375 kB / 0.8434 GB, free: 9.121 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001482/0.007082, allocations: 130.8 kB / 0.8436 GB, free: 8.965 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.007094, allocations: 7.938 kB / 0.8436 GB, free: 8.957 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.007103, allocations: 4 kB / 0.8436 GB, free: 8.953 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.00711, allocations: 0 / 0.8436 GB, free: 8.953 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.02e-05/0.00715, allocations: 22.75 kB / 0.8436 GB, free: 8.93 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000106/0.007256, allocations: 80.41 kB / 0.8437 GB, free: 8.828 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001192/0.007375, allocations: 90.72 kB / 0.8438 GB, free: 8.711 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.954e-05/0.007405, allocations: 30.56 kB / 0.8438 GB, free: 8.672 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.214e-05/0.007417, allocations: 0 / 0.8438 GB, free: 8.672 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001086/0.007525, allocations: 100.7 kB / 0.8439 GB, free: 8.551 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=8): time 9.72e-07/0.007526, allocations: 0 / 0.8439 GB, free: 8.551 MB / 0.8073 GB Notification: Performance of matching and sorting (n=8): time 0.0001446/0.007671, allocations: 72.44 kB / 0.844 GB, free: 8.473 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.836e-05/0.007729, allocations: 140.4 kB / 0.8441 GB, free: 8.305 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001193/0.007849, allocations: 185.3 kB / 0.8443 GB, free: 8.109 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.966e-05/0.007868, allocations: 33.7 kB / 0.8443 GB, free: 8.07 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.799e-05/0.007896, allocations: 92.12 kB / 0.8444 GB, free: 7.977 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.249e-05/0.007929, allocations: 27.77 kB / 0.8444 GB, free: 7.949 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.263e-05/0.007962, allocations: 25.69 kB / 0.8444 GB, free: 7.918 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.681e-05/0.008038, allocations: 330.8 kB / 0.8447 GB, free: 7.586 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.023e-05/0.008059, allocations: 14.77 kB / 0.8448 GB, free: 7.57 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.118e-05/0.0081, allocations: 69.97 kB / 0.8448 GB, free: 7.48 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.565e-05/0.008155, allocations: 53.05 kB / 0.8449 GB, free: 7.414 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.008158, allocations: 4 kB / 0.8449 GB, free: 7.41 MB / 0.8073 GB Notification: Performance of matching and sorting (n=10) (initialization): time 8.523e-05/0.008243, allocations: 76.42 kB / 0.845 GB, free: 7.328 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.008256, allocations: 8 kB / 0.845 GB, free: 7.32 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.00826, allocations: 0 / 0.845 GB, free: 7.32 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.008272, allocations: 0 / 0.845 GB, free: 7.32 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.728e-05/0.008339, allocations: 27.86 kB / 0.845 GB, free: 7.293 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.885e-06/0.008342, allocations: 0 / 0.845 GB, free: 7.293 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.93e-05/0.008381, allocations: 16.27 kB / 0.845 GB, free: 7.277 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.131e-06/0.008387, allocations: 4.094 kB / 0.845 GB, free: 7.273 MB / 0.8073 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.168e-05/0.008459, allocations: 124.6 kB / 0.8451 GB, free: 7.141 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.843e-05/0.008477, allocations: 12 kB / 0.8451 GB, free: 7.129 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.666e-05/0.008574, allocations: 79.06 kB / 0.8452 GB, free: 7.051 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.008577, allocations: 7.938 kB / 0.8452 GB, free: 7.043 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.355e-06/0.008579, allocations: 3.938 kB / 0.8452 GB, free: 7.039 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.008583, allocations: 0 / 0.8452 GB, free: 7.039 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.267e-05/0.008676, allocations: 97.78 kB / 0.8453 GB, free: 6.926 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.008677, allocations: 0 / 0.8453 GB, free: 6.926 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.541e-05/0.008712, allocations: 19.97 kB / 0.8453 GB, free: 6.906 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.008714, allocations: 4 kB / 0.8453 GB, free: 6.902 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.732e-06/0.008721, allocations: 4 kB / 0.8453 GB, free: 6.898 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.71e-07/0.008721, allocations: 0 / 0.8453 GB, free: 6.898 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.008723, allocations: 0 / 0.8453 GB, free: 6.898 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.033e-05/0.008813, allocations: 120.3 kB / 0.8455 GB, free: 6.754 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.802e-05/0.008831, allocations: 15.89 kB / 0.8455 GB, free: 6.738 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.781e-05/0.008849, allocations: 4 kB / 0.8455 GB, free: 6.734 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.956e-05/0.008878, allocations: 7.984 kB / 0.8455 GB, free: 6.727 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.131e-05/0.00891, allocations: 11.92 kB / 0.8455 GB, free: 6.715 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.13e-05/0.008921, allocations: 8 kB / 0.8455 GB, free: 6.707 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 4.508e-05/0.008966, allocations: 61.55 kB / 0.8456 GB, free: 6.645 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.008966, allocations: 0 / 0.8456 GB, free: 6.645 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001614/0.009127, allocations: 51.86 kB / 0.8456 GB, free: 6.594 MB / 0.8073 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.00142/0.01055, allocations: 0.6397 MB / 0.8462 GB, free: 6.238 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001263/0.01067, allocations: 40.78 kB / 0.8463 GB, free: 6.195 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 7.895e-06/0.01068, allocations: 4 kB / 0.8463 GB, free: 6.191 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 4.719e-05/0.01073, allocations: 32.77 kB / 0.8463 GB, free: 6.156 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000153/0.01088, allocations: 47.42 kB / 0.8464 GB, free: 6.113 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000515/0.0114, allocations: 249.7 kB / 0.8466 GB, free: 5.836 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.961e-05/0.01144, allocations: 79.27 kB / 0.8467 GB, free: 5.738 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 4.805e-05/0.01148, allocations: 21.11 kB / 0.8467 GB, free: 5.715 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.5e-05/0.01157, allocations: 75.3 kB / 0.8468 GB, free: 5.641 MB / 0.8073 GB Notification: Performance of SimCode: time 8.11e-07/0.01157, allocations: 4 kB / 0.8468 GB, free: 5.637 MB / 0.8073 GB Notification: Performance of Templates: time 0.004228/0.0158, allocations: 2.85 MB / 0.8496 GB, free: 2.824 MB / 0.8073 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.3411124986596406]