Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0009015/0.0009015, allocations: 80.92 kB / 20.75 MB, free: 3.742 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.0009634/0.0009634, allocations: 161 kB / 24.17 MB, free: 332 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 0.9539/0.9539, allocations: 177.1 MB / 204.6 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.966/1.966, allocations: 377.9 MB / 0.624 GB, free: 8.383 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/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_12_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_12_Buildings.Utilities.IO.Files.Examples.CSVReader") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.936e-06/2.936e-06, allocations: 4 kB / 0.76 GB, free: 6.668 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.291e-05/2.585e-05, allocations: 5.469 kB / 0.76 GB, free: 6.664 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.002349/0.002375, allocations: 1.749 MB / 0.7617 GB, free: 4.918 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001655/0.00403, allocations: 1.807 MB / 0.7635 GB, free: 3.113 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.051e-05/0.004101, allocations: 0.6562 kB / 0.7635 GB, free: 3.113 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0002422/0.004343, allocations: 32.77 kB / 0.7635 GB, free: 3.082 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0002888/0.004632, allocations: 117.7 kB / 0.7636 GB, free: 2.977 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001767/0.004809, allocations: 99.41 kB / 0.7637 GB, free: 2.883 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001482/0.004957, allocations: 136.5 kB / 0.7638 GB, free: 2.75 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 4.154e-05/0.004998, allocations: 22.25 kB / 0.7639 GB, free: 2.723 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001422/0.005141, allocations: 80.95 kB / 0.7639 GB, free: 2.645 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001123/0.005253, allocations: 47.81 kB / 0.764 GB, free: 2.598 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.606e-05/0.005269, allocations: 8 kB / 0.764 GB, free: 2.59 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001357/0.005405, allocations: 108.6 kB / 0.7641 GB, free: 2.484 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 4.375e-05/0.005448, allocations: 31.89 kB / 0.7641 GB, free: 2.453 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 3.257e-05/0.005481, allocations: 24.41 kB / 0.7642 GB, free: 2.43 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002263/0.005707, allocations: 196.1 kB / 0.7643 GB, free: 2.238 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.873e-06/0.005709, allocations: 0 / 0.7643 GB, free: 2.238 MB / 0.7136 GB Notification: Performance of FrontEnd: time 7.32e-07/0.00571, allocations: 0 / 0.7643 GB, free: 2.238 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.406e-06/0.005713, allocations: 1.094 kB / 0.7643 GB, free: 2.238 MB / 0.7136 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.0003968/0.00611, allocations: 363.8 kB / 0.7647 GB, free: 1.859 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.336e-05/0.006143, allocations: 9.25 kB / 0.7647 GB, free: 1.852 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.379e-05/0.006237, allocations: 16.92 kB / 0.7647 GB, free: 1.836 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001532/0.00639, allocations: 168 kB / 0.7649 GB, free: 1.645 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/0.006403, allocations: 384 / 0.7649 GB, free: 1.645 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.088e-05/0.006413, allocations: 4.375 kB / 0.7649 GB, free: 1.641 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001375/0.006551, allocations: 118.9 kB / 0.765 GB, free: 1.496 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.821e-06/0.006557, allocations: 8.562 kB / 0.765 GB, free: 1.488 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.696e-06/0.006565, allocations: 7.984 kB / 0.765 GB, free: 1.48 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.006569, allocations: 0.75 kB / 0.765 GB, free: 1.48 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.886e-05/0.006608, allocations: 22.75 kB / 0.765 GB, free: 1.457 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.777e-05/0.006696, allocations: 85.19 kB / 0.7651 GB, free: 1.352 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 9.742e-05/0.006793, allocations: 84.69 kB / 0.7652 GB, free: 1.242 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.641e-05/0.00682, allocations: 26.7 kB / 0.7652 GB, free: 1.207 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.185e-05/0.006832, allocations: 7.984 kB / 0.7652 GB, free: 1.199 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.541e-05/0.006917, allocations: 92.7 kB / 0.7653 GB, free: 1.086 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=8): time 7.81e-07/0.006918, allocations: 1.344 kB / 0.7653 GB, free: 1.086 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8): time 0.0001242/0.007042, allocations: 84.42 kB / 0.7654 GB, free: 0.9961 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.705e-05/0.007089, allocations: 141.6 kB / 0.7655 GB, free: 0.8281 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001076/0.007197, allocations: 186.2 kB / 0.7657 GB, free: 0.6328 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.617e-05/0.007213, allocations: 29.7 kB / 0.7657 GB, free: 0.5977 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.626e-05/0.007239, allocations: 97.72 kB / 0.7658 GB, free: 0.5 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.498e-05/0.007264, allocations: 19.8 kB / 0.7659 GB, free: 492 kB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.2e-05/0.007296, allocations: 29.69 kB / 0.7659 GB, free: 456 kB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.768e-05/0.007364, allocations: 330.8 kB / 0.7662 GB, free: 116 kB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.91e-05/0.007383, allocations: 22.06 kB / 0.7662 GB, free: 96 kB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.255e-05/0.007415, allocations: 62 kB / 0.7663 GB, free: 12 kB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.3e-05/0.007478, allocations: 56.98 kB / 0.7663 GB, free: 15.94 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.00748, allocations: 4 kB / 0.7663 GB, free: 15.94 MB / 0.7292 GB Notification: Performance of matching and sorting (n=10) (initialization): time 7.799e-05/0.007558, allocations: 79.41 kB / 0.7664 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.013e-05/0.007568, allocations: 4 kB / 0.7664 GB, free: 15.85 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.007573, allocations: 4 kB / 0.7664 GB, free: 15.85 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.097e-06/0.007582, allocations: 0 / 0.7664 GB, free: 15.85 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.514e-05/0.007647, allocations: 23.92 kB / 0.7664 GB, free: 15.82 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.016e-06/0.00765, allocations: 0 / 0.7664 GB, free: 15.82 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.6e-05/0.007686, allocations: 11.94 kB / 0.7664 GB, free: 15.81 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.143e-06/0.007694, allocations: 8 kB / 0.7665 GB, free: 15.8 MB / 0.7292 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.347e-05/0.007757, allocations: 118.1 kB / 0.7666 GB, free: 15.68 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.679e-05/0.007774, allocations: 15.98 kB / 0.7666 GB, free: 15.66 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.414e-05/0.007858, allocations: 71.12 kB / 0.7667 GB, free: 15.59 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.664e-06/0.00786, allocations: 0.6562 kB / 0.7667 GB, free: 15.59 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.544e-06/0.007862, allocations: 3.938 kB / 0.7667 GB, free: 15.58 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.007867, allocations: 9.016 kB / 0.7667 GB, free: 15.57 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.94e-05/0.007946, allocations: 101.7 kB / 0.7668 GB, free: 15.46 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.71e-07/0.007947, allocations: 2.531 kB / 0.7668 GB, free: 15.46 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.166e-05/0.007978, allocations: 16.3 kB / 0.7668 GB, free: 15.44 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.012e-06/0.007979, allocations: 0 / 0.7668 GB, free: 15.44 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.462e-06/0.007986, allocations: 7.938 kB / 0.7668 GB, free: 15.43 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.464e-06/0.007988, allocations: 4 kB / 0.7668 GB, free: 15.43 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.007989, allocations: 0 / 0.7668 GB, free: 15.43 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.674e-05/0.008076, allocations: 120.3 kB / 0.7669 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.617e-05/0.008092, allocations: 23.02 kB / 0.7669 GB, free: 15.27 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.666e-05/0.008109, allocations: 0 / 0.7669 GB, free: 15.27 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.063e-05/0.008139, allocations: 8 kB / 0.7669 GB, free: 15.26 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.651e-05/0.008166, allocations: 11.92 kB / 0.7669 GB, free: 15.25 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.103e-05/0.008177, allocations: 8 kB / 0.767 GB, free: 15.24 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.27e-05/0.008219, allocations: 52.47 kB / 0.767 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6e-08/0.008219, allocations: 0 / 0.767 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000149/0.008368, allocations: 51.88 kB / 0.7671 GB, free: 15.13 MB / 0.7292 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.001388/0.009757, allocations: 0.6304 MB / 0.7677 GB, free: 14.8 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 9.626e-05/0.009853, allocations: 52.7 kB / 0.7677 GB, free: 14.75 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.009857, allocations: 4.719 kB / 0.7677 GB, free: 14.74 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 3.594e-05/0.009893, allocations: 33.42 kB / 0.7678 GB, free: 14.71 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001284/0.01002, allocations: 40.12 kB / 0.7678 GB, free: 14.67 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000419/0.01044, allocations: 255.1 kB / 0.768 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.755e-05/0.01048, allocations: 68.31 kB / 0.7681 GB, free: 14.3 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 4.677e-05/0.01052, allocations: 17.56 kB / 0.7681 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.405e-05/0.01061, allocations: 83.88 kB / 0.7682 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of SimCode: time 2.81e-07/0.01061, allocations: 0.5938 kB / 0.7682 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of Templates: time 0.004174/0.01478, allocations: 2.861 MB / 0.771 GB, free: 11.52 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.IO.Files.Examples.CSVReader.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; mkfifo Buildings_12_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe >> ../files/Buildings_12_Buildings.Utilities.IO.Files.Examples.CSVReader.sim & ./Buildings_12_Buildings.Utilities.IO.Files.Examples.CSVReader -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.IO.Files.Examples.CSVReader_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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: 4.892637982964516]