Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="Buildings_11_Buildings_Utilities_IO_Files_Examples_CSVReader",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="Buildings_11_Buildings_Utilities_IO_Files_Examples_CSVReader",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001168/0.001168, allocations: 108 kB / 15.61 MB, free: 152 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.001167/0.001167, allocations: 195.8 kB / 16.53 MB, free: 6.664 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.298/1.298, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.545/2.545, allocations: 469.8 MB / 0.7424 GB, free: 7.363 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001811/0.001811, allocations: 70.28 kB / 0.9087 GB, free: 34.37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2489/0.2507, allocations: 159.1 MB / 1.064 GB, free: 14.19 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.002918/0.2537, allocations: 1.681 MB / 1.066 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001936/0.2556, allocations: 1.503 MB / 1.067 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.412e-05/0.2557, allocations: 4 kB / 1.067 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002306/0.2559, allocations: 43.7 kB / 1.067 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002012/0.2561, allocations: 67.67 kB / 1.067 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002594/0.2564, allocations: 113.9 kB / 1.067 GB, free: 10.76 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001669/0.2566, allocations: 123.6 kB / 1.068 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.111e-05/0.2566, allocations: 9.125 kB / 1.068 GB, free: 10.63 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001016/0.2567, allocations: 51.72 kB / 1.068 GB, free: 10.58 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001811/0.2569, allocations: 63.75 kB / 1.068 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.051e-05/0.2569, allocations: 4 kB / 1.068 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001208/0.2571, allocations: 63.97 kB / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.479e-05/0.2571, allocations: 19.86 kB / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.389e-05/0.2572, allocations: 43.73 kB / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000218/0.2574, allocations: 159.8 kB / 1.068 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.2574, allocations: 0 / 1.068 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.322e-06/0.2574, allocations: 0 / 1.068 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.657e-06/0.2574, allocations: 0 / 1.068 GB, free: 10.23 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.0006007/0.258, allocations: 438.9 kB / 1.068 GB, free: 9.758 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.205e-05/0.2581, allocations: 8.031 kB / 1.068 GB, free: 9.75 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.513e-05/0.2581, allocations: 34.75 kB / 1.068 GB, free: 9.707 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.836e-05/0.2582, allocations: 8.844 kB / 1.068 GB, free: 9.699 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002447/0.2584, allocations: 232.6 kB / 1.069 GB, free: 9.434 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.197e-05/0.2584, allocations: 4.375 kB / 1.069 GB, free: 9.43 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.562e-05/0.2585, allocations: 7.938 kB / 1.069 GB, free: 9.422 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002138/0.2587, allocations: 93.09 kB / 1.069 GB, free: 9.312 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.2587, allocations: 4 kB / 1.069 GB, free: 9.309 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.2587, allocations: 3.984 kB / 1.069 GB, free: 9.305 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.2587, allocations: 0 / 1.069 GB, free: 9.305 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001667/0.2589, allocations: 51.91 kB / 1.069 GB, free: 9.254 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002285/0.2591, allocations: 215.4 kB / 1.069 GB, free: 8.988 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002517/0.2594, allocations: 123.7 kB / 1.069 GB, free: 8.84 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000129/0.2595, allocations: 50.62 kB / 1.069 GB, free: 8.781 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.114e-05/0.2595, allocations: 0 / 1.069 GB, free: 8.781 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002302/0.2598, allocations: 109.9 kB / 1.069 GB, free: 8.652 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=8): time 1.122e-06/0.2598, allocations: 0 / 1.069 GB, free: 8.652 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8): time 0.0004556/0.2603, allocations: 169.3 kB / 1.069 GB, free: 8.48 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.026e-05/0.2603, allocations: 136.5 kB / 1.07 GB, free: 8.316 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001664/0.2605, allocations: 171.4 kB / 1.07 GB, free: 8.141 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.156e-05/0.2605, allocations: 33.7 kB / 1.07 GB, free: 8.102 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.71e-05/0.2606, allocations: 100.1 kB / 1.07 GB, free: 8 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.853e-05/0.2607, allocations: 27.94 kB / 1.07 GB, free: 7.973 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.416e-05/0.2607, allocations: 29.72 kB / 1.07 GB, free: 7.938 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001283/0.2608, allocations: 322.8 kB / 1.07 GB, free: 7.613 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000101/0.2609, allocations: 31.97 kB / 1.07 GB, free: 7.582 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001161/0.2611, allocations: 60.27 kB / 1.07 GB, free: 7.508 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002129/0.2613, allocations: 95.38 kB / 1.07 GB, free: 7.402 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.2613, allocations: 3.938 kB / 1.07 GB, free: 7.398 MB / 0.8262 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002825/0.2616, allocations: 141.5 kB / 1.071 GB, free: 7.254 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/0.2616, allocations: 8 kB / 1.071 GB, free: 7.246 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.2616, allocations: 0 / 1.071 GB, free: 7.246 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.888e-06/0.2616, allocations: 4 kB / 1.071 GB, free: 7.242 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001105/0.2617, allocations: 19.98 kB / 1.071 GB, free: 7.223 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.2618, allocations: 3.984 kB / 1.071 GB, free: 7.219 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.731e-05/0.2618, allocations: 19.83 kB / 1.071 GB, free: 7.199 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.197e-05/0.2619, allocations: 4 kB / 1.071 GB, free: 7.195 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.0001016/0.262, allocations: 127.2 kB / 1.071 GB, free: 7.062 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.572e-05/0.262, allocations: 15.84 kB / 1.071 GB, free: 7.047 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.154e-05/0.262, allocations: 17.7 kB / 1.071 GB, free: 7.031 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.2621, allocations: 4 kB / 1.071 GB, free: 7.027 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.2621, allocations: 0 / 1.071 GB, free: 7.027 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.2621, allocations: 4 kB / 1.071 GB, free: 7.023 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001669/0.2622, allocations: 201.5 kB / 1.071 GB, free: 6.777 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.2623, allocations: 4 kB / 1.071 GB, free: 6.773 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.665e-05/0.2623, allocations: 11.98 kB / 1.071 GB, free: 6.762 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.2623, allocations: 0 / 1.071 GB, free: 6.762 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.43e-05/0.2624, allocations: 8 kB / 1.071 GB, free: 6.754 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.2624, allocations: 4 kB / 1.071 GB, free: 6.75 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.2624, allocations: 0 / 1.071 GB, free: 6.75 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003064/0.2627, allocations: 174.5 kB / 1.071 GB, free: 6.555 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.958e-05/0.2627, allocations: 85 kB / 1.071 GB, free: 6.453 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.851e-05/0.2628, allocations: 12 kB / 1.071 GB, free: 6.441 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.875e-05/0.2628, allocations: 4.188 kB / 1.071 GB, free: 6.438 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.604e-05/0.2629, allocations: 7.984 kB / 1.071 GB, free: 6.43 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.493e-05/0.2629, allocations: 7.938 kB / 1.071 GB, free: 6.422 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001267/0.2631, allocations: 131.2 kB / 1.071 GB, free: 6.293 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2631, allocations: 4 kB / 1.071 GB, free: 6.289 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002293/0.2633, allocations: 28 kB / 1.071 GB, free: 6.262 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.002074/0.2654, allocations: 1.059 MB / 1.072 GB, free: 5.348 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002789/0.2657, allocations: 83.89 kB / 1.072 GB, free: 5.266 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.2657, allocations: 0 / 1.072 GB, free: 5.266 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001242/0.2658, allocations: 47.91 kB / 1.073 GB, free: 5.219 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002608/0.2661, allocations: 32.23 kB / 1.073 GB, free: 5.188 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001958/0.268, allocations: 1.689 MB / 1.074 GB, free: 3.383 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002838/0.2683, allocations: 0.7041 MB / 1.075 GB, free: 2.652 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.513e-05/0.2684, allocations: 20.53 kB / 1.075 GB, free: 2.633 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.082e-05/0.2685, allocations: 47.34 kB / 1.075 GB, free: 2.586 MB / 0.8262 GB Notification: Performance of SimCode: time 2.31e-07/0.2685, allocations: 0 / 1.075 GB, free: 2.586 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3943/0.6628, allocations: 3.757 MB / 1.079 GB, free: 14.92 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.253/9.916, allocations: 5.328 kB / 1.079 GB, free: 14.92 MB / 0.8419 GB (rm -f Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; mkfifo Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe >> ../files/Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVReader.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVReader_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_IO_Files_Examples_CSVReader_fmu --startTime=-1.21 --stopTime=10 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_IO_Files_Examples_CSVReader.fmu > Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVReader_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_IO_Files_Examples_CSVReader.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVReader.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches