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.0009939/0.0009939, allocations: 99.03 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001041/0.001041, allocations: 182.5 kB / 16.92 MB, free: 6.918 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.327/1.327, allocations: 223.3 MB / 241 MB, free: 5.234 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.618/2.618, allocations: 443.2 MB / 0.7181 GB, free: 1.555 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003679/0.000368, allocations: 8.75 kB / 0.8801 GB, free: 42.21 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3056/0.3059, allocations: 155.2 MB / 1.032 GB, free: 4.789 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.002915/0.3089, allocations: 1.398 MB / 1.033 GB, free: 3.383 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002674/0.3116, allocations: 1.464 MB / 1.034 GB, free: 1.91 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001326/0.3118, allocations: 7.938 kB / 1.034 GB, free: 1.902 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0004094/0.3122, allocations: 27.91 kB / 1.034 GB, free: 1.875 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003398/0.3126, allocations: 55.77 kB / 1.035 GB, free: 1.82 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004899/0.3131, allocations: 107.7 kB / 1.035 GB, free: 1.715 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002742/0.3134, allocations: 115.6 kB / 1.035 GB, free: 1.602 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 7.487e-05/0.3135, allocations: 9.125 kB / 1.035 GB, free: 1.59 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001417/0.3136, allocations: 55.7 kB / 1.035 GB, free: 1.535 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002301/0.3139, allocations: 47.78 kB / 1.035 GB, free: 1.488 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.151e-05/0.3139, allocations: 3.984 kB / 1.035 GB, free: 1.484 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001547/0.3141, allocations: 59.97 kB / 1.035 GB, free: 1.426 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.018e-05/0.3141, allocations: 19.92 kB / 1.035 GB, free: 1.406 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 7.78e-05/0.3142, allocations: 69.42 kB / 1.035 GB, free: 1.332 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001974/0.3144, allocations: 111.9 kB / 1.035 GB, free: 1.223 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.3144, allocations: 4 kB / 1.035 GB, free: 1.219 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.884e-06/0.3144, allocations: 0 / 1.035 GB, free: 1.219 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.3144, allocations: 0 / 1.035 GB, free: 1.219 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.0006513/0.3151, allocations: 415.2 kB / 1.035 GB, free: 0.7656 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.3151, allocations: 8.031 kB / 1.035 GB, free: 0.7578 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.1e-05/0.3152, allocations: 16.75 kB / 1.035 GB, free: 0.7422 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002452/0.3155, allocations: 220 kB / 1.036 GB, free: 500 kB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.874e-05/0.3155, allocations: 8.375 kB / 1.036 GB, free: 492 kB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.627e-05/0.3155, allocations: 4.125 kB / 1.036 GB, free: 488 kB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002436/0.3158, allocations: 105 kB / 1.036 GB, free: 364 kB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/0.3158, allocations: 0 / 1.036 GB, free: 364 kB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.489e-05/0.3158, allocations: 3.984 kB / 1.036 GB, free: 360 kB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.3158, allocations: 4 kB / 1.036 GB, free: 356 kB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001894/0.316, allocations: 59.91 kB / 1.036 GB, free: 296 kB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002528/0.3163, allocations: 211.3 kB / 1.036 GB, free: 28 kB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002851/0.3166, allocations: 123.8 kB / 1.036 GB, free: 15.88 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001282/0.3167, allocations: 58.56 kB / 1.036 GB, free: 15.81 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.675e-05/0.3167, allocations: 0 / 1.036 GB, free: 15.81 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002793/0.317, allocations: 117.9 kB / 1.036 GB, free: 15.68 MB / 0.795 GB Notification: Performance of pre-optimization done (n=8): time 1.273e-06/0.317, allocations: 0 / 1.036 GB, free: 15.68 MB / 0.795 GB Notification: Performance of matching and sorting (n=8): time 0.0005193/0.3176, allocations: 181.5 kB / 1.037 GB, free: 15.49 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.087e-05/0.3176, allocations: 136.5 kB / 1.037 GB, free: 15.33 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001731/0.3178, allocations: 171.4 kB / 1.037 GB, free: 15.15 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.999e-05/0.3178, allocations: 29.7 kB / 1.037 GB, free: 15.12 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 5.751e-05/0.3179, allocations: 100.3 kB / 1.037 GB, free: 15.02 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 4.105e-05/0.318, allocations: 27.7 kB / 1.037 GB, free: 14.99 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.095e-05/0.318, allocations: 17.72 kB / 1.037 GB, free: 14.96 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001061/0.3181, allocations: 322.8 kB / 1.037 GB, free: 14.64 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001165/0.3182, allocations: 39.91 kB / 1.037 GB, free: 14.6 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001317/0.3184, allocations: 68.28 kB / 1.037 GB, free: 14.52 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002388/0.3186, allocations: 107.4 kB / 1.038 GB, free: 14.4 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.3186, allocations: 0 / 1.038 GB, free: 14.4 MB / 0.795 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003133/0.3189, allocations: 137.3 kB / 1.038 GB, free: 14.26 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.319, allocations: 8 kB / 1.038 GB, free: 14.25 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.279e-06/0.319, allocations: 4.094 kB / 1.038 GB, free: 14.25 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/0.319, allocations: 3.984 kB / 1.038 GB, free: 14.25 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001314/0.3191, allocations: 27.92 kB / 1.038 GB, free: 14.22 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.3192, allocations: 0 / 1.038 GB, free: 14.22 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.022e-05/0.3192, allocations: 11.94 kB / 1.038 GB, free: 14.21 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.208e-05/0.3193, allocations: 8 kB / 1.038 GB, free: 14.2 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.0001122/0.3194, allocations: 128.8 kB / 1.038 GB, free: 14.07 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.757e-05/0.3194, allocations: 23.75 kB / 1.038 GB, free: 14.04 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.946e-05/0.3195, allocations: 25.38 kB / 1.038 GB, free: 14.02 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.3195, allocations: 0 / 1.038 GB, free: 14.02 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.3195, allocations: 4 kB / 1.038 GB, free: 14.02 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.3195, allocations: 0 / 1.038 GB, free: 14.02 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001701/0.3197, allocations: 205.5 kB / 1.038 GB, free: 13.77 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.3197, allocations: 0 / 1.038 GB, free: 13.77 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.774e-05/0.3198, allocations: 15.98 kB / 1.038 GB, free: 13.75 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.45e-06/0.3198, allocations: 4 kB / 1.038 GB, free: 13.75 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.065e-05/0.3198, allocations: 3.938 kB / 1.038 GB, free: 13.74 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.3198, allocations: 4 kB / 1.038 GB, free: 13.74 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.3198, allocations: 4 kB / 1.038 GB, free: 13.73 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003339/0.3201, allocations: 170.9 kB / 1.038 GB, free: 13.54 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 6.327e-05/0.3202, allocations: 97 kB / 1.038 GB, free: 13.43 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.893e-05/0.3203, allocations: 4 kB / 1.038 GB, free: 13.43 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.081e-05/0.3203, allocations: 8.188 kB / 1.038 GB, free: 13.42 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.766e-05/0.3204, allocations: 11.98 kB / 1.038 GB, free: 13.41 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.235e-05/0.3204, allocations: 7.938 kB / 1.038 GB, free: 13.4 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0001163/0.3205, allocations: 135.2 kB / 1.039 GB, free: 13.27 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.9e-07/0.3206, allocations: 4 kB / 1.039 GB, free: 13.26 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002617/0.3208, allocations: 35.98 kB / 1.039 GB, free: 13.23 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.001044/0.3219, allocations: 449.6 kB / 1.039 GB, free: 12.95 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0003082/0.3222, allocations: 91.89 kB / 1.039 GB, free: 12.86 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3222, allocations: 0 / 1.039 GB, free: 12.86 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001384/0.3224, allocations: 48.16 kB / 1.039 GB, free: 12.82 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003015/0.3227, allocations: 43.95 kB / 1.039 GB, free: 12.77 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000506/0.3232, allocations: 292.6 kB / 1.039 GB, free: 12.45 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002429/0.3234, allocations: 0.7043 MB / 1.04 GB, free: 11.71 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.963e-05/0.3235, allocations: 27.42 kB / 1.04 GB, free: 11.69 MB / 0.795 GB Notification: Performance of SimCode: time 3.81e-07/0.3235, allocations: 0 / 1.04 GB, free: 11.69 MB / 0.795 GB Notification: Performance of Templates: time 0.004014/0.3275, allocations: 2.168 MB / 1.042 GB, free: 9.531 MB / 0.795 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 -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