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.0008095/0.0008095, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001195/0.002004, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0009055/0.0009055, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00116/0.002065, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.9877/0.9877, allocations: 177.2 MB / 189.8 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1085/1.096, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.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.823/1.823, allocations: 378.4 MB / 0.6079 GB, free: 7.688 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4543/2.277, allocations: 123.3 MB / 0.7284 GB, free: 5.703 MB / 0.698 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 1.623e-06/1.623e-06, allocations: 0 / 0.7296 GB, free: 4.406 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.049e-05/2.211e-05, allocations: 4 kB / 0.7296 GB, free: 4.402 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.003259/0.003282, allocations: 1.797 MB / 0.7314 GB, free: 2.629 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001932/0.005214, allocations: 1.838 MB / 0.7332 GB, free: 0.793 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.496e-05/0.005289, allocations: 0.5 kB / 0.7332 GB, free: 0.793 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0002016/0.00549, allocations: 44.25 kB / 0.7332 GB, free: 0.75 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0002431/0.005733, allocations: 105.9 kB / 0.7333 GB, free: 0.6562 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001847/0.005918, allocations: 101.2 kB / 0.7334 GB, free: 0.5586 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0002228/0.006141, allocations: 142.2 kB / 0.7336 GB, free: 436 kB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 5.511e-05/0.006196, allocations: 14.28 kB / 0.7336 GB, free: 416 kB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002914/0.006487, allocations: 112.2 kB / 0.7337 GB, free: 304 kB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001238/0.006611, allocations: 49.25 kB / 0.7337 GB, free: 256 kB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.782e-05/0.006629, allocations: 8 kB / 0.7337 GB, free: 248 kB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001772/0.006806, allocations: 115.8 kB / 0.7339 GB, free: 132 kB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 4.624e-05/0.006852, allocations: 24.53 kB / 0.7339 GB, free: 108 kB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.349e-05/0.006886, allocations: 19.94 kB / 0.7339 GB, free: 88 kB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002807/0.007167, allocations: 180 kB / 0.7341 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.179e-05/0.007178, allocations: 0 / 0.7341 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.513e-06/0.00718, allocations: 2.062 kB / 0.7341 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.001e-05/0.00719, allocations: 0 / 0.7341 GB, free: 15.91 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.0004723/0.007662, allocations: 387.5 kB / 0.7344 GB, free: 15.51 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.952e-05/0.007692, allocations: 8.031 kB / 0.7345 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001413/0.007833, allocations: 95.59 kB / 0.7345 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001671/0.008, allocations: 158.3 kB / 0.7347 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.425e-05/0.008014, allocations: 4.375 kB / 0.7347 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.418e-05/0.008029, allocations: 12.31 kB / 0.7347 GB, free: 15.19 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001446/0.008173, allocations: 127.7 kB / 0.7348 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.008181, allocations: 3.938 kB / 0.7348 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.927e-06/0.00819, allocations: 4.875 kB / 0.7348 GB, free: 15.03 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.008195, allocations: 4 kB / 0.7348 GB, free: 15.03 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.766e-05/0.008232, allocations: 23.3 kB / 0.7349 GB, free: 15 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.63e-05/0.008329, allocations: 85.09 kB / 0.7349 GB, free: 14.9 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001054/0.008434, allocations: 83.84 kB / 0.735 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.784e-05/0.008462, allocations: 26.64 kB / 0.7351 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.254e-05/0.008474, allocations: 5.375 kB / 0.7351 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001047/0.008579, allocations: 96.69 kB / 0.7352 GB, free: 14.63 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=8): time 1.072e-06/0.00858, allocations: 0 / 0.7352 GB, free: 14.63 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8): time 0.0001382/0.008718, allocations: 77.94 kB / 0.7352 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.849e-05/0.008757, allocations: 110.8 kB / 0.7353 GB, free: 14.42 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001132/0.00887, allocations: 187.4 kB / 0.7355 GB, free: 14.22 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.384e-05/0.008964, allocations: 33.64 kB / 0.7355 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.752e-05/0.008991, allocations: 92.11 kB / 0.7356 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.294e-05/0.009024, allocations: 32.7 kB / 0.7357 GB, free: 14.06 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.218e-05/0.009057, allocations: 21.72 kB / 0.7357 GB, free: 14.03 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.231e-05/0.009129, allocations: 330.8 kB / 0.736 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.912e-05/0.009148, allocations: 7.859 kB / 0.736 GB, free: 13.69 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.983e-05/0.009188, allocations: 69.97 kB / 0.7361 GB, free: 13.6 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.649e-05/0.009244, allocations: 55.48 kB / 0.7361 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.009247, allocations: 0 / 0.7361 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10) (initialization): time 8.021e-05/0.009327, allocations: 76.44 kB / 0.7362 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.00934, allocations: 9.016 kB / 0.7362 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.009345, allocations: 0 / 0.7362 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.009357, allocations: 4.719 kB / 0.7362 GB, free: 13.44 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.434e-05/0.009441, allocations: 27.86 kB / 0.7362 GB, free: 13.41 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.805e-06/0.009444, allocations: 1.062 kB / 0.7362 GB, free: 13.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.839e-05/0.009482, allocations: 15.95 kB / 0.7363 GB, free: 13.4 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.282e-06/0.009489, allocations: 4.75 kB / 0.7363 GB, free: 13.39 MB / 0.7136 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.63e-05/0.009555, allocations: 127 kB / 0.7364 GB, free: 13.26 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.492e-05/0.00957, allocations: 11.94 kB / 0.7364 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001002/0.00967, allocations: 85.2 kB / 0.7365 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.009673, allocations: 4 kB / 0.7365 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.009676, allocations: 3.938 kB / 0.7365 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.009679, allocations: 0 / 0.7365 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.489e-05/0.009764, allocations: 93.84 kB / 0.7366 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.009765, allocations: 1.281 kB / 0.7366 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.132e-05/0.009817, allocations: 19.98 kB / 0.7366 GB, free: 13.03 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.616e-05/0.009833, allocations: 11.91 kB / 0.7366 GB, free: 13.02 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.009835, allocations: 0.75 kB / 0.7366 GB, free: 13.02 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.516e-06/0.009843, allocations: 8 kB / 0.7366 GB, free: 13.01 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.009845, allocations: 2.469 kB / 0.7366 GB, free: 13.01 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.009849, allocations: 11.86 kB / 0.7366 GB, free: 13 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000109/0.009958, allocations: 104.6 kB / 0.7367 GB, free: 12.87 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.953e-05/0.009978, allocations: 8 kB / 0.7367 GB, free: 12.86 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.341e-05/0.01001, allocations: 7.984 kB / 0.7367 GB, free: 12.85 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.603e-05/0.01005, allocations: 19.86 kB / 0.7368 GB, free: 12.83 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.216e-05/0.01006, allocations: 6.75 kB / 0.7368 GB, free: 12.83 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.77e-05/0.01011, allocations: 52.47 kB / 0.7368 GB, free: 12.77 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.01011, allocations: 0 / 0.7368 GB, free: 12.77 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001693/0.01028, allocations: 55.86 kB / 0.7369 GB, free: 12.72 MB / 0.7136 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.001465/0.01174, allocations: 0.6891 MB / 0.7375 GB, free: 12.38 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001301/0.01187, allocations: 45.62 kB / 0.7376 GB, free: 12.33 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 7.805e-06/0.01188, allocations: 7.875 kB / 0.7376 GB, free: 12.32 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.107e-05/0.01193, allocations: 40.77 kB / 0.7376 GB, free: 12.28 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000198/0.01213, allocations: 182.8 kB / 0.7378 GB, free: 12.08 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007437/0.01287, allocations: 269.5 kB / 0.7381 GB, free: 11.78 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.95e-05/0.01291, allocations: 70.34 kB / 0.7381 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.376e-05/0.01297, allocations: 21.17 kB / 0.7381 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.269e-05/0.01305, allocations: 79.36 kB / 0.7382 GB, free: 11.6 MB / 0.7136 GB Notification: Performance of SimCode: time 7.11e-07/0.01305, allocations: 0 / 0.7382 GB, free: 11.6 MB / 0.7136 GB Notification: Performance of Templates: time 0.004561/0.01761, allocations: 2.902 MB / 0.7411 GB, free: 8.883 MB / 0.7136 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 -ignoreHideResult -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Utilities.IO.Files.Examples.CSVReader/Buildings_12_Buildings.Utilities.IO.Files.Examples.CSVReader.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.865969510748982]