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.0009727/0.0009727, allocations: 80.88 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.001067/0.001067, 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 1.068/1.068, allocations: 177.1 MB / 203.8 MB, free: 5.469 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.453/2.453, allocations: 438.8 MB / 0.6827 GB, free: 13.59 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 2.855e-06/2.855e-06, allocations: 3.984 kB / 0.8386 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.153e-05/2.439e-05, allocations: 10.19 kB / 0.8386 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.00258/0.002605, allocations: 1.787 MB / 0.8404 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001811/0.004415, allocations: 1.804 MB / 0.8421 GB, free: 10.56 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.586e-05/0.004491, allocations: 0 / 0.8421 GB, free: 10.56 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0002704/0.004762, allocations: 35.72 kB / 0.8422 GB, free: 10.53 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0002887/0.00505, allocations: 107.3 kB / 0.8423 GB, free: 10.42 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001995/0.00525, allocations: 99.52 kB / 0.8424 GB, free: 10.32 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0001634/0.005413, allocations: 139.5 kB / 0.8425 GB, free: 10.19 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 4.037e-05/0.005454, allocations: 6.297 kB / 0.8425 GB, free: 10.18 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001554/0.005609, allocations: 87.67 kB / 0.8426 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001044/0.005713, allocations: 43.83 kB / 0.8426 GB, free: 10.05 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.214e-05/0.005735, allocations: 12 kB / 0.8426 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000166/0.005901, allocations: 115.9 kB / 0.8427 GB, free: 9.926 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 4.036e-05/0.005942, allocations: 19.92 kB / 0.8428 GB, free: 9.906 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 4.205e-05/0.005984, allocations: 31.86 kB / 0.8428 GB, free: 9.875 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.000228/0.006212, allocations: 191.3 kB / 0.843 GB, free: 9.688 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.006214, allocations: 0 / 0.843 GB, free: 9.688 MB / 0.8073 GB Notification: Performance of FrontEnd: time 9.32e-07/0.006215, allocations: 0 / 0.843 GB, free: 9.688 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.646e-06/0.006219, allocations: 0 / 0.843 GB, free: 9.688 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.0004246/0.006643, allocations: 367.8 kB / 0.8433 GB, free: 9.305 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.367e-05/0.006677, allocations: 8.625 kB / 0.8433 GB, free: 9.297 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000121/0.006798, allocations: 28.91 kB / 0.8434 GB, free: 9.27 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001715/0.006969, allocations: 155.5 kB / 0.8435 GB, free: 9.09 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.504e-05/0.006985, allocations: 4.375 kB / 0.8435 GB, free: 9.086 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.16e-05/0.006996, allocations: 8.359 kB / 0.8435 GB, free: 9.078 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001687/0.007165, allocations: 130.8 kB / 0.8436 GB, free: 8.922 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.007175, allocations: 11.86 kB / 0.8437 GB, free: 8.91 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.007185, allocations: 4 kB / 0.8437 GB, free: 8.906 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.007191, allocations: 0 / 0.8437 GB, free: 8.906 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.825e-05/0.007229, allocations: 18.81 kB / 0.8437 GB, free: 8.887 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001056/0.007335, allocations: 88.44 kB / 0.8438 GB, free: 8.777 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001062/0.007441, allocations: 78.58 kB / 0.8438 GB, free: 8.672 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.156e-05/0.007472, allocations: 30.67 kB / 0.8439 GB, free: 8.633 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.181e-05/0.007484, allocations: 7.938 kB / 0.8439 GB, free: 8.625 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001405/0.007625, allocations: 88.78 kB / 0.844 GB, free: 8.516 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=8): time 1.002e-06/0.007626, allocations: 0 / 0.844 GB, free: 8.516 MB / 0.8073 GB Notification: Performance of matching and sorting (n=8): time 0.000146/0.007772, allocations: 84.61 kB / 0.844 GB, free: 8.426 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.568e-05/0.007817, allocations: 140.5 kB / 0.8442 GB, free: 8.258 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001154/0.007933, allocations: 189 kB / 0.8444 GB, free: 8.059 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.472e-05/0.007948, allocations: 29.7 kB / 0.8444 GB, free: 8.023 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.844e-05/0.007976, allocations: 92.11 kB / 0.8445 GB, free: 7.93 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.205e-05/0.008008, allocations: 27.78 kB / 0.8445 GB, free: 7.902 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.408e-05/0.008042, allocations: 25.7 kB / 0.8445 GB, free: 7.871 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001415/0.008184, allocations: 330.8 kB / 0.8448 GB, free: 7.539 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.037e-05/0.008204, allocations: 10.83 kB / 0.8448 GB, free: 7.527 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.088e-05/0.008245, allocations: 65.92 kB / 0.8449 GB, free: 7.441 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.877e-05/0.008304, allocations: 65.08 kB / 0.845 GB, free: 7.363 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.008306, allocations: 0 / 0.845 GB, free: 7.363 MB / 0.8073 GB Notification: Performance of matching and sorting (n=10) (initialization): time 8.32e-05/0.008389, allocations: 80.38 kB / 0.845 GB, free: 7.277 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.05e-05/0.0084, allocations: 4 kB / 0.8451 GB, free: 7.273 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.008405, allocations: 4 kB / 0.8451 GB, free: 7.27 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.008417, allocations: 0 / 0.8451 GB, free: 7.27 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.982e-05/0.008487, allocations: 23.92 kB / 0.8451 GB, free: 7.246 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.976e-06/0.00849, allocations: 96 / 0.8451 GB, free: 7.246 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.564e-05/0.008526, allocations: 15.94 kB / 0.8451 GB, free: 7.23 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.014e-06/0.008533, allocations: 4 kB / 0.8451 GB, free: 7.227 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 6.234e-05/0.008595, allocations: 120.6 kB / 0.8452 GB, free: 7.098 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.761e-05/0.008613, allocations: 11.98 kB / 0.8452 GB, free: 7.086 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.339e-05/0.008706, allocations: 71.14 kB / 0.8453 GB, free: 7.016 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.008708, allocations: 0 / 0.8453 GB, free: 7.016 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.008711, allocations: 7.938 kB / 0.8453 GB, free: 7.008 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.71e-06/0.008717, allocations: 4.297 kB / 0.8453 GB, free: 7.004 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.885e-05/0.008806, allocations: 97.73 kB / 0.8454 GB, free: 6.891 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.008808, allocations: 8 kB / 0.8454 GB, free: 6.883 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.895e-05/0.008847, allocations: 23.92 kB / 0.8454 GB, free: 6.859 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.243e-06/0.008848, allocations: 0 / 0.8454 GB, free: 6.859 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.743e-06/0.008855, allocations: 4 kB / 0.8454 GB, free: 6.855 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.008856, allocations: 0 / 0.8454 GB, free: 6.855 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.008857, allocations: 0 / 0.8454 GB, free: 6.855 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.089e-05/0.008948, allocations: 124.3 kB / 0.8455 GB, free: 6.707 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.644e-05/0.008965, allocations: 11.91 kB / 0.8456 GB, free: 6.695 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.678e-05/0.008982, allocations: 3.984 kB / 0.8456 GB, free: 6.691 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.908e-05/0.009011, allocations: 4 kB / 0.8456 GB, free: 6.688 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.415e-05/0.009045, allocations: 19.92 kB / 0.8456 GB, free: 6.668 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.097e-05/0.009056, allocations: 4 kB / 0.8456 GB, free: 6.664 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 4.996e-05/0.009106, allocations: 69.52 kB / 0.8457 GB, free: 6.594 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.009106, allocations: 0 / 0.8457 GB, free: 6.594 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.000163/0.009269, allocations: 43.88 kB / 0.8457 GB, free: 6.551 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.001302/0.01057, allocations: 0.6315 MB / 0.8463 GB, free: 6.199 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001126/0.01068, allocations: 52.7 kB / 0.8464 GB, free: 6.145 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.179e-06/0.01069, allocations: 4 kB / 0.8464 GB, free: 6.141 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.721e-05/0.01073, allocations: 32.97 kB / 0.8464 GB, free: 6.105 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001417/0.01087, allocations: 36.33 kB / 0.8464 GB, free: 6.07 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005871/0.01145, allocations: 249.7 kB / 0.8467 GB, free: 5.793 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.564e-05/0.01149, allocations: 67.34 kB / 0.8467 GB, free: 5.707 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 5.994e-05/0.01155, allocations: 25.23 kB / 0.8468 GB, free: 5.68 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.218e-05/0.01164, allocations: 79.3 kB / 0.8468 GB, free: 5.602 MB / 0.8073 GB Notification: Performance of SimCode: time 5.31e-07/0.01164, allocations: 0 / 0.8468 GB, free: 5.602 MB / 0.8073 GB Notification: Performance of Templates: time 0.004271/0.01591, allocations: 2.868 MB / 0.8496 GB, free: 2.777 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 -s gbode -gbm=radauIIA3 -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.498629657085985]