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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001115/0.001115, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.009461/0.009461, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.358/1.358, allocations: 223.3 MB / 240.3 MB, free: 5.258 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.714/2.714, allocations: 462.7 MB / 0.7364 GB, free: 312 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003747/0.0003747, allocations: 21.16 kB / 0.9028 GB, free: 36.63 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3325/0.3329, allocations: 159.6 MB / 1.059 GB, free: 5.512 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.002431/0.3354, allocations: 1.412 MB / 1.06 GB, free: 4.09 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002314/0.3377, allocations: 1.452 MB / 1.061 GB, free: 2.629 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001055/0.3379, allocations: 0 / 1.061 GB, free: 2.629 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0003012/0.3382, allocations: 43.83 kB / 1.062 GB, free: 2.586 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002342/0.3384, allocations: 51.77 kB / 1.062 GB, free: 2.535 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004286/0.3389, allocations: 103.7 kB / 1.062 GB, free: 2.434 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002011/0.3391, allocations: 119.6 kB / 1.062 GB, free: 2.316 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 5.519e-05/0.3392, allocations: 5.125 kB / 1.062 GB, free: 2.312 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000141/0.3393, allocations: 47.77 kB / 1.062 GB, free: 2.266 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002036/0.3395, allocations: 59.7 kB / 1.062 GB, free: 2.207 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.195e-05/0.3396, allocations: 7.938 kB / 1.062 GB, free: 2.199 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001413/0.3397, allocations: 55.97 kB / 1.062 GB, free: 2.145 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.672e-05/0.3398, allocations: 23.91 kB / 1.062 GB, free: 2.121 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.369e-05/0.3398, allocations: 65.44 kB / 1.062 GB, free: 2.051 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002558/0.3401, allocations: 143.8 kB / 1.062 GB, free: 1.91 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.553e-06/0.3401, allocations: 3.984 kB / 1.062 GB, free: 1.906 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.453e-06/0.3401, allocations: 0 / 1.062 GB, free: 1.906 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.212e-06/0.3401, allocations: 0 / 1.062 GB, free: 1.906 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.0006426/0.3408, allocations: 424.3 kB / 1.063 GB, free: 1.445 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/0.3408, allocations: 11.97 kB / 1.063 GB, free: 1.434 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.715e-05/0.3409, allocations: 12.75 kB / 1.063 GB, free: 1.422 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002426/0.3411, allocations: 220.6 kB / 1.063 GB, free: 1.168 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.491e-05/0.3412, allocations: 384 / 1.063 GB, free: 1.168 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.039e-05/0.3412, allocations: 12.12 kB / 1.063 GB, free: 1.156 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002576/0.3415, allocations: 97.03 kB / 1.063 GB, free: 1.043 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.3415, allocations: 4 kB / 1.063 GB, free: 1.039 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.22e-05/0.3415, allocations: 4 kB / 1.063 GB, free: 1.035 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.14e-05/0.3415, allocations: 3.984 kB / 1.063 GB, free: 1.031 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003227/0.3419, allocations: 55.97 kB / 1.063 GB, free: 0.9766 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003317/0.3422, allocations: 215.2 kB / 1.063 GB, free: 0.7109 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002844/0.3425, allocations: 119.8 kB / 1.063 GB, free: 0.5664 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001292/0.3427, allocations: 58.55 kB / 1.063 GB, free: 0.5 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.735e-05/0.3427, allocations: 4 kB / 1.063 GB, free: 0.4961 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002723/0.343, allocations: 125.8 kB / 1.063 GB, free: 360 kB / 0.8106 GB Notification: Performance of pre-optimization done (n=8): time 2.214e-06/0.343, allocations: 0 / 1.063 GB, free: 360 kB / 0.8106 GB Notification: Performance of matching and sorting (n=8): time 0.0005563/0.3436, allocations: 169.6 kB / 1.064 GB, free: 184 kB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.065e-05/0.3436, allocations: 136.5 kB / 1.064 GB, free: 16 kB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00018/0.3438, allocations: 174.4 kB / 1.064 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.821e-05/0.3439, allocations: 25.7 kB / 1.064 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.408e-05/0.3439, allocations: 108.3 kB / 1.064 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.675e-05/0.344, allocations: 23.7 kB / 1.064 GB, free: 15.67 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.707e-05/0.344, allocations: 17.72 kB / 1.064 GB, free: 15.65 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001064/0.3441, allocations: 322.8 kB / 1.064 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001201/0.3442, allocations: 35.97 kB / 1.064 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001233/0.3444, allocations: 68.22 kB / 1.065 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002342/0.3446, allocations: 107.4 kB / 1.065 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.3446, allocations: 192 / 1.065 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003265/0.345, allocations: 145.3 kB / 1.065 GB, free: 14.94 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.345, allocations: 7.938 kB / 1.065 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.345, allocations: 4.094 kB / 1.065 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.345, allocations: 4 kB / 1.065 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001264/0.3451, allocations: 19.98 kB / 1.065 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.424e-05/0.3452, allocations: 11.92 kB / 1.065 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001416/0.3453, allocations: 15.88 kB / 1.065 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.648e-05/0.3453, allocations: 4 kB / 1.065 GB, free: 14.88 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 0.0001441/0.3455, allocations: 129.8 kB / 1.065 GB, free: 14.74 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.759e-05/0.3456, allocations: 19.8 kB / 1.065 GB, free: 14.72 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.827e-05/0.3456, allocations: 17.39 kB / 1.065 GB, free: 14.7 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.3457, allocations: 4 kB / 1.065 GB, free: 14.7 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.3457, allocations: 0 / 1.065 GB, free: 14.7 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.3457, allocations: 0 / 1.065 GB, free: 14.7 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001685/0.3458, allocations: 201.5 kB / 1.065 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.3459, allocations: 0 / 1.065 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.306e-05/0.3459, allocations: 19.98 kB / 1.065 GB, free: 14.43 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.377e-06/0.346, allocations: 320 / 1.065 GB, free: 14.43 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.378e-05/0.346, allocations: 8 kB / 1.065 GB, free: 14.43 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.059e-06/0.346, allocations: 8 kB / 1.065 GB, free: 14.42 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.346, allocations: 3.938 kB / 1.065 GB, free: 14.41 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003305/0.3463, allocations: 178.5 kB / 1.065 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.356e-05/0.3464, allocations: 93 kB / 1.065 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.668e-05/0.3464, allocations: 4 kB / 1.065 GB, free: 14.1 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.551e-05/0.3465, allocations: 4 kB / 1.065 GB, free: 14.1 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.869e-05/0.3466, allocations: 11.98 kB / 1.065 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.639e-05/0.3466, allocations: 4 kB / 1.065 GB, free: 14.08 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001116/0.3467, allocations: 136.2 kB / 1.066 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.01e-07/0.3467, allocations: 4 kB / 1.066 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002511/0.347, allocations: 28 kB / 1.066 GB, free: 13.92 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.001045/0.348, allocations: 460 kB / 1.066 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003132/0.3483, allocations: 91.89 kB / 1.066 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 6.833e-06/0.3484, allocations: 4 kB / 1.066 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001366/0.3485, allocations: 48.22 kB / 1.066 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003003/0.3488, allocations: 27.86 kB / 1.066 GB, free: 13.47 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005601/0.3494, allocations: 275.1 kB / 1.067 GB, free: 13.16 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002366/0.3496, allocations: 0.7004 MB / 1.067 GB, free: 12.44 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 9.173e-05/0.3497, allocations: 20.86 kB / 1.067 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.315e-05/0.3498, allocations: 27.42 kB / 1.067 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of SimCode: time 4.71e-07/0.3498, allocations: 0 / 1.067 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of Templates: time 0.004777/0.3546, allocations: 1.904 MB / 1.069 GB, free: 10.51 MB / 0.8262 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