Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.001535/0.001535, allocations: 103.1 kB / 16.35 MB, free: 5.875 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.00165/0.00165, allocations: 196.8 kB / 17.3 MB, free: 5.516 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.326/1.326, 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 9.1.2-maint.9.1.x/package.mo): time 2.209/2.209, allocations: 390.3 MB / 0.6655 GB, free: 0.5273 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002304/0.002304, allocations: 63.7 kB / 0.814 GB, free: 32.66 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2631/0.2654, allocations: 140.4 MB / 0.9511 GB, free: 8 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.003012/0.2685, allocations: 1.668 MB / 0.9528 GB, free: 6.324 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002026/0.2705, allocations: 1.51 MB / 0.9542 GB, free: 4.805 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.157e-05/0.2706, allocations: 0 / 0.9542 GB, free: 4.805 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0002747/0.2709, allocations: 39.77 kB / 0.9543 GB, free: 4.766 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.000222/0.2712, allocations: 59.58 kB / 0.9543 GB, free: 4.707 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002666/0.2715, allocations: 115.6 kB / 0.9544 GB, free: 4.594 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001733/0.2716, allocations: 131.6 kB / 0.9546 GB, free: 4.465 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.749e-05/0.2717, allocations: 9.125 kB / 0.9546 GB, free: 4.453 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001252/0.2718, allocations: 63.7 kB / 0.9546 GB, free: 4.391 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001526/0.272, allocations: 47.77 kB / 0.9547 GB, free: 4.344 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.201e-05/0.272, allocations: 8 kB / 0.9547 GB, free: 4.336 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001172/0.2721, allocations: 59.97 kB / 0.9547 GB, free: 4.277 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 5.423e-05/0.2722, allocations: 23.92 kB / 0.9548 GB, free: 4.254 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 6.122e-05/0.2723, allocations: 47.66 kB / 0.9548 GB, free: 4.207 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002207/0.2725, allocations: 147.5 kB / 0.9549 GB, free: 4.062 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.2725, allocations: 0 / 0.9549 GB, free: 4.062 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.186e-06/0.2725, allocations: 3.984 kB / 0.955 GB, free: 4.059 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.2725, allocations: 0 / 0.955 GB, free: 4.059 MB / 0.7325 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.0005721/0.2731, allocations: 442.8 kB / 0.9554 GB, free: 3.578 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.214e-05/0.2731, allocations: 12.03 kB / 0.9554 GB, free: 3.566 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.606e-05/0.2732, allocations: 8.844 kB / 0.9554 GB, free: 3.559 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002583/0.2735, allocations: 216.1 kB / 0.9556 GB, free: 3.309 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.289e-05/0.2735, allocations: 4.312 kB / 0.9556 GB, free: 3.305 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.5e-05/0.2735, allocations: 12.06 kB / 0.9556 GB, free: 3.293 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002198/0.2737, allocations: 105.1 kB / 0.9557 GB, free: 3.172 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.254e-06/0.2737, allocations: 0 / 0.9557 GB, free: 3.172 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.2738, allocations: 0 / 0.9557 GB, free: 3.172 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.2738, allocations: 0 / 0.9557 GB, free: 3.172 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000165/0.2739, allocations: 51.89 kB / 0.9558 GB, free: 3.121 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002143/0.2742, allocations: 223.2 kB / 0.956 GB, free: 2.848 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002472/0.2744, allocations: 115.8 kB / 0.9561 GB, free: 2.707 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001207/0.2745, allocations: 62.55 kB / 0.9561 GB, free: 2.637 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.47e-05/0.2746, allocations: 0 / 0.9561 GB, free: 2.637 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002126/0.2748, allocations: 113.9 kB / 0.9563 GB, free: 2.504 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=8): time 1.282e-06/0.2748, allocations: 0 / 0.9563 GB, free: 2.504 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8): time 0.0004474/0.2753, allocations: 161.5 kB / 0.9564 GB, free: 2.34 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.964e-05/0.2753, allocations: 132.5 kB / 0.9565 GB, free: 2.18 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001537/0.2755, allocations: 179.9 kB / 0.9567 GB, free: 1.996 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.137e-05/0.2755, allocations: 29.7 kB / 0.9567 GB, free: 1.961 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.996e-05/0.2756, allocations: 104.4 kB / 0.9568 GB, free: 1.855 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.264e-05/0.2756, allocations: 23.7 kB / 0.9569 GB, free: 1.832 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.552e-05/0.2757, allocations: 29.7 kB / 0.9569 GB, free: 1.797 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001025/0.2758, allocations: 322.8 kB / 0.9572 GB, free: 1.473 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001056/0.2759, allocations: 27.98 kB / 0.9572 GB, free: 1.445 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001075/0.276, allocations: 60.27 kB / 0.9573 GB, free: 1.371 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001985/0.2762, allocations: 103.4 kB / 0.9574 GB, free: 1.258 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.2762, allocations: 0 / 0.9574 GB, free: 1.258 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002812/0.2765, allocations: 137.4 kB / 0.9575 GB, free: 1.117 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.2765, allocations: 4 kB / 0.9575 GB, free: 1.113 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.2765, allocations: 4 kB / 0.9575 GB, free: 1.109 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.2766, allocations: 0 / 0.9575 GB, free: 1.109 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001183/0.2767, allocations: 23.92 kB / 0.9575 GB, free: 1.086 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.2767, allocations: 3.984 kB / 0.9575 GB, free: 1.082 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.563e-05/0.2768, allocations: 11.94 kB / 0.9576 GB, free: 1.07 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.068e-05/0.2768, allocations: 4 kB / 0.9576 GB, free: 1.066 MB / 0.7325 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.0001027/0.2769, allocations: 139.2 kB / 0.9577 GB, free: 0.9258 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.823e-05/0.2769, allocations: 11.81 kB / 0.9577 GB, free: 0.9141 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.551e-05/0.277, allocations: 17.41 kB / 0.9577 GB, free: 0.8945 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-06/0.277, allocations: 7.922 kB / 0.9577 GB, free: 0.8867 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.277, allocations: 0 / 0.9577 GB, free: 0.8867 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.277, allocations: 320 / 0.9577 GB, free: 0.8867 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001582/0.2772, allocations: 205.5 kB / 0.9579 GB, free: 0.6367 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.706e-06/0.2772, allocations: 11.94 kB / 0.9579 GB, free: 0.625 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.96e-05/0.2773, allocations: 11.98 kB / 0.9579 GB, free: 0.6133 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.397e-06/0.2773, allocations: 4 kB / 0.9579 GB, free: 0.6094 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.022e-05/0.2773, allocations: 4.188 kB / 0.958 GB, free: 0.6055 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.2773, allocations: 0 / 0.958 GB, free: 0.6055 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.2773, allocations: 7.938 kB / 0.958 GB, free: 0.5977 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003063/0.2776, allocations: 170.5 kB / 0.9581 GB, free: 416 kB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.085e-05/0.2777, allocations: 89.02 kB / 0.9582 GB, free: 308 kB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.756e-05/0.2777, allocations: 4 kB / 0.9582 GB, free: 304 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.192e-05/0.2778, allocations: 7.984 kB / 0.9582 GB, free: 296 kB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.401e-05/0.2778, allocations: 7.984 kB / 0.9582 GB, free: 288 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.707e-05/0.2779, allocations: 8 kB / 0.9582 GB, free: 280 kB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001055/0.278, allocations: 131.2 kB / 0.9584 GB, free: 148 kB / 0.7325 GB Notification: Performance of sort global known variables: time 2.3e-07/0.278, allocations: 0 / 0.9584 GB, free: 148 kB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000246/0.2782, allocations: 31.98 kB / 0.9584 GB, free: 116 kB / 0.7325 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.001004/0.2792, allocations: 454.4 kB / 0.9588 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0002723/0.2795, allocations: 88 kB / 0.9589 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.2795, allocations: 4.062 kB / 0.9589 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001239/0.2797, allocations: 39.92 kB / 0.959 GB, free: 15.71 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002721/0.2799, allocations: 35.84 kB / 0.959 GB, free: 15.67 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004529/0.2804, allocations: 240.6 kB / 0.9592 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002415/0.2807, allocations: 0.7081 MB / 0.9599 GB, free: 14.68 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 7.026e-05/0.2807, allocations: 20.86 kB / 0.9599 GB, free: 14.65 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.247e-05/0.2808, allocations: 15.44 kB / 0.9599 GB, free: 14.64 MB / 0.7481 GB Notification: Performance of SimCode: time 2.3e-07/0.2808, allocations: 0 / 0.9599 GB, free: 14.64 MB / 0.7481 GB Notification: Performance of Templates: time 0.004718/0.2855, allocations: 2.046 MB / 0.9619 GB, free: 12.62 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Utilities.IO.Files.Examples.CSVReader.makefile (rm -f Buildings_9_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; mkfifo Buildings_9_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe >> ../files/Buildings_9_Buildings.Utilities.IO.Files.Examples.CSVReader.sim & ./Buildings_9_Buildings.Utilities.IO.Files.Examples.CSVReader -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.IO.Files.Examples.CSVReader_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_IO_Files_Examples_CSVReader.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.IO.Files.Examples.CSVReader.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches