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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|combiTimeTable.y.1.|combiTimeTable.y.2.|cos.y|step.y",fileNamePrefix="Buildings_10_Buildings.Utilities.IO.Files.Examples.CSVReader") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004453/0.004453, allocations: 96.69 kB / 15.73 MB, free: 6.484 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001073/0.001074, allocations: 191.7 kB / 16.67 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.314/1.314, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.671/2.671, allocations: 437 MB / 0.7105 GB, free: 4.984 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001359/0.001359, allocations: 67.89 kB / 1.019 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2994/0.3007, allocations: 151.6 MB / 1.167 GB, free: 6.789 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.003288/0.3041, allocations: 1.671 MB / 1.168 GB, free: 5.102 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002544/0.3066, allocations: 1.514 MB / 1.17 GB, free: 3.578 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000126/0.3068, allocations: 4 kB / 1.17 GB, free: 3.574 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0002955/0.3071, allocations: 43.7 kB / 1.17 GB, free: 3.531 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0002908/0.3074, allocations: 63.64 kB / 1.17 GB, free: 3.469 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003466/0.3078, allocations: 114.4 kB / 1.17 GB, free: 3.359 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002096/0.308, allocations: 131.6 kB / 1.17 GB, free: 3.23 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 5.229e-05/0.3081, allocations: 13.11 kB / 1.17 GB, free: 3.215 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000148/0.3082, allocations: 59.75 kB / 1.17 GB, free: 3.156 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000226/0.3085, allocations: 45.5 kB / 1.17 GB, free: 3.113 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.945e-05/0.3085, allocations: 8 kB / 1.17 GB, free: 3.105 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001702/0.3087, allocations: 67.91 kB / 1.17 GB, free: 3.039 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 5.482e-05/0.3088, allocations: 23.91 kB / 1.17 GB, free: 3.016 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 6.393e-05/0.3088, allocations: 43.73 kB / 1.17 GB, free: 2.973 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002816/0.3091, allocations: 151.3 kB / 1.17 GB, free: 2.824 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.3091, allocations: 0 / 1.17 GB, free: 2.824 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.283e-06/0.3091, allocations: 4 kB / 1.17 GB, free: 2.82 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.082e-06/0.3091, allocations: 0 / 1.17 GB, free: 2.82 MB / 0.92 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.0007057/0.3099, allocations: 442.5 kB / 1.171 GB, free: 2.34 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.3099, allocations: 11.97 kB / 1.171 GB, free: 2.328 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.135e-05/0.31, allocations: 12.89 kB / 1.171 GB, free: 2.316 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003677/0.3103, allocations: 221.1 kB / 1.171 GB, free: 2.062 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.547e-05/0.3104, allocations: 4.359 kB / 1.171 GB, free: 2.059 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.979e-05/0.3104, allocations: 20.12 kB / 1.171 GB, free: 2.039 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002507/0.3107, allocations: 89.09 kB / 1.171 GB, free: 1.934 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.146e-06/0.3107, allocations: 3.938 kB / 1.171 GB, free: 1.93 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.539e-05/0.3107, allocations: 4 kB / 1.171 GB, free: 1.926 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.3107, allocations: 4 kB / 1.171 GB, free: 1.922 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001934/0.3109, allocations: 51.95 kB / 1.171 GB, free: 1.871 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002586/0.3112, allocations: 203.5 kB / 1.171 GB, free: 1.617 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002597/0.3114, allocations: 111.8 kB / 1.172 GB, free: 1.48 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001289/0.3116, allocations: 58.48 kB / 1.172 GB, free: 1.414 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.673e-05/0.3116, allocations: 4 kB / 1.172 GB, free: 1.41 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002183/0.3118, allocations: 113.9 kB / 1.172 GB, free: 1.277 MB / 0.92 GB Notification: Performance of pre-optimization done (n=8): time 1.593e-06/0.3118, allocations: 0 / 1.172 GB, free: 1.277 MB / 0.92 GB Notification: Performance of matching and sorting (n=8): time 0.0004883/0.3123, allocations: 161.4 kB / 1.172 GB, free: 1.113 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.41e-05/0.3124, allocations: 136.5 kB / 1.172 GB, free: 0.9492 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001566/0.3126, allocations: 174.9 kB / 1.172 GB, free: 0.7695 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.517e-05/0.3126, allocations: 29.95 kB / 1.172 GB, free: 0.7344 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.167e-05/0.3127, allocations: 104.1 kB / 1.172 GB, free: 0.6289 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.949e-05/0.3127, allocations: 31.77 kB / 1.172 GB, free: 0.5977 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.439e-05/0.3128, allocations: 21.72 kB / 1.172 GB, free: 0.5703 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001258/0.3129, allocations: 326.8 kB / 1.173 GB, free: 248 kB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001088/0.313, allocations: 31.97 kB / 1.173 GB, free: 216 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001205/0.3132, allocations: 76.2 kB / 1.173 GB, free: 124 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002161/0.3134, allocations: 87.41 kB / 1.173 GB, free: 24 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.3134, allocations: 0 / 1.173 GB, free: 24 kB / 0.92 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003322/0.3137, allocations: 141.4 kB / 1.173 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.3138, allocations: 10.03 kB / 1.173 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.3138, allocations: 0 / 1.173 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.3138, allocations: 0 / 1.173 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001315/0.3139, allocations: 23.98 kB / 1.173 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.146e-06/0.314, allocations: 4 kB / 1.173 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.827e-05/0.314, allocations: 7.953 kB / 1.173 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.3e-05/0.3141, allocations: 12.39 kB / 1.173 GB, free: 15.82 MB / 0.9356 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.0001176/0.3142, allocations: 129.7 kB / 1.173 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.432e-05/0.3142, allocations: 15.95 kB / 1.173 GB, free: 15.67 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.146e-05/0.3143, allocations: 25.31 kB / 1.173 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.025e-06/0.3143, allocations: 0 / 1.173 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.3143, allocations: 4 kB / 1.173 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.3143, allocations: 0 / 1.173 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001776/0.3145, allocations: 205.5 kB / 1.173 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.3145, allocations: 0 / 1.173 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.382e-05/0.3146, allocations: 19.98 kB / 1.173 GB, free: 15.37 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.3146, allocations: 0 / 1.173 GB, free: 15.37 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.181e-05/0.3146, allocations: 0 / 1.173 GB, free: 15.37 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.3146, allocations: 4 kB / 1.173 GB, free: 15.37 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3146, allocations: 0 / 1.173 GB, free: 15.37 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003372/0.315, allocations: 178.6 kB / 1.174 GB, free: 15.17 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.327e-05/0.315, allocations: 93.14 kB / 1.174 GB, free: 15.06 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.953e-05/0.3151, allocations: 7.984 kB / 1.174 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.582e-05/0.3152, allocations: 11.94 kB / 1.174 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.024e-05/0.3152, allocations: 7.984 kB / 1.174 GB, free: 15.03 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.798e-05/0.3153, allocations: 4 kB / 1.174 GB, free: 15.03 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.000112/0.3154, allocations: 132.2 kB / 1.174 GB, free: 14.9 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3154, allocations: 0 / 1.174 GB, free: 14.9 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002685/0.3157, allocations: 32 kB / 1.174 GB, free: 14.87 MB / 0.9356 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.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * 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.001047/0.3167, allocations: 447.2 kB / 1.174 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003026/0.317, allocations: 87.88 kB / 1.174 GB, free: 14.51 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.317, allocations: 0 / 1.174 GB, free: 14.51 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001375/0.3172, allocations: 43.97 kB / 1.174 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002857/0.3175, allocations: 31.38 kB / 1.174 GB, free: 14.44 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005006/0.318, allocations: 248.9 kB / 1.175 GB, free: 14.16 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002769/0.3183, allocations: 0.7079 MB / 1.175 GB, free: 13.43 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 8.317e-05/0.3184, allocations: 24.84 kB / 1.175 GB, free: 13.4 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.206e-05/0.3184, allocations: 23.42 kB / 1.175 GB, free: 13.38 MB / 0.9356 GB Notification: Performance of SimCode: time 3.6e-07/0.3184, allocations: 4 kB / 1.175 GB, free: 13.38 MB / 0.9356 GB Notification: Performance of Templates: time 0.005171/0.3236, allocations: 2.043 MB / 1.177 GB, free: 11.36 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Utilities.IO.Files.Examples.CSVReader.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1) 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) Reference file matches