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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001944/0.001944, allocations: 103.1 kB / 16.27 MB, free: 6.414 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.002692/0.002692, allocations: 191.5 kB / 17.2 MB, free: 5.953 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.506/1.506, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.279/2.279, allocations: 390.3 MB / 0.6653 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 64.94 kB / 0.8132 GB, free: 33.06 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2476/0.2489, allocations: 140.4 MB / 0.9503 GB, free: 8.875 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.004223/0.2532, allocations: 1.672 MB / 0.9519 GB, free: 7.188 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002338/0.2555, allocations: 1.507 MB / 0.9534 GB, free: 5.672 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001162/0.2557, allocations: 0 / 0.9534 GB, free: 5.672 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0003152/0.2561, allocations: 39.72 kB / 0.9534 GB, free: 5.633 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0003105/0.2564, allocations: 71.61 kB / 0.9535 GB, free: 5.562 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003869/0.2568, allocations: 111.6 kB / 0.9536 GB, free: 5.453 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002129/0.257, allocations: 123.6 kB / 0.9537 GB, free: 5.332 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 5.615e-05/0.2571, allocations: 17.09 kB / 0.9537 GB, free: 5.312 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001382/0.2572, allocations: 55.73 kB / 0.9538 GB, free: 5.258 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005951/0.2578, allocations: 55.75 kB / 0.9538 GB, free: 5.203 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.741e-05/0.2579, allocations: 4 kB / 0.9538 GB, free: 5.199 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001677/0.258, allocations: 63.97 kB / 0.9539 GB, free: 5.137 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 5.992e-05/0.2581, allocations: 19.92 kB / 0.9539 GB, free: 5.117 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 7.71e-05/0.2582, allocations: 51.66 kB / 0.954 GB, free: 5.066 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002909/0.2585, allocations: 151.8 kB / 0.9541 GB, free: 4.918 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.2585, allocations: 0 / 0.9541 GB, free: 4.918 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.006e-06/0.2585, allocations: 4 kB / 0.9541 GB, free: 4.914 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.312e-06/0.2585, allocations: 0 / 0.9541 GB, free: 4.914 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.000704/0.2592, allocations: 438.8 kB / 0.9545 GB, free: 4.438 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.2593, allocations: 8.031 kB / 0.9545 GB, free: 4.43 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.681e-05/0.2593, allocations: 8.844 kB / 0.9545 GB, free: 4.422 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002685/0.2596, allocations: 212.1 kB / 0.9547 GB, free: 4.176 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.451e-05/0.2596, allocations: 4.375 kB / 0.9548 GB, free: 4.172 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.986e-05/0.2597, allocations: 12.12 kB / 0.9548 GB, free: 4.16 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002589/0.2599, allocations: 109 kB / 0.9549 GB, free: 4.035 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.2599, allocations: 3.938 kB / 0.9549 GB, free: 4.031 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.342e-05/0.26, allocations: 0 / 0.9549 GB, free: 4.031 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.26, allocations: 0 / 0.9549 GB, free: 4.031 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001841/0.2602, allocations: 51.89 kB / 0.9549 GB, free: 3.98 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00026/0.2604, allocations: 223.3 kB / 0.9551 GB, free: 3.707 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002955/0.2607, allocations: 111.8 kB / 0.9552 GB, free: 3.57 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001258/0.2609, allocations: 54.55 kB / 0.9553 GB, free: 3.508 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.681e-05/0.2609, allocations: 4 kB / 0.9553 GB, free: 3.504 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002805/0.2612, allocations: 113.8 kB / 0.9554 GB, free: 3.371 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=8): time 1.262e-06/0.2612, allocations: 0 / 0.9554 GB, free: 3.371 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8): time 0.0004988/0.2617, allocations: 157.5 kB / 0.9556 GB, free: 3.211 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.06e-05/0.2618, allocations: 136.5 kB / 0.9557 GB, free: 3.047 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001819/0.262, allocations: 175.9 kB / 0.9559 GB, free: 2.867 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.178e-05/0.262, allocations: 29.7 kB / 0.9559 GB, free: 2.832 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.416e-05/0.2621, allocations: 104.1 kB / 0.956 GB, free: 2.727 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.802e-05/0.2622, allocations: 19.72 kB / 0.956 GB, free: 2.707 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.263e-05/0.2622, allocations: 33.95 kB / 0.956 GB, free: 2.668 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000123/0.2623, allocations: 322.8 kB / 0.9563 GB, free: 2.344 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001117/0.2625, allocations: 31.97 kB / 0.9564 GB, free: 2.312 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001186/0.2626, allocations: 56.28 kB / 0.9564 GB, free: 2.242 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002271/0.2628, allocations: 99.36 kB / 0.9565 GB, free: 2.133 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.2628, allocations: 0 / 0.9565 GB, free: 2.133 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003144/0.2631, allocations: 137.3 kB / 0.9566 GB, free: 1.992 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.2632, allocations: 8.094 kB / 0.9567 GB, free: 1.984 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.2632, allocations: 4 kB / 0.9567 GB, free: 1.98 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.2632, allocations: 0 / 0.9567 GB, free: 1.98 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001331/0.2633, allocations: 27.91 kB / 0.9567 GB, free: 1.953 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.2634, allocations: 0 / 0.9567 GB, free: 1.953 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.462e-05/0.2635, allocations: 11.94 kB / 0.9567 GB, free: 1.941 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.145e-05/0.2635, allocations: 4.312 kB / 0.9567 GB, free: 1.938 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.0001143/0.2636, allocations: 133.3 kB / 0.9568 GB, free: 1.801 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.503e-05/0.2636, allocations: 19.81 kB / 0.9568 GB, free: 1.781 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.86e-05/0.2637, allocations: 21.39 kB / 0.9569 GB, free: 1.762 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.2637, allocations: 0 / 0.9569 GB, free: 1.762 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.2637, allocations: 0 / 0.9569 GB, free: 1.762 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.672e-06/0.2637, allocations: 4 kB / 0.9569 GB, free: 1.758 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001873/0.2639, allocations: 209.5 kB / 0.9571 GB, free: 1.504 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.2639, allocations: 0 / 0.9571 GB, free: 1.504 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.721e-05/0.264, allocations: 15.92 kB / 0.9571 GB, free: 1.488 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.1e-06/0.264, allocations: 4 kB / 0.9571 GB, free: 1.484 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.114e-05/0.264, allocations: 4 kB / 0.9571 GB, free: 1.48 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.235e-06/0.264, allocations: 0 / 0.9571 GB, free: 1.48 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.2641, allocations: 8 kB / 0.9571 GB, free: 1.473 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003377/0.2644, allocations: 166.5 kB / 0.9573 GB, free: 1.285 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.925e-05/0.2645, allocations: 85.2 kB / 0.9573 GB, free: 1.184 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.128e-05/0.2645, allocations: 4 kB / 0.9573 GB, free: 1.18 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.654e-05/0.2646, allocations: 15.92 kB / 0.9574 GB, free: 1.164 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.155e-05/0.2646, allocations: 11.92 kB / 0.9574 GB, free: 1.152 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.873e-05/0.2647, allocations: 11.98 kB / 0.9574 GB, free: 1.141 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001266/0.2648, allocations: 135.2 kB / 0.9575 GB, free: 1.008 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2648, allocations: 0 / 0.9575 GB, free: 1.008 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002602/0.2651, allocations: 28 kB / 0.9575 GB, free: 0.9805 MB / 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.001046/0.2661, allocations: 449.3 kB / 0.958 GB, free: 0.7109 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.00031/0.2665, allocations: 91.88 kB / 0.9581 GB, free: 0.6211 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.2665, allocations: 0 / 0.9581 GB, free: 0.6211 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001411/0.2666, allocations: 44.11 kB / 0.9581 GB, free: 0.5781 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002883/0.2669, allocations: 37.16 kB / 0.9581 GB, free: 0.543 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005551/0.2675, allocations: 278.4 kB / 0.9584 GB, free: 240 kB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002936/0.2678, allocations: 0.7002 MB / 0.9591 GB, free: 15.51 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.242e-05/0.2679, allocations: 23.42 kB / 0.9591 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of SimCode: time 3.3e-07/0.2679, allocations: 0 / 0.9591 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of Templates: time 0.004452/0.2723, allocations: 2.187 MB / 0.9612 GB, free: 13.3 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 -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