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: "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="Buildings_latest_Buildings_Utilities_IO_Files_Examples_CSVReader",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="Buildings_latest_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.0008585/0.0008585, allocations: 97.95 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.005572/0.005572, allocations: 170.5 kB / 16.27 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.328/1.328, allocations: 223.3 MB / 240.3 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.505/2.505, allocations: 462.7 MB / 0.7364 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003086/0.0003086, allocations: 10.78 kB / 0.9029 GB, free: 36.32 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2372/0.2375, allocations: 159.6 MB / 1.059 GB, free: 4.836 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.001633/0.2392, allocations: 1.4 MB / 1.06 GB, free: 3.426 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001675/0.2408, allocations: 1.456 MB / 1.062 GB, free: 1.961 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.623e-05/0.2409, allocations: 0 / 1.062 GB, free: 1.961 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001784/0.2411, allocations: 39.83 kB / 1.062 GB, free: 1.922 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001456/0.2412, allocations: 55.77 kB / 1.062 GB, free: 1.867 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002182/0.2415, allocations: 95.77 kB / 1.062 GB, free: 1.773 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001398/0.2416, allocations: 119.5 kB / 1.062 GB, free: 1.656 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.991e-05/0.2417, allocations: 21.09 kB / 1.062 GB, free: 1.637 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.573e-05/0.2418, allocations: 43.8 kB / 1.062 GB, free: 1.594 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001472/0.2419, allocations: 61.16 kB / 1.062 GB, free: 1.535 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.558e-05/0.242, allocations: 4 kB / 1.062 GB, free: 1.531 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.95e-05/0.2421, allocations: 59.91 kB / 1.062 GB, free: 1.473 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.862e-05/0.2421, allocations: 23.91 kB / 1.062 GB, free: 1.449 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.036e-05/0.2422, allocations: 65.42 kB / 1.062 GB, free: 1.379 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001761/0.2424, allocations: 147.8 kB / 1.062 GB, free: 1.234 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.434e-06/0.2424, allocations: 0 / 1.062 GB, free: 1.234 MB / 0.8106 GB Notification: Performance of FrontEnd: time 9.92e-07/0.2424, allocations: 4 kB / 1.062 GB, free: 1.23 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.086e-06/0.2424, allocations: 0 / 1.062 GB, free: 1.23 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.0004628/0.2428, allocations: 423 kB / 1.063 GB, free: 0.7695 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.039e-05/0.2429, allocations: 15.97 kB / 1.063 GB, free: 0.7539 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.422e-05/0.2429, allocations: 38.67 kB / 1.063 GB, free: 0.707 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.819e-05/0.243, allocations: 12.84 kB / 1.063 GB, free: 0.6953 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000187/0.2431, allocations: 212.1 kB / 1.063 GB, free: 460 kB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.708e-06/0.2432, allocations: 12.31 kB / 1.063 GB, free: 448 kB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.331e-05/0.2432, allocations: 7.938 kB / 1.063 GB, free: 440 kB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001904/0.2434, allocations: 105 kB / 1.063 GB, free: 316 kB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.629e-06/0.2434, allocations: 0 / 1.063 GB, free: 316 kB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.317e-06/0.2434, allocations: 0 / 1.063 GB, free: 316 kB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.266e-06/0.2434, allocations: 4 kB / 1.063 GB, free: 312 kB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001695/0.2436, allocations: 55.95 kB / 1.063 GB, free: 256 kB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001941/0.2438, allocations: 215.4 kB / 1.063 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002333/0.244, allocations: 123.6 kB / 1.063 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001256/0.2442, allocations: 62.55 kB / 1.064 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.983e-05/0.2442, allocations: 0 / 1.064 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002163/0.2444, allocations: 109.9 kB / 1.064 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=8): time 1.112e-06/0.2444, allocations: 4 kB / 1.064 GB, free: 15.63 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8): time 0.0004498/0.2449, allocations: 173.4 kB / 1.064 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.077e-05/0.245, allocations: 136.8 kB / 1.064 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001432/0.2451, allocations: 175.9 kB / 1.064 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.262e-05/0.2451, allocations: 33.7 kB / 1.064 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.507e-05/0.2452, allocations: 104.1 kB / 1.064 GB, free: 14.97 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.524e-05/0.2452, allocations: 19.72 kB / 1.064 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.659e-05/0.2453, allocations: 17.7 kB / 1.064 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.781e-05/0.2454, allocations: 322.8 kB / 1.065 GB, free: 14.6 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001039/0.2455, allocations: 35.98 kB / 1.065 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001168/0.2456, allocations: 72.2 kB / 1.065 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002186/0.2458, allocations: 103.4 kB / 1.065 GB, free: 14.37 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.2458, allocations: 7.938 kB / 1.065 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000297/0.2461, allocations: 141.3 kB / 1.065 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 9.568e-06/0.2462, allocations: 4 kB / 1.065 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.2462, allocations: 4 kB / 1.065 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.013e-06/0.2462, allocations: 3.938 kB / 1.065 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001074/0.2463, allocations: 23.98 kB / 1.065 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.196e-06/0.2463, allocations: 0 / 1.065 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.472e-05/0.2464, allocations: 20.02 kB / 1.065 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.997e-06/0.2464, allocations: 4 kB / 1.065 GB, free: 14.16 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 8.607e-05/0.2465, allocations: 133.7 kB / 1.065 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.505e-05/0.2465, allocations: 11.81 kB / 1.065 GB, free: 14 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.511e-05/0.2466, allocations: 17.41 kB / 1.065 GB, free: 13.99 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.2466, allocations: 192 / 1.065 GB, free: 13.99 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.896e-06/0.2466, allocations: 0 / 1.065 GB, free: 13.99 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.2466, allocations: 11.92 kB / 1.065 GB, free: 13.98 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001454/0.2468, allocations: 205.5 kB / 1.065 GB, free: 13.73 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.2468, allocations: 4 kB / 1.065 GB, free: 13.72 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.139e-05/0.2468, allocations: 12 kB / 1.065 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.2468, allocations: 0 / 1.065 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/0.2469, allocations: 7.984 kB / 1.065 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.2469, allocations: 0 / 1.065 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.2469, allocations: 3.984 kB / 1.065 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003068/0.2472, allocations: 182.8 kB / 1.066 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.819e-05/0.2472, allocations: 89.02 kB / 1.066 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.547e-05/0.2473, allocations: 11.98 kB / 1.066 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.723e-05/0.2474, allocations: 12 kB / 1.066 GB, free: 13.37 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.136e-05/0.2474, allocations: 11.98 kB / 1.066 GB, free: 13.36 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.411e-05/0.2474, allocations: 4 kB / 1.066 GB, free: 13.35 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.994e-05/0.2475, allocations: 131.2 kB / 1.066 GB, free: 13.22 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2475, allocations: 0 / 1.066 GB, free: 13.22 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002247/0.2478, allocations: 24 kB / 1.066 GB, free: 13.2 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.001319/0.2491, allocations: 1.061 MB / 1.067 GB, free: 12.28 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002496/0.2493, allocations: 87.89 kB / 1.067 GB, free: 12.19 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.2494, allocations: 4.188 kB / 1.067 GB, free: 12.19 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001243/0.2495, allocations: 51.91 kB / 1.067 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002478/0.2497, allocations: 29.41 kB / 1.067 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001729/0.2515, allocations: 1.736 MB / 1.069 GB, free: 10.26 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002083/0.2517, allocations: 0.7004 MB / 1.069 GB, free: 9.535 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 6.975e-05/0.2518, allocations: 28.41 kB / 1.069 GB, free: 9.508 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.178e-05/0.2518, allocations: 43.41 kB / 1.069 GB, free: 9.465 MB / 0.8262 GB Notification: Performance of SimCode: time 3.2e-07/0.2519, allocations: 0 / 1.069 GB, free: 9.465 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6945/0.9463, allocations: 3.315 MB / 1.073 GB, free: 6.297 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003768/0.9468, allocations: 261.2 kB / 1.073 GB, free: 6.027 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.321/3.268, allocations: 4.688 kB / 1.073 GB, free: 6.023 MB / 0.8262 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVReader_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_IO_Files_Examples_CSVReader_fmu --startTime=-1.21 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_IO_Files_Examples_CSVReader.fmu > 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