Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001069/0.001069, allocations: 106.2 kB / 16.36 MB, free: 6.289 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.001113/0.001113, allocations: 192.5 kB / 17.29 MB, free: 5.863 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.343/1.343, 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 11.0.0-master/package.mo): time 2.454/2.454, allocations: 442.6 MB / 0.7165 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 68.75 kB / 0.8773 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2662/0.2675, allocations: 153 MB / 1.027 GB, free: 2.027 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.002758/0.2703, allocations: 1.692 MB / 1.028 GB, free: 336 kB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001853/0.2721, allocations: 1.514 MB / 1.03 GB, free: 14.8 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.598e-05/0.2722, allocations: 4 kB / 1.03 GB, free: 14.8 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002412/0.2725, allocations: 35.77 kB / 1.03 GB, free: 14.77 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002148/0.2727, allocations: 67.62 kB / 1.03 GB, free: 14.7 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002598/0.273, allocations: 111.7 kB / 1.03 GB, free: 14.59 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001703/0.2732, allocations: 123.6 kB / 1.03 GB, free: 14.47 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.897e-05/0.2732, allocations: 13.11 kB / 1.03 GB, free: 14.45 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001084/0.2733, allocations: 55.77 kB / 1.03 GB, free: 14.4 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001442/0.2735, allocations: 51.77 kB / 1.03 GB, free: 14.35 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.193e-05/0.2735, allocations: 8 kB / 1.03 GB, free: 14.34 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001153/0.2736, allocations: 63.91 kB / 1.03 GB, free: 14.28 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.03e-05/0.2737, allocations: 27.91 kB / 1.03 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.368e-05/0.2737, allocations: 39.73 kB / 1.03 GB, free: 14.21 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002084/0.274, allocations: 147.5 kB / 1.031 GB, free: 14.07 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.274, allocations: 0 / 1.031 GB, free: 14.07 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.402e-06/0.274, allocations: 0 / 1.031 GB, free: 14.07 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.468e-06/0.274, allocations: 0 / 1.031 GB, free: 14.07 MB / 0.8106 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.0005589/0.2746, allocations: 446.8 kB / 1.031 GB, free: 13.58 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 2.929e-05/0.2746, allocations: 8.031 kB / 1.031 GB, free: 13.57 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.496e-05/0.2746, allocations: 8.844 kB / 1.031 GB, free: 13.57 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002569/0.2749, allocations: 232.9 kB / 1.031 GB, free: 13.3 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.216e-05/0.2749, allocations: 384 / 1.031 GB, free: 13.3 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.733e-05/0.2749, allocations: 8.125 kB / 1.031 GB, free: 13.29 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000209/0.2752, allocations: 101.1 kB / 1.031 GB, free: 13.18 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.2752, allocations: 3.938 kB / 1.031 GB, free: 13.17 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.2752, allocations: 0 / 1.031 GB, free: 13.17 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.2752, allocations: 0 / 1.031 GB, free: 13.17 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001735/0.2754, allocations: 51.94 kB / 1.031 GB, free: 13.12 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00021/0.2756, allocations: 211.4 kB / 1.032 GB, free: 12.86 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002468/0.2759, allocations: 119.8 kB / 1.032 GB, free: 12.71 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001153/0.276, allocations: 50.56 kB / 1.032 GB, free: 12.66 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.462e-05/0.276, allocations: 11.92 kB / 1.032 GB, free: 12.64 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001986/0.2762, allocations: 105.9 kB / 1.032 GB, free: 12.52 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=8): time 1.382e-06/0.2762, allocations: 3.938 kB / 1.032 GB, free: 12.52 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8): time 0.000448/0.2767, allocations: 165.5 kB / 1.032 GB, free: 12.35 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.201e-05/0.2768, allocations: 136.5 kB / 1.032 GB, free: 12.18 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001499/0.2769, allocations: 178.3 kB / 1.032 GB, free: 12 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.291e-05/0.2769, allocations: 29.7 kB / 1.032 GB, free: 11.96 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.71e-05/0.277, allocations: 96.14 kB / 1.032 GB, free: 11.87 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.413e-05/0.277, allocations: 19.8 kB / 1.032 GB, free: 11.85 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.654e-05/0.2771, allocations: 29.86 kB / 1.032 GB, free: 11.81 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.2772, allocations: 326.8 kB / 1.033 GB, free: 11.48 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.821e-05/0.2773, allocations: 31.92 kB / 1.033 GB, free: 11.45 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001177/0.2774, allocations: 60.27 kB / 1.033 GB, free: 11.38 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002206/0.2777, allocations: 99.38 kB / 1.033 GB, free: 11.27 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.2777, allocations: 0 / 1.033 GB, free: 11.27 MB / 0.8106 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003043/0.278, allocations: 141.3 kB / 1.033 GB, free: 11.12 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.278, allocations: 4.094 kB / 1.033 GB, free: 11.12 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.645e-06/0.278, allocations: 8 kB / 1.033 GB, free: 11.11 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.2781, allocations: 0 / 1.033 GB, free: 11.11 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001249/0.2782, allocations: 19.98 kB / 1.033 GB, free: 11.09 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/0.2782, allocations: 0 / 1.033 GB, free: 11.09 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.894e-05/0.2783, allocations: 16.23 kB / 1.033 GB, free: 11.08 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.116e-05/0.2783, allocations: 4 kB / 1.033 GB, free: 11.07 MB / 0.8106 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.0001259/0.2784, allocations: 137.7 kB / 1.033 GB, free: 10.93 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.088e-05/0.2785, allocations: 15.8 kB / 1.033 GB, free: 10.91 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.278e-05/0.2785, allocations: 21.41 kB / 1.033 GB, free: 10.89 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.2785, allocations: 0 / 1.033 GB, free: 10.89 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.219e-06/0.2785, allocations: 0 / 1.033 GB, free: 10.89 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.2786, allocations: 4 kB / 1.033 GB, free: 10.89 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001962/0.2788, allocations: 205.5 kB / 1.034 GB, free: 10.64 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.2788, allocations: 0 / 1.034 GB, free: 10.64 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.334e-05/0.2788, allocations: 15.98 kB / 1.034 GB, free: 10.62 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.2789, allocations: 4 kB / 1.034 GB, free: 10.62 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.235e-05/0.2789, allocations: 0 / 1.034 GB, free: 10.62 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.2789, allocations: 3.984 kB / 1.034 GB, free: 10.62 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.2789, allocations: 8 kB / 1.034 GB, free: 10.61 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003145/0.2792, allocations: 170.5 kB / 1.034 GB, free: 10.42 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.417e-05/0.2793, allocations: 85.02 kB / 1.034 GB, free: 10.32 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.923e-05/0.2793, allocations: 4.188 kB / 1.034 GB, free: 10.31 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.437e-05/0.2794, allocations: 11.98 kB / 1.034 GB, free: 10.3 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.699e-05/0.2795, allocations: 11.94 kB / 1.034 GB, free: 10.29 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.016e-05/0.2795, allocations: 7.984 kB / 1.034 GB, free: 10.28 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.000114/0.2796, allocations: 132.2 kB / 1.034 GB, free: 10.15 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.11e-07/0.2796, allocations: 0 / 1.034 GB, free: 10.15 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002462/0.2799, allocations: 31.98 kB / 1.034 GB, free: 10.12 MB / 0.8106 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.00111/0.281, allocations: 451.2 kB / 1.034 GB, free: 9.844 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002915/0.2813, allocations: 83.83 kB / 1.035 GB, free: 9.762 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.2813, allocations: 0 / 1.035 GB, free: 9.762 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.000132/0.2814, allocations: 48.16 kB / 1.035 GB, free: 9.715 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002997/0.2818, allocations: 33.55 kB / 1.035 GB, free: 9.684 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005365/0.2823, allocations: 237.5 kB / 1.035 GB, free: 9.422 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002961/0.2826, allocations: 0.7042 MB / 1.036 GB, free: 8.691 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 8.561e-05/0.2827, allocations: 21.11 kB / 1.036 GB, free: 8.668 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.173e-05/0.2828, allocations: 23.42 kB / 1.036 GB, free: 8.645 MB / 0.8106 GB Notification: Performance of SimCode: time 4.51e-07/0.2828, allocations: 0 / 1.036 GB, free: 8.645 MB / 0.8106 GB Notification: Performance of Templates: time 0.004869/0.2876, allocations: 2.032 MB / 1.038 GB, free: 6.641 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVReader.makefile (rm -f Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; mkfifo Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe >> ../files/Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVReader.sim & ./Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVReader -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVReader_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_IO_Files_Examples_CSVReader.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVReader.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches