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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.00154/0.00154, allocations: 106.1 kB / 16.35 MB, free: 5.824 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.001743/0.001743, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.369/1.369, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.422/2.422, allocations: 437.1 MB / 0.7112 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001289/0.001289, allocations: 64.44 kB / 0.8707 GB, free: 1.453 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2752/0.2765, allocations: 151.6 MB / 1.019 GB, free: 9.871 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.002823/0.2793, allocations: 1.683 MB / 1.02 GB, free: 8.172 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001906/0.2812, allocations: 1.522 MB / 1.022 GB, free: 6.641 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.755e-05/0.2814, allocations: 0 / 1.022 GB, free: 6.641 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0002836/0.2816, allocations: 39.77 kB / 1.022 GB, free: 6.602 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0002357/0.2819, allocations: 67.62 kB / 1.022 GB, free: 6.535 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002807/0.2822, allocations: 116.6 kB / 1.022 GB, free: 6.426 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001871/0.2824, allocations: 123.6 kB / 1.022 GB, free: 6.305 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 5.135e-05/0.2825, allocations: 17.11 kB / 1.022 GB, free: 6.285 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001157/0.2826, allocations: 55.72 kB / 1.022 GB, free: 6.23 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002049/0.2828, allocations: 51.75 kB / 1.022 GB, free: 6.18 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.138e-05/0.2828, allocations: 8 kB / 1.022 GB, free: 6.172 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001222/0.283, allocations: 63.97 kB / 1.022 GB, free: 6.109 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 5.527e-05/0.283, allocations: 19.92 kB / 1.022 GB, free: 6.09 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 6.155e-05/0.2831, allocations: 43.73 kB / 1.022 GB, free: 6.047 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002369/0.2833, allocations: 159.4 kB / 1.023 GB, free: 5.891 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.2833, allocations: 0 / 1.023 GB, free: 5.891 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.393e-06/0.2833, allocations: 0 / 1.023 GB, free: 5.891 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.718e-06/0.2834, allocations: 0 / 1.023 GB, free: 5.891 MB / 0.795 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.0006016/0.284, allocations: 442.9 kB / 1.023 GB, free: 5.41 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.406e-05/0.284, allocations: 8.031 kB / 1.023 GB, free: 5.402 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.831e-05/0.2841, allocations: 12.84 kB / 1.023 GB, free: 5.391 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000286/0.2843, allocations: 217 kB / 1.023 GB, free: 5.141 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.304e-05/0.2844, allocations: 384 / 1.023 GB, free: 5.141 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.893e-05/0.2844, allocations: 8.125 kB / 1.023 GB, free: 5.133 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002267/0.2846, allocations: 105 kB / 1.023 GB, free: 5.012 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.2846, allocations: 0 / 1.023 GB, free: 5.012 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.2847, allocations: 0 / 1.023 GB, free: 5.012 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.2847, allocations: 4 kB / 1.023 GB, free: 5.008 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001658/0.2848, allocations: 51.89 kB / 1.023 GB, free: 4.957 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002081/0.2851, allocations: 215.4 kB / 1.024 GB, free: 4.691 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002456/0.2853, allocations: 111.8 kB / 1.024 GB, free: 4.555 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001262/0.2854, allocations: 62.48 kB / 1.024 GB, free: 4.484 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.583e-05/0.2855, allocations: 4 kB / 1.024 GB, free: 4.48 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001987/0.2857, allocations: 105.9 kB / 1.024 GB, free: 4.355 MB / 0.795 GB Notification: Performance of pre-optimization done (n=8): time 1.262e-06/0.2857, allocations: 0 / 1.024 GB, free: 4.355 MB / 0.795 GB Notification: Performance of matching and sorting (n=8): time 0.0004733/0.2862, allocations: 161.5 kB / 1.024 GB, free: 4.191 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.489e-05/0.2862, allocations: 132.5 kB / 1.024 GB, free: 4.031 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001557/0.2864, allocations: 178.4 kB / 1.024 GB, free: 3.848 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.846e-05/0.2864, allocations: 25.7 kB / 1.024 GB, free: 3.816 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 5.053e-05/0.2865, allocations: 108.1 kB / 1.024 GB, free: 3.707 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.489e-05/0.2865, allocations: 19.97 kB / 1.025 GB, free: 3.688 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.517e-05/0.2866, allocations: 29.7 kB / 1.025 GB, free: 3.652 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.000105/0.2867, allocations: 322.8 kB / 1.025 GB, free: 3.328 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001055/0.2868, allocations: 31.97 kB / 1.025 GB, free: 3.297 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001131/0.2869, allocations: 64.28 kB / 1.025 GB, free: 3.219 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002119/0.2871, allocations: 99.36 kB / 1.025 GB, free: 3.109 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.2872, allocations: 256 / 1.025 GB, free: 3.109 MB / 0.795 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002854/0.2874, allocations: 141.3 kB / 1.025 GB, free: 2.965 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.2875, allocations: 8 kB / 1.025 GB, free: 2.957 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.2875, allocations: 0 / 1.025 GB, free: 2.957 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.2875, allocations: 0 / 1.025 GB, free: 2.957 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001227/0.2876, allocations: 23.92 kB / 1.025 GB, free: 2.934 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.142e-05/0.2876, allocations: 7.984 kB / 1.025 GB, free: 2.926 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.043e-05/0.2877, allocations: 7.938 kB / 1.025 GB, free: 2.918 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.206e-05/0.2877, allocations: 8 kB / 1.025 GB, free: 2.91 MB / 0.795 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.0001016/0.2879, allocations: 132.3 kB / 1.025 GB, free: 2.773 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.04e-05/0.2879, allocations: 15.81 kB / 1.025 GB, free: 2.758 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.556e-05/0.2879, allocations: 21.39 kB / 1.025 GB, free: 2.742 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.2879, allocations: 0 / 1.025 GB, free: 2.742 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.288, allocations: 4 kB / 1.025 GB, free: 2.738 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.288, allocations: 0 / 1.025 GB, free: 2.738 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001728/0.2881, allocations: 205.5 kB / 1.026 GB, free: 2.488 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.2882, allocations: 0 / 1.026 GB, free: 2.488 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.651e-05/0.2882, allocations: 19.92 kB / 1.026 GB, free: 2.469 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.2882, allocations: 0 / 1.026 GB, free: 2.469 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.124e-05/0.2883, allocations: 0 / 1.026 GB, free: 2.469 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.2883, allocations: 8 kB / 1.026 GB, free: 2.461 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.2883, allocations: 192 / 1.026 GB, free: 2.461 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003108/0.2886, allocations: 162.5 kB / 1.026 GB, free: 2.277 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 5.658e-05/0.2887, allocations: 92.95 kB / 1.026 GB, free: 2.168 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.872e-05/0.2887, allocations: 11.98 kB / 1.026 GB, free: 2.156 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.612e-05/0.2888, allocations: 7.984 kB / 1.026 GB, free: 2.148 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.896e-05/0.2888, allocations: 15.92 kB / 1.026 GB, free: 2.133 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.562e-05/0.2889, allocations: 4 kB / 1.026 GB, free: 2.129 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0001002/0.289, allocations: 132.2 kB / 1.026 GB, free: 2 MB / 0.795 GB Notification: Performance of sort global known variables: time 3e-07/0.289, allocations: 0 / 1.026 GB, free: 2 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002465/0.2892, allocations: 32 kB / 1.026 GB, free: 1.969 MB / 0.795 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.0009632/0.2902, allocations: 449.2 kB / 1.026 GB, free: 1.691 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002716/0.2905, allocations: 87.88 kB / 1.027 GB, free: 1.605 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.2905, allocations: 4.188 kB / 1.027 GB, free: 1.602 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001248/0.2906, allocations: 44.05 kB / 1.027 GB, free: 1.559 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002702/0.2909, allocations: 37.44 kB / 1.027 GB, free: 1.523 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004288/0.2913, allocations: 233 kB / 1.027 GB, free: 1.266 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002238/0.2916, allocations: 0.712 MB / 1.028 GB, free: 0.5273 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 7.067e-05/0.2916, allocations: 20.81 kB / 1.028 GB, free: 0.5039 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.756e-05/0.2917, allocations: 19.44 kB / 1.028 GB, free: 496 kB / 0.795 GB Notification: Performance of SimCode: time 2.5e-07/0.2917, allocations: 0 / 1.028 GB, free: 496 kB / 0.795 GB Notification: Performance of Templates: time 0.004629/0.2963, allocations: 2.035 MB / 1.03 GB, free: 14.48 MB / 0.8106 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 -s gbode -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/jenkins1/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