Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001698/0.001698, allocations: 113.8 kB / 17.61 MB, free: 4.703 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.001797/0.001797, allocations: 186 kB / 20.78 MB, free: 1.547 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.396/1.396, allocations: 225.6 MB / 249.4 MB, free: 3.16 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.532/2.532, allocations: 443.5 MB / 0.7304 GB, free: 13.9 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_Buildings.Utilities.IO.Files.Examples.CSVReader") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00196/0.00196, allocations: 67.89 kB / 1.059 GB, free: 392 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3022/0.3041, allocations: 160.7 MB / 1.216 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.003097/0.3072, allocations: 1.711 MB / 1.218 GB, free: 13.63 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002292/0.3095, allocations: 1.585 MB / 1.219 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.936e-05/0.3096, allocations: 0 / 1.219 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0002708/0.3099, allocations: 39.77 kB / 1.219 GB, free: 12 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002448/0.3101, allocations: 67.64 kB / 1.219 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003101/0.3104, allocations: 115.6 kB / 1.22 GB, free: 11.82 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001879/0.3106, allocations: 123.6 kB / 1.22 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.999e-05/0.3106, allocations: 5.125 kB / 1.22 GB, free: 11.69 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000171/0.3108, allocations: 63.64 kB / 1.22 GB, free: 11.62 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000208/0.311, allocations: 55.75 kB / 1.22 GB, free: 11.57 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.244e-05/0.311, allocations: 8 kB / 1.22 GB, free: 11.56 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001236/0.3112, allocations: 55.98 kB / 1.22 GB, free: 11.51 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 5.838e-05/0.3112, allocations: 27.89 kB / 1.22 GB, free: 11.48 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.972e-05/0.3113, allocations: 39.69 kB / 1.22 GB, free: 11.44 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002511/0.3115, allocations: 155.3 kB / 1.22 GB, free: 11.29 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.3115, allocations: 4 kB / 1.22 GB, free: 11.29 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.443e-06/0.3115, allocations: 0 / 1.22 GB, free: 11.29 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.97e-06/0.3116, allocations: 0 / 1.22 GB, free: 11.29 MB / 0.9669 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.0006961/0.3122, allocations: 446.5 kB / 1.22 GB, free: 10.8 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.389e-05/0.3123, allocations: 8.031 kB / 1.22 GB, free: 10.79 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.823e-05/0.3123, allocations: 8.891 kB / 1.221 GB, free: 10.79 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003318/0.3127, allocations: 233 kB / 1.221 GB, free: 10.52 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.419e-05/0.3127, allocations: 4.375 kB / 1.221 GB, free: 10.52 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.65e-05/0.3127, allocations: 8.125 kB / 1.221 GB, free: 10.51 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002397/0.3129, allocations: 97.03 kB / 1.221 GB, free: 10.39 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.3129, allocations: 0 / 1.221 GB, free: 10.39 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/0.313, allocations: 0 / 1.221 GB, free: 10.39 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.313, allocations: 3.984 kB / 1.221 GB, free: 10.39 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001716/0.3131, allocations: 51.91 kB / 1.221 GB, free: 10.34 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002555/0.3134, allocations: 211.5 kB / 1.221 GB, free: 10.08 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002686/0.3137, allocations: 115.8 kB / 1.221 GB, free: 9.938 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001213/0.3138, allocations: 50.48 kB / 1.221 GB, free: 9.879 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.845e-05/0.3138, allocations: 3.984 kB / 1.221 GB, free: 9.875 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000232/0.314, allocations: 113.9 kB / 1.221 GB, free: 9.742 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=8): time 1.082e-06/0.314, allocations: 0 / 1.221 GB, free: 9.742 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8): time 0.000481/0.3145, allocations: 157.5 kB / 1.222 GB, free: 9.582 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.667e-05/0.3146, allocations: 144.4 kB / 1.222 GB, free: 9.41 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001772/0.3148, allocations: 175.1 kB / 1.222 GB, free: 9.23 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.213e-05/0.3148, allocations: 29.7 kB / 1.222 GB, free: 9.195 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.093e-05/0.3149, allocations: 100.1 kB / 1.222 GB, free: 9.094 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.215e-05/0.3149, allocations: 27.78 kB / 1.222 GB, free: 9.066 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.804e-05/0.315, allocations: 25.72 kB / 1.222 GB, free: 9.035 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001343/0.3151, allocations: 322.8 kB / 1.222 GB, free: 8.711 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001067/0.3152, allocations: 31.97 kB / 1.222 GB, free: 8.68 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001234/0.3153, allocations: 68.27 kB / 1.222 GB, free: 8.598 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002145/0.3155, allocations: 87.59 kB / 1.222 GB, free: 8.5 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.704e-06/0.3156, allocations: 12.03 kB / 1.222 GB, free: 8.488 MB / 0.9669 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002925/0.3158, allocations: 137.4 kB / 1.223 GB, free: 8.348 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.318e-05/0.3159, allocations: 8 kB / 1.223 GB, free: 8.34 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.3159, allocations: 3.938 kB / 1.223 GB, free: 8.336 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.3159, allocations: 0 / 1.223 GB, free: 8.336 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001232/0.316, allocations: 19.98 kB / 1.223 GB, free: 8.316 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.784e-06/0.316, allocations: 4 kB / 1.223 GB, free: 8.312 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.357e-05/0.3161, allocations: 12.05 kB / 1.223 GB, free: 8.301 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.437e-05/0.3161, allocations: 7.984 kB / 1.223 GB, free: 8.293 MB / 0.9669 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.0001069/0.3162, allocations: 128 kB / 1.223 GB, free: 8.16 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.598e-05/0.3162, allocations: 7.953 kB / 1.223 GB, free: 8.152 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002413/0.3165, allocations: 114.9 kB / 1.223 GB, free: 8.031 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.3165, allocations: 0 / 1.223 GB, free: 8.031 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.3165, allocations: 4 kB / 1.223 GB, free: 8.027 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.3165, allocations: 192 / 1.223 GB, free: 8.027 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002052/0.3167, allocations: 217.4 kB / 1.223 GB, free: 7.766 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.3167, allocations: 3.938 kB / 1.223 GB, free: 7.762 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.476e-05/0.3168, allocations: 15.98 kB / 1.223 GB, free: 7.746 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.3168, allocations: 0 / 1.223 GB, free: 7.746 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.238e-05/0.3168, allocations: 4 kB / 1.223 GB, free: 7.742 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/0.3168, allocations: 4 kB / 1.223 GB, free: 7.738 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.3168, allocations: 3.938 kB / 1.223 GB, free: 7.734 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003244/0.3171, allocations: 162.7 kB / 1.223 GB, free: 7.551 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.135e-05/0.3172, allocations: 93 kB / 1.223 GB, free: 7.441 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.79e-05/0.3172, allocations: 4 kB / 1.223 GB, free: 7.438 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.298e-05/0.3173, allocations: 12.12 kB / 1.223 GB, free: 7.426 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.671e-05/0.3173, allocations: 7.984 kB / 1.223 GB, free: 7.418 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.884e-05/0.3173, allocations: 4 kB / 1.223 GB, free: 7.414 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001257/0.3175, allocations: 139.2 kB / 1.224 GB, free: 7.277 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1e-07/0.3175, allocations: 0 / 1.224 GB, free: 7.277 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002433/0.3177, allocations: 27.94 kB / 1.224 GB, free: 7.25 MB / 0.9669 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.001625/0.3193, allocations: 464.7 kB / 1.224 GB, free: 6.961 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003292/0.3197, allocations: 79.89 kB / 1.224 GB, free: 6.883 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.3197, allocations: 0 / 1.224 GB, free: 6.883 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.000139/0.3198, allocations: 43.91 kB / 1.224 GB, free: 6.84 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002908/0.3201, allocations: 36.91 kB / 1.224 GB, free: 6.809 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005285/0.3206, allocations: 241 kB / 1.224 GB, free: 6.543 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000357/0.321, allocations: 0.7041 MB / 1.225 GB, free: 5.812 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 8.773e-05/0.3211, allocations: 20.88 kB / 1.225 GB, free: 5.789 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.425e-05/0.3211, allocations: 23.42 kB / 1.225 GB, free: 5.766 MB / 0.9669 GB Notification: Performance of SimCode: time 6.92e-07/0.3211, allocations: 3.938 kB / 1.225 GB, free: 5.762 MB / 0.9669 GB Notification: Performance of Templates: time 0.00547/0.3266, allocations: 2.075 MB / 1.227 GB, free: 3.703 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Utilities.IO.Files.Examples.CSVReader.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; mkfifo Buildings_10_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe >> ../files/Buildings_10_Buildings.Utilities.IO.Files.Examples.CSVReader.sim & ./Buildings_10_Buildings.Utilities.IO.Files.Examples.CSVReader -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Utilities.IO.Files.Examples.CSVReader_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_IO_Files_Examples_CSVReader.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 7.825055632740259]