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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001757/0.001756, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001881/0.001881, allocations: 191 kB / 16.25 MB, free: 6.637 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.366/1.366, allocations: 222.9 MB / 239.9 MB, free: 4.469 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.906/2.906, allocations: 472.6 MB / 0.7448 GB, free: 4.871 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 65.48 kB / 0.9116 GB, free: 33.56 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.319/0.3203, allocations: 159.9 MB / 1.068 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.003034/0.3233, allocations: 1.749 MB / 1.069 GB, free: 8.992 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001899/0.3253, allocations: 1.471 MB / 1.071 GB, free: 7.512 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.974e-05/0.3253, allocations: 0 / 1.071 GB, free: 7.512 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002759/0.3256, allocations: 39.83 kB / 1.071 GB, free: 7.473 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002119/0.3259, allocations: 59.77 kB / 1.071 GB, free: 7.414 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002473/0.3261, allocations: 95.77 kB / 1.071 GB, free: 7.32 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001719/0.3263, allocations: 127.6 kB / 1.071 GB, free: 7.195 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.67e-05/0.3264, allocations: 13.09 kB / 1.071 GB, free: 7.184 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001169/0.3265, allocations: 55.77 kB / 1.071 GB, free: 7.129 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001524/0.3266, allocations: 51.7 kB / 1.071 GB, free: 7.078 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.927e-05/0.3267, allocations: 11.98 kB / 1.071 GB, free: 7.066 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001102/0.3268, allocations: 59.98 kB / 1.071 GB, free: 7.008 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.153e-05/0.3268, allocations: 27.91 kB / 1.071 GB, free: 6.98 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.512e-05/0.3269, allocations: 43.73 kB / 1.071 GB, free: 6.938 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002068/0.3271, allocations: 151.7 kB / 1.072 GB, free: 6.789 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.219e-06/0.3271, allocations: 4 kB / 1.072 GB, free: 6.785 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.512e-06/0.3271, allocations: 0 / 1.072 GB, free: 6.785 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.49e-06/0.3271, allocations: 0 / 1.072 GB, free: 6.785 MB / 0.8262 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.0005769/0.3277, allocations: 442.8 kB / 1.072 GB, free: 6.305 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.148e-05/0.3278, allocations: 8.031 kB / 1.072 GB, free: 6.297 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.547e-05/0.3278, allocations: 8.844 kB / 1.072 GB, free: 6.289 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002205/0.328, allocations: 224.7 kB / 1.072 GB, free: 6.031 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.572e-05/0.3281, allocations: 4.375 kB / 1.072 GB, free: 6.027 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.719e-05/0.3281, allocations: 12.11 kB / 1.072 GB, free: 6.016 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002204/0.3283, allocations: 97.03 kB / 1.072 GB, free: 5.902 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.3283, allocations: 0 / 1.072 GB, free: 5.902 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.299e-05/0.3284, allocations: 0 / 1.072 GB, free: 5.902 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.137e-06/0.3284, allocations: 4 kB / 1.072 GB, free: 5.898 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001668/0.3285, allocations: 47.95 kB / 1.072 GB, free: 5.852 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002131/0.3288, allocations: 219.3 kB / 1.073 GB, free: 5.582 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002408/0.329, allocations: 111.8 kB / 1.073 GB, free: 5.445 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001156/0.3291, allocations: 54.55 kB / 1.073 GB, free: 5.383 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.343e-05/0.3292, allocations: 0 / 1.073 GB, free: 5.383 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002493/0.3294, allocations: 109.9 kB / 1.073 GB, free: 5.254 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=8): time 1.132e-06/0.3294, allocations: 3.938 kB / 1.073 GB, free: 5.25 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8): time 0.0004549/0.3299, allocations: 161.4 kB / 1.073 GB, free: 5.086 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.131e-05/0.33, allocations: 140.8 kB / 1.073 GB, free: 4.918 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001534/0.3301, allocations: 172.9 kB / 1.073 GB, free: 4.742 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.688e-05/0.3302, allocations: 25.7 kB / 1.073 GB, free: 4.711 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.627e-05/0.3302, allocations: 108.1 kB / 1.073 GB, free: 4.602 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.632e-05/0.3303, allocations: 23.7 kB / 1.073 GB, free: 4.578 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.1e-05/0.3303, allocations: 21.72 kB / 1.073 GB, free: 4.551 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001029/0.3304, allocations: 322.8 kB / 1.074 GB, free: 4.227 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000107/0.3305, allocations: 35.97 kB / 1.074 GB, free: 4.191 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001147/0.3306, allocations: 72.2 kB / 1.074 GB, free: 4.105 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002007/0.3309, allocations: 91.38 kB / 1.074 GB, free: 4.004 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.3309, allocations: 4 kB / 1.074 GB, free: 4 MB / 0.8262 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000275/0.3311, allocations: 125.4 kB / 1.074 GB, free: 3.871 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.3312, allocations: 9.859 kB / 1.074 GB, free: 3.863 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.167e-06/0.3312, allocations: 7.938 kB / 1.074 GB, free: 3.855 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.076e-05/0.3312, allocations: 192 / 1.074 GB, free: 3.855 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001141/0.3313, allocations: 19.98 kB / 1.074 GB, free: 3.836 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.3313, allocations: 12.03 kB / 1.074 GB, free: 3.824 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.162e-05/0.3314, allocations: 15.78 kB / 1.074 GB, free: 3.809 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.115e-05/0.3314, allocations: 8.312 kB / 1.074 GB, free: 3.801 MB / 0.8262 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 9.48e-05/0.3315, allocations: 129.8 kB / 1.074 GB, free: 3.664 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.63e-05/0.3316, allocations: 7.906 kB / 1.074 GB, free: 3.656 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.703e-05/0.3316, allocations: 25.39 kB / 1.074 GB, free: 3.629 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.3316, allocations: 0 / 1.074 GB, free: 3.629 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.3316, allocations: 0 / 1.074 GB, free: 3.629 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.3316, allocations: 8 kB / 1.074 GB, free: 3.621 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001559/0.3318, allocations: 205.5 kB / 1.075 GB, free: 3.371 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.3318, allocations: 0 / 1.075 GB, free: 3.371 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.885e-05/0.3319, allocations: 11.98 kB / 1.075 GB, free: 3.359 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/0.3319, allocations: 4 kB / 1.075 GB, free: 3.355 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/0.3319, allocations: 0 / 1.075 GB, free: 3.355 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.3319, allocations: 4 kB / 1.075 GB, free: 3.352 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.3319, allocations: 7.922 kB / 1.075 GB, free: 3.344 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003099/0.3322, allocations: 170.6 kB / 1.075 GB, free: 3.152 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.104e-05/0.3323, allocations: 92.92 kB / 1.075 GB, free: 3.043 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.52e-05/0.3323, allocations: 0 / 1.075 GB, free: 3.043 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.797e-05/0.3324, allocations: 11.98 kB / 1.075 GB, free: 3.031 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.598e-05/0.3324, allocations: 11.98 kB / 1.075 GB, free: 3.02 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.492e-05/0.3325, allocations: 8 kB / 1.075 GB, free: 3.012 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.835e-05/0.3326, allocations: 135.5 kB / 1.075 GB, free: 2.879 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3326, allocations: 0 / 1.075 GB, free: 2.879 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002336/0.3328, allocations: 28 kB / 1.075 GB, free: 2.852 MB / 0.8262 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.0009608/0.3338, allocations: 455.3 kB / 1.075 GB, free: 2.574 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002792/0.3341, allocations: 87.88 kB / 1.076 GB, free: 2.488 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.3341, allocations: 0 / 1.076 GB, free: 2.488 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001235/0.3342, allocations: 51.84 kB / 1.076 GB, free: 2.438 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002702/0.3345, allocations: 32.8 kB / 1.076 GB, free: 2.41 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000451/0.335, allocations: 261 kB / 1.076 GB, free: 2.121 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002347/0.3352, allocations: 0.7041 MB / 1.077 GB, free: 1.391 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.841e-05/0.3353, allocations: 24.84 kB / 1.077 GB, free: 1.367 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.752e-05/0.3354, allocations: 23.42 kB / 1.077 GB, free: 1.344 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.3354, allocations: 4 kB / 1.077 GB, free: 1.34 MB / 0.8262 GB Notification: Performance of Templates: time 0.00459/0.34, allocations: 1.979 MB / 1.079 GB, free: 15.38 MB / 0.8419 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/jenkins/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