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.001481/0.001481, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002051/0.002051, allocations: 200 kB / 16.26 MB, free: 6.625 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.376/1.376, allocations: 222.9 MB / 239.9 MB, free: 4.527 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.557/2.557, allocations: 437 MB / 0.71 GB, free: 5.25 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00142/0.00142, allocations: 63.89 kB / 0.8687 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6208/0.6223, allocations: 151.6 MB / 1.017 GB, free: 2.863 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.003069/0.6254, allocations: 1.741 MB / 1.018 GB, free: 1.113 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002028/0.6274, allocations: 1.479 MB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.837e-05/0.6276, allocations: 3.938 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.000334/0.6279, allocations: 27.89 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002639/0.6282, allocations: 59.77 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003237/0.6285, allocations: 103.8 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001904/0.6287, allocations: 123.6 kB / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 5.931e-05/0.6288, allocations: 13.09 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001623/0.6289, allocations: 63.7 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001772/0.6291, allocations: 51.77 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.247e-05/0.6292, allocations: 8 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001456/0.6293, allocations: 63.97 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.795e-05/0.6294, allocations: 23.92 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 7.182e-05/0.6295, allocations: 51.66 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002438/0.6297, allocations: 137.7 kB / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.6297, allocations: 4 kB / 1.021 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.623e-06/0.6297, allocations: 0 / 1.021 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.46e-06/0.6298, allocations: 0 / 1.021 GB, free: 14.9 MB / 0.7794 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.0006831/0.6304, allocations: 438.9 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.6305, allocations: 8.031 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.878e-05/0.6306, allocations: 20.75 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002564/0.6308, allocations: 224 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.318e-05/0.6308, allocations: 384 / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.689e-05/0.6309, allocations: 8.125 kB / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002497/0.6311, allocations: 97.03 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.6311, allocations: 0 / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.505e-05/0.6312, allocations: 7.984 kB / 1.021 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/0.6312, allocations: 0 / 1.021 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001698/0.6313, allocations: 47.91 kB / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002796/0.6316, allocations: 215.4 kB / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002915/0.6319, allocations: 119.8 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001161/0.6321, allocations: 50.56 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.263e-05/0.6321, allocations: 0 / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002974/0.6324, allocations: 117.9 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=8): time 1.243e-06/0.6324, allocations: 0 / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.0004657/0.6329, allocations: 157.5 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001057/0.633, allocations: 140.8 kB / 1.022 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001655/0.6332, allocations: 171.3 kB / 1.022 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.042e-05/0.6332, allocations: 29.7 kB / 1.022 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.482e-05/0.6333, allocations: 100.1 kB / 1.022 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.083e-05/0.6333, allocations: 27.64 kB / 1.023 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.507e-05/0.6333, allocations: 29.66 kB / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001003/0.6335, allocations: 322.8 kB / 1.023 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001063/0.6336, allocations: 35.97 kB / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001239/0.6337, allocations: 64.27 kB / 1.023 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000215/0.6339, allocations: 95.38 kB / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.6339, allocations: 4 kB / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003326/0.6343, allocations: 137.6 kB / 1.023 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.6343, allocations: 4 kB / 1.023 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.6343, allocations: 4 kB / 1.023 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.6343, allocations: 0 / 1.023 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001355/0.6345, allocations: 28.02 kB / 1.023 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.11e-05/0.6345, allocations: 7.984 kB / 1.023 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.97e-05/0.6346, allocations: 4 kB / 1.023 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.247e-05/0.6346, allocations: 11.92 kB / 1.023 GB, free: 11.91 MB / 0.7794 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.000125/0.6347, allocations: 127.7 kB / 1.023 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.92e-05/0.6348, allocations: 11.81 kB / 1.023 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.743e-05/0.6348, allocations: 21.39 kB / 1.023 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.6348, allocations: 0 / 1.023 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.6348, allocations: 0 / 1.023 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.708e-06/0.6348, allocations: 8 kB / 1.023 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001836/0.635, allocations: 205.5 kB / 1.024 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.635, allocations: 0 / 1.024 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.642e-05/0.6351, allocations: 19.92 kB / 1.024 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.871e-06/0.6351, allocations: 7.984 kB / 1.024 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.312e-05/0.6352, allocations: 0 / 1.024 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.6352, allocations: 4 kB / 1.024 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.6352, allocations: 0 / 1.024 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003256/0.6355, allocations: 170.5 kB / 1.024 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.643e-05/0.6356, allocations: 85.02 kB / 1.024 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.243e-05/0.6356, allocations: 7.984 kB / 1.024 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.505e-05/0.6357, allocations: 8 kB / 1.024 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.513e-05/0.6357, allocations: 11.92 kB / 1.024 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.919e-05/0.6358, allocations: 12.19 kB / 1.024 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001094/0.6359, allocations: 136.7 kB / 1.024 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6359, allocations: 3.938 kB / 1.024 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000245/0.6361, allocations: 28 kB / 1.024 GB, free: 10.96 MB / 0.7794 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.001008/0.6371, allocations: 453.4 kB / 1.024 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002991/0.6375, allocations: 83.89 kB / 1.025 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.6375, allocations: 0 / 1.025 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001309/0.6376, allocations: 47.91 kB / 1.025 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002867/0.6379, allocations: 31.27 kB / 1.025 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004908/0.6384, allocations: 276.8 kB / 1.025 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003206/0.6387, allocations: 0.704 MB / 1.026 GB, free: 9.496 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 8.394e-05/0.6388, allocations: 24.84 kB / 1.026 GB, free: 9.473 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.271e-05/0.6389, allocations: 23.42 kB / 1.026 GB, free: 9.453 MB / 0.7794 GB Notification: Performance of SimCode: time 2.8e-07/0.6389, allocations: 0 / 1.026 GB, free: 9.453 MB / 0.7794 GB Notification: Performance of Templates: time 0.004855/0.6438, allocations: 1.982 MB / 1.028 GB, free: 7.496 MB / 0.7794 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