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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001548/0.001548, allocations: 112.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001984/0.001984, allocations: 190.7 kB / 22.22 MB, free: 5.105 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.436/1.436, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.222/3.222, allocations: 496 MB / 0.7835 GB, free: 33.69 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.1.|combiTimeTable.y.2.|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.1.|combiTimeTable.y.2.|cos.y|step.y",fileNamePrefix="Buildings_12_Buildings.Utilities.IO.Files.Examples.CSVReader") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002007/0.002007, allocations: 67.61 kB / 1.138 GB, free: 33.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3418/0.3438, allocations: 173.6 MB / 1.307 GB, free: 1.859 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.003502/0.3473, allocations: 1.716 MB / 1.309 GB, free: 136 kB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002649/0.35, allocations: 1.625 MB / 1.311 GB, free: 14.5 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000122/0.3501, allocations: 0 / 1.311 GB, free: 14.5 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.00033/0.3504, allocations: 39.77 kB / 1.311 GB, free: 14.46 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0003077/0.3508, allocations: 67.62 kB / 1.311 GB, free: 14.39 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003793/0.3511, allocations: 118.7 kB / 1.311 GB, free: 14.28 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002611/0.3514, allocations: 127.6 kB / 1.311 GB, free: 14.16 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 6.05e-05/0.3515, allocations: 1.312 kB / 1.311 GB, free: 14.15 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001718/0.3516, allocations: 67.69 kB / 1.311 GB, free: 14.09 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002061/0.3518, allocations: 59.7 kB / 1.311 GB, free: 14.03 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.606e-05/0.3519, allocations: 8 kB / 1.311 GB, free: 14.02 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001668/0.352, allocations: 59.98 kB / 1.311 GB, free: 13.96 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 6.536e-05/0.3521, allocations: 23.91 kB / 1.311 GB, free: 13.94 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 8.047e-05/0.3522, allocations: 43.73 kB / 1.311 GB, free: 13.89 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0003174/0.3525, allocations: 155.3 kB / 1.311 GB, free: 13.74 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.3525, allocations: 4 kB / 1.311 GB, free: 13.74 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.804e-06/0.3525, allocations: 0 / 1.311 GB, free: 13.74 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.55e-06/0.3525, allocations: 0 / 1.311 GB, free: 13.74 MB / 1.014 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.0007142/0.3532, allocations: 369.4 kB / 1.312 GB, free: 13.35 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.3533, allocations: 8.031 kB / 1.312 GB, free: 13.34 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.811e-05/0.3533, allocations: 16.84 kB / 1.312 GB, free: 13.32 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00033/0.3537, allocations: 162.3 kB / 1.312 GB, free: 13.14 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.562e-05/0.3537, allocations: 384 / 1.312 GB, free: 13.14 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.008e-05/0.3537, allocations: 8.125 kB / 1.312 GB, free: 13.13 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002645/0.354, allocations: 101 kB / 1.312 GB, free: 13.02 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.354, allocations: 0 / 1.312 GB, free: 13.02 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.662e-05/0.354, allocations: 3.984 kB / 1.312 GB, free: 13.01 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.654e-06/0.354, allocations: 4 kB / 1.312 GB, free: 13.01 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001917/0.3542, allocations: 47.91 kB / 1.312 GB, free: 12.96 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002589/0.3544, allocations: 186.5 kB / 1.312 GB, free: 12.73 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002788/0.3547, allocations: 103.8 kB / 1.312 GB, free: 12.6 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001325/0.3549, allocations: 50.55 kB / 1.312 GB, free: 12.54 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.221e-05/0.3549, allocations: 8 kB / 1.312 GB, free: 12.54 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002616/0.3551, allocations: 113.9 kB / 1.312 GB, free: 12.4 MB / 1.014 GB Notification: Performance of pre-optimization done (n=8): time 1.173e-06/0.3551, allocations: 0 / 1.312 GB, free: 12.4 MB / 1.014 GB Notification: Performance of matching and sorting (n=8): time 0.0005318/0.3557, allocations: 165.6 kB / 1.313 GB, free: 12.23 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000108/0.3558, allocations: 132.5 kB / 1.313 GB, free: 12.07 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001932/0.356, allocations: 170.3 kB / 1.313 GB, free: 11.9 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.237e-05/0.356, allocations: 29.64 kB / 1.313 GB, free: 11.86 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 7.189e-05/0.3561, allocations: 108.1 kB / 1.313 GB, free: 11.75 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 4.769e-05/0.3561, allocations: 31.73 kB / 1.313 GB, free: 11.72 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.983e-05/0.3562, allocations: 21.88 kB / 1.313 GB, free: 11.7 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001387/0.3563, allocations: 326.8 kB / 1.313 GB, free: 11.37 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001181/0.3564, allocations: 35.97 kB / 1.313 GB, free: 11.33 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000129/0.3566, allocations: 68.14 kB / 1.313 GB, free: 11.25 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002306/0.3568, allocations: 95.38 kB / 1.314 GB, free: 11.14 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.3568, allocations: 0 / 1.314 GB, free: 11.14 MB / 1.014 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003157/0.3571, allocations: 129.5 kB / 1.314 GB, free: 11.01 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.3571, allocations: 8.094 kB / 1.314 GB, free: 11 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/0.3571, allocations: 4 kB / 1.314 GB, free: 11 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.301e-05/0.3572, allocations: 4 kB / 1.314 GB, free: 11 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001353/0.3573, allocations: 23.92 kB / 1.314 GB, free: 10.97 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.3573, allocations: 0 / 1.314 GB, free: 10.97 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.286e-05/0.3574, allocations: 11.95 kB / 1.314 GB, free: 10.96 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.307e-05/0.3574, allocations: 7.984 kB / 1.314 GB, free: 10.95 MB / 1.014 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 0.0001234/0.3575, allocations: 129.7 kB / 1.314 GB, free: 10.82 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.282e-05/0.3576, allocations: 11.95 kB / 1.314 GB, free: 10.8 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000257/0.3578, allocations: 114.9 kB / 1.314 GB, free: 10.68 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/0.3578, allocations: 4 kB / 1.314 GB, free: 10.68 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.3578, allocations: 0 / 1.314 GB, free: 10.68 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.319e-06/0.3578, allocations: 0 / 1.314 GB, free: 10.68 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001858/0.358, allocations: 176.6 kB / 1.314 GB, free: 10.46 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.358, allocations: 384 / 1.314 GB, free: 10.46 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.504e-05/0.3581, allocations: 15.98 kB / 1.314 GB, free: 10.45 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.701e-06/0.3581, allocations: 4 kB / 1.314 GB, free: 10.45 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.464e-05/0.3581, allocations: 4 kB / 1.314 GB, free: 10.44 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.3581, allocations: 4 kB / 1.314 GB, free: 10.44 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3581, allocations: 0 / 1.314 GB, free: 10.44 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003626/0.3585, allocations: 170.6 kB / 1.314 GB, free: 10.25 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 2.779e-05/0.3585, allocations: 19.88 kB / 1.314 GB, free: 10.23 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.897e-05/0.3585, allocations: 4 kB / 1.314 GB, free: 10.22 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.726e-05/0.3586, allocations: 12 kB / 1.314 GB, free: 10.21 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.084e-05/0.3587, allocations: 7.984 kB / 1.314 GB, free: 10.2 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.24e-05/0.3587, allocations: 7.984 kB / 1.314 GB, free: 10.2 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.000125/0.3588, allocations: 132.2 kB / 1.314 GB, free: 10.07 MB / 1.014 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3588, allocations: 0 / 1.314 GB, free: 10.07 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002612/0.3591, allocations: 35.92 kB / 1.315 GB, free: 10.03 MB / 1.014 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 (8): * Single equations (assignments): 6 * 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.001653/0.3607, allocations: 468.8 kB / 1.315 GB, free: 9.742 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0003116/0.361, allocations: 75.89 kB / 1.315 GB, free: 9.668 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.361, allocations: 192 / 1.315 GB, free: 9.668 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001416/0.3612, allocations: 43.97 kB / 1.315 GB, free: 9.625 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003064/0.3615, allocations: 30.55 kB / 1.315 GB, free: 9.598 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005458/0.362, allocations: 237 kB / 1.315 GB, free: 9.332 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003272/0.3624, allocations: 0.7042 MB / 1.316 GB, free: 8.602 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 7.985e-05/0.3624, allocations: 16.97 kB / 1.316 GB, free: 8.582 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.026e-05/0.3625, allocations: 23.41 kB / 1.316 GB, free: 8.559 MB / 1.014 GB Notification: Performance of SimCode: time 5.31e-07/0.3625, allocations: 0 / 1.316 GB, free: 8.559 MB / 1.014 GB Notification: Performance of Templates: time 0.005886/0.3684, allocations: 2.094 MB / 1.318 GB, free: 6.488 MB / 1.014 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.IO.Files.Examples.CSVReader.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.83248285856098]