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.005548/0.005548, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001315/0.001315, allocations: 201.7 kB / 16.68 MB, free: 5.969 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.308/1.308, allocations: 222.9 MB / 240.4 MB, free: 4.355 MB / 190.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.352/2.352, allocations: 390.2 MB / 0.6648 GB, free: 140 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 59.06 kB / 0.9508 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3105/0.3117, allocations: 140.4 MB / 1.088 GB, free: 1.496 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.003038/0.3148, allocations: 1.674 MB / 1.09 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002087/0.3169, allocations: 1.51 MB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.93e-05/0.317, allocations: 3.938 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0003171/0.3173, allocations: 35.78 kB / 1.091 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002389/0.3176, allocations: 63.69 kB / 1.091 GB, free: 14.19 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002896/0.3179, allocations: 120.5 kB / 1.091 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001934/0.3181, allocations: 127.6 kB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 6.359e-05/0.3181, allocations: 13.05 kB / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001291/0.3183, allocations: 55.77 kB / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001884/0.3185, allocations: 59.75 kB / 1.091 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.038e-05/0.3185, allocations: 4 kB / 1.091 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001186/0.3186, allocations: 59.98 kB / 1.092 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.909e-05/0.3187, allocations: 27.84 kB / 1.092 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.877e-05/0.3188, allocations: 43.73 kB / 1.092 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002439/0.319, allocations: 151.3 kB / 1.092 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.217e-06/0.319, allocations: 0 / 1.092 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.435e-06/0.319, allocations: 0 / 1.092 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.007e-06/0.319, allocations: 0 / 1.092 GB, free: 13.54 MB / 0.8575 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.0006456/0.3197, allocations: 446.5 kB / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/0.3197, allocations: 12.02 kB / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.735e-05/0.3198, allocations: 20.78 kB / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003127/0.3201, allocations: 221.1 kB / 1.092 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.661e-05/0.3202, allocations: 8.375 kB / 1.092 GB, free: 12.76 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.018e-05/0.3202, allocations: 4.125 kB / 1.092 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002363/0.3204, allocations: 101.1 kB / 1.093 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.3204, allocations: 0 / 1.093 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.501e-05/0.3205, allocations: 4 kB / 1.093 GB, free: 12.63 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.3205, allocations: 0 / 1.093 GB, free: 12.63 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001724/0.3207, allocations: 51.89 kB / 1.093 GB, free: 12.58 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002221/0.3209, allocations: 207.4 kB / 1.093 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002578/0.3212, allocations: 119.8 kB / 1.093 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001159/0.3213, allocations: 54.55 kB / 1.093 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.711e-05/0.3213, allocations: 8 kB / 1.093 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002244/0.3215, allocations: 109.9 kB / 1.093 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=8): time 1.563e-06/0.3216, allocations: 0 / 1.093 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.000477/0.322, allocations: 165.6 kB / 1.093 GB, free: 11.81 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.492e-05/0.3221, allocations: 136.5 kB / 1.093 GB, free: 11.65 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001586/0.3223, allocations: 174.9 kB / 1.094 GB, free: 11.47 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.897e-05/0.3223, allocations: 29.7 kB / 1.094 GB, free: 11.43 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.801e-05/0.3224, allocations: 104.1 kB / 1.094 GB, free: 11.33 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.926e-05/0.3224, allocations: 23.8 kB / 1.094 GB, free: 11.3 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.598e-05/0.3225, allocations: 29.86 kB / 1.094 GB, free: 11.27 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001073/0.3226, allocations: 322.8 kB / 1.094 GB, free: 10.95 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.992e-05/0.3227, allocations: 35.92 kB / 1.094 GB, free: 10.91 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001225/0.3228, allocations: 64.27 kB / 1.094 GB, free: 10.83 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002067/0.323, allocations: 99.36 kB / 1.094 GB, free: 10.72 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.323, allocations: 0 / 1.094 GB, free: 10.72 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002871/0.3233, allocations: 141.4 kB / 1.094 GB, free: 10.58 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.3234, allocations: 4 kB / 1.094 GB, free: 10.57 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.3234, allocations: 4.094 kB / 1.094 GB, free: 10.57 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.3234, allocations: 4 kB / 1.094 GB, free: 10.57 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001232/0.3235, allocations: 19.98 kB / 1.094 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.3235, allocations: 0 / 1.094 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.33e-05/0.3236, allocations: 7.984 kB / 1.094 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.276e-06/0.3236, allocations: 4 kB / 1.094 GB, free: 10.54 MB / 0.8575 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.0001059/0.3237, allocations: 129.8 kB / 1.094 GB, free: 10.4 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.134e-05/0.3238, allocations: 16.09 kB / 1.095 GB, free: 10.38 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.506e-05/0.3238, allocations: 25.33 kB / 1.095 GB, free: 10.36 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.3239, allocations: 7.938 kB / 1.095 GB, free: 10.35 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/0.3239, allocations: 3.984 kB / 1.095 GB, free: 10.35 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.3239, allocations: 0 / 1.095 GB, free: 10.35 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001601/0.324, allocations: 201.9 kB / 1.095 GB, free: 10.1 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.324, allocations: 4 kB / 1.095 GB, free: 10.1 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.875e-05/0.3241, allocations: 12 kB / 1.095 GB, free: 10.09 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.3241, allocations: 3.984 kB / 1.095 GB, free: 10.08 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.306e-05/0.3242, allocations: 8 kB / 1.095 GB, free: 10.07 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.3242, allocations: 0 / 1.095 GB, free: 10.07 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3242, allocations: 4 kB / 1.095 GB, free: 10.07 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003125/0.3245, allocations: 170.6 kB / 1.095 GB, free: 9.879 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.069e-05/0.3245, allocations: 89 kB / 1.095 GB, free: 9.773 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.881e-05/0.3246, allocations: 8 kB / 1.095 GB, free: 9.766 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.174e-05/0.3247, allocations: 11.98 kB / 1.095 GB, free: 9.754 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.931e-05/0.3247, allocations: 7.984 kB / 1.095 GB, free: 9.746 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.063e-05/0.3247, allocations: 4 kB / 1.095 GB, free: 9.742 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001071/0.3248, allocations: 132.2 kB / 1.095 GB, free: 9.613 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3249, allocations: 0 / 1.095 GB, free: 9.613 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002405/0.3251, allocations: 31.98 kB / 1.095 GB, free: 9.582 MB / 0.8575 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.001009/0.3261, allocations: 446.3 kB / 1.096 GB, free: 9.312 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002861/0.3264, allocations: 83.88 kB / 1.096 GB, free: 9.23 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3264, allocations: 4 kB / 1.096 GB, free: 9.227 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001253/0.3266, allocations: 48.11 kB / 1.096 GB, free: 9.18 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002747/0.3268, allocations: 34.42 kB / 1.096 GB, free: 9.148 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004583/0.3273, allocations: 236.7 kB / 1.096 GB, free: 8.887 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002484/0.3276, allocations: 0.712 MB / 1.097 GB, free: 8.148 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 7.034e-05/0.3276, allocations: 12.88 kB / 1.097 GB, free: 8.133 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.527e-05/0.3277, allocations: 19.44 kB / 1.097 GB, free: 8.113 MB / 0.8575 GB Notification: Performance of SimCode: time 2.2e-07/0.3277, allocations: 0 / 1.097 GB, free: 8.113 MB / 0.8575 GB Notification: Performance of Templates: time 0.004544/0.3323, allocations: 2.052 MB / 1.099 GB, free: 6.078 MB / 0.8575 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/jenkins/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