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.001048/0.001048, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001406/0.002454, allocations: 449.7 kB / 10.37 MB, free: 328 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.001028/0.001028, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00125/0.002278, allocations: 459.6 kB / 11.71 MB, free: 2.457 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.8861/0.8861, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07825/0.9644, allocations: 53.65 MB / 243.3 MB, free: 15.59 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.862/1.862, allocations: 378.2 MB / 0.6076 GB, free: 7.836 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4305/2.292, allocations: 123.3 MB / 0.728 GB, free: 5.836 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.493e-06/1.493e-06, allocations: 0 / 0.7293 GB, free: 4.555 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.53e-05/1.679e-05, allocations: 6.25 kB / 0.7293 GB, free: 4.547 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.002926/0.002942, allocations: 1.79 MB / 0.7311 GB, free: 2.766 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.002614/0.005557, allocations: 1.824 MB / 0.7329 GB, free: 0.9453 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000135/0.005692, allocations: 0 / 0.7329 GB, free: 0.9453 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0002311/0.005923, allocations: 41.36 kB / 0.7329 GB, free: 0.9062 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0003222/0.006245, allocations: 101.7 kB / 0.733 GB, free: 0.8164 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002593/0.006504, allocations: 96.23 kB / 0.7331 GB, free: 0.7227 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0002294/0.006734, allocations: 148.1 kB / 0.7332 GB, free: 0.5781 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 4.926e-05/0.006783, allocations: 10.3 kB / 0.7332 GB, free: 0.5625 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000254/0.007037, allocations: 116.3 kB / 0.7333 GB, free: 460 kB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001428/0.00718, allocations: 53.53 kB / 0.7334 GB, free: 408 kB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.181e-05/0.007202, allocations: 4 kB / 0.7334 GB, free: 404 kB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002314/0.007433, allocations: 115.8 kB / 0.7335 GB, free: 288 kB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 5.571e-05/0.007489, allocations: 19.92 kB / 0.7335 GB, free: 268 kB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 4.868e-05/0.007537, allocations: 19.94 kB / 0.7335 GB, free: 248 kB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0003218/0.007859, allocations: 176.4 kB / 0.7337 GB, free: 72 kB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.752e-05/0.007877, allocations: 0 / 0.7337 GB, free: 72 kB / 0.698 GB Notification: Performance of FrontEnd: time 7.12e-07/0.007877, allocations: 0 / 0.7337 GB, free: 72 kB / 0.698 GB Notification: Performance of Transformations before backend: time 1.871e-05/0.007896, allocations: 0.9688 kB / 0.7337 GB, free: 72 kB / 0.698 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.000673/0.008569, allocations: 391.6 kB / 0.7341 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.275e-05/0.008602, allocations: 8.781 kB / 0.7341 GB, free: 15.65 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000183/0.008785, allocations: 102.9 kB / 0.7342 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002188/0.009004, allocations: 158.3 kB / 0.7343 GB, free: 15.35 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.69e-05/0.009021, allocations: 5.125 kB / 0.7343 GB, free: 15.35 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.255e-05/0.009033, allocations: 384 / 0.7343 GB, free: 15.35 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001935/0.009227, allocations: 123.6 kB / 0.7345 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.009237, allocations: 5.812 kB / 0.7345 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.254e-05/0.00925, allocations: 3.984 kB / 0.7345 GB, free: 15.19 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.009256, allocations: 4 kB / 0.7345 GB, free: 15.19 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.304e-05/0.009319, allocations: 18.75 kB / 0.7345 GB, free: 15.17 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001394/0.009459, allocations: 85.27 kB / 0.7346 GB, free: 15.06 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001516/0.00961, allocations: 87.27 kB / 0.7347 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.144e-05/0.009652, allocations: 23.7 kB / 0.7347 GB, free: 14.92 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.516e-05/0.009667, allocations: 4 kB / 0.7347 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001465/0.009813, allocations: 96.64 kB / 0.7348 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=8): time 1.553e-06/0.009815, allocations: 0.7188 kB / 0.7348 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8): time 0.0001896/0.01, allocations: 81.89 kB / 0.7349 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.089e-05/0.01006, allocations: 114.7 kB / 0.735 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001671/0.01022, allocations: 182.2 kB / 0.7351 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.98e-05/0.01024, allocations: 31.48 kB / 0.7352 GB, free: 14.35 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.892e-05/0.01028, allocations: 96.09 kB / 0.7353 GB, free: 14.25 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.886e-05/0.01032, allocations: 23.8 kB / 0.7353 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.895e-05/0.01037, allocations: 29.69 kB / 0.7353 GB, free: 14.19 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001098/0.01048, allocations: 324 kB / 0.7356 GB, free: 13.87 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.53e-05/0.0105, allocations: 6.828 kB / 0.7356 GB, free: 13.86 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.385e-05/0.01056, allocations: 73.91 kB / 0.7357 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.182e-05/0.01064, allocations: 67.03 kB / 0.7358 GB, free: 13.69 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.01064, allocations: 0 / 0.7358 GB, free: 13.69 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001267/0.01077, allocations: 81 kB / 0.7358 GB, free: 13.6 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.01078, allocations: 6.781 kB / 0.7358 GB, free: 13.6 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.01079, allocations: 4 kB / 0.7359 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.488e-06/0.0108, allocations: 1.5 kB / 0.7359 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001155/0.01091, allocations: 23.92 kB / 0.7359 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.617e-06/0.01092, allocations: 0 / 0.7359 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.122e-05/0.01098, allocations: 16.62 kB / 0.7359 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.316e-06/0.01099, allocations: 0 / 0.7359 GB, free: 13.55 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 8.003e-05/0.01107, allocations: 131.7 kB / 0.736 GB, free: 13.42 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.714e-05/0.01109, allocations: 11.98 kB / 0.736 GB, free: 13.41 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001488/0.01124, allocations: 79.75 kB / 0.7361 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.01125, allocations: 4 kB / 0.7361 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.01125, allocations: 4.656 kB / 0.7361 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.01125, allocations: 0 / 0.7361 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001248/0.01138, allocations: 98.38 kB / 0.7362 GB, free: 13.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.01138, allocations: 1.125 kB / 0.7362 GB, free: 13.2 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.137e-05/0.01146, allocations: 16 kB / 0.7362 GB, free: 13.19 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.594e-05/0.01149, allocations: 15.89 kB / 0.7362 GB, free: 13.17 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.01149, allocations: 4.969 kB / 0.7362 GB, free: 13.17 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.202e-05/0.0115, allocations: 4 kB / 0.7362 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.01151, allocations: 0 / 0.7362 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.01151, allocations: 5.531 kB / 0.7363 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00018/0.01169, allocations: 124.3 kB / 0.7364 GB, free: 13.01 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.569e-05/0.01171, allocations: 0 / 0.7364 GB, free: 13.01 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.745e-05/0.01177, allocations: 10.75 kB / 0.7364 GB, free: 13 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.908e-05/0.01181, allocations: 15.91 kB / 0.7364 GB, free: 12.99 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.553e-05/0.01183, allocations: 4.062 kB / 0.7364 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 7.32e-05/0.0119, allocations: 61.55 kB / 0.7365 GB, free: 12.92 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1e-07/0.0119, allocations: 0 / 0.7365 GB, free: 12.92 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002498/0.01215, allocations: 51.86 kB / 0.7365 GB, free: 12.87 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.002168/0.01432, allocations: 0.684 MB / 0.7372 GB, free: 12.54 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001067/0.01442, allocations: 45.38 kB / 0.7372 GB, free: 12.49 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 9.097e-06/0.01443, allocations: 7.984 kB / 0.7372 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.746e-05/0.01447, allocations: 29.5 kB / 0.7373 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001424/0.01461, allocations: 42.56 kB / 0.7373 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007102/0.01532, allocations: 278.5 kB / 0.7376 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.256e-05/0.01536, allocations: 67.34 kB / 0.7376 GB, free: 12.02 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.704e-05/0.0154, allocations: 19.08 kB / 0.7376 GB, free: 12.01 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.296e-05/0.01549, allocations: 83.34 kB / 0.7377 GB, free: 11.93 MB / 0.7136 GB Notification: Performance of SimCode: time 5.41e-07/0.01549, allocations: 0.5938 kB / 0.7377 GB, free: 11.93 MB / 0.7136 GB Notification: Performance of Templates: time 0.004067/0.01955, allocations: 2.897 MB / 0.7406 GB, free: 9.219 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,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.700581369921565]