Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Utilities_IO_Files_Examples_CSVReader",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="Buildings_10_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.004342/0.004342, allocations: 97.23 kB / 15.73 MB, free: 6.484 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.001204/0.001204, allocations: 192.1 kB / 16.67 MB, free: 6.391 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.351/1.351, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.467/2.467, allocations: 437.1 MB / 0.7106 GB, free: 5.059 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001786/0.001786, allocations: 67.89 kB / 1.018 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2629/0.2647, allocations: 151.6 MB / 1.166 GB, free: 7.328 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.002726/0.2675, allocations: 1.686 MB / 1.168 GB, free: 5.621 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002025/0.2695, allocations: 1.51 MB / 1.169 GB, free: 4.102 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.795e-05/0.2696, allocations: 0 / 1.169 GB, free: 4.102 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0002446/0.2699, allocations: 43.77 kB / 1.169 GB, free: 4.059 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0002267/0.2701, allocations: 67.64 kB / 1.169 GB, free: 3.992 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002885/0.2704, allocations: 111.6 kB / 1.17 GB, free: 3.883 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001836/0.2706, allocations: 127.5 kB / 1.17 GB, free: 3.758 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.23e-05/0.2707, allocations: 5.125 kB / 1.17 GB, free: 3.75 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001192/0.2708, allocations: 59.77 kB / 1.17 GB, free: 3.691 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001567/0.2709, allocations: 47.77 kB / 1.17 GB, free: 3.645 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.364e-05/0.271, allocations: 8 kB / 1.17 GB, free: 3.637 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000131/0.2711, allocations: 63.91 kB / 1.17 GB, free: 3.574 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 4.928e-05/0.2712, allocations: 23.92 kB / 1.17 GB, free: 3.551 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 6.149e-05/0.2712, allocations: 47.72 kB / 1.17 GB, free: 3.504 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002309/0.2715, allocations: 151.6 kB / 1.17 GB, free: 3.355 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 2.514e-06/0.2715, allocations: 0 / 1.17 GB, free: 3.355 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.122e-06/0.2715, allocations: 0 / 1.17 GB, free: 3.355 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.478e-06/0.2715, allocations: 0 / 1.17 GB, free: 3.355 MB / 0.92 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.0006063/0.2721, allocations: 454.5 kB / 1.17 GB, free: 2.863 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.358e-05/0.2721, allocations: 8.031 kB / 1.17 GB, free: 2.855 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.111e-05/0.2722, allocations: 34.69 kB / 1.171 GB, free: 2.812 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.06e-05/0.2722, allocations: 16.89 kB / 1.171 GB, free: 2.797 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002734/0.2725, allocations: 225.1 kB / 1.171 GB, free: 2.539 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.155e-05/0.2725, allocations: 384 / 1.171 GB, free: 2.539 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.352e-05/0.2726, allocations: 11.94 kB / 1.171 GB, free: 2.527 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002171/0.2728, allocations: 97.02 kB / 1.171 GB, free: 2.414 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.725e-06/0.2728, allocations: 0 / 1.171 GB, free: 2.414 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.2728, allocations: 11.94 kB / 1.171 GB, free: 2.402 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.2728, allocations: 4 kB / 1.171 GB, free: 2.398 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001667/0.273, allocations: 47.95 kB / 1.171 GB, free: 2.352 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002245/0.2732, allocations: 199.5 kB / 1.171 GB, free: 2.102 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002534/0.2735, allocations: 119.7 kB / 1.171 GB, free: 1.957 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001209/0.2736, allocations: 50.56 kB / 1.171 GB, free: 1.898 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.073e-05/0.2737, allocations: 4 kB / 1.171 GB, free: 1.895 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002138/0.2739, allocations: 109.9 kB / 1.171 GB, free: 1.766 MB / 0.92 GB Notification: Performance of pre-optimization done (n=8): time 1.103e-06/0.2739, allocations: 0 / 1.171 GB, free: 1.766 MB / 0.92 GB Notification: Performance of matching and sorting (n=8): time 0.000459/0.2743, allocations: 165.6 kB / 1.172 GB, free: 1.598 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.014e-05/0.2744, allocations: 136.5 kB / 1.172 GB, free: 1.434 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001662/0.2746, allocations: 178.4 kB / 1.172 GB, free: 1.25 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.433e-05/0.2746, allocations: 25.7 kB / 1.172 GB, free: 1.219 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.579e-05/0.2747, allocations: 100.1 kB / 1.172 GB, free: 1.117 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.804e-05/0.2747, allocations: 35.77 kB / 1.172 GB, free: 1.082 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.344e-05/0.2748, allocations: 17.72 kB / 1.172 GB, free: 1.059 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001358/0.2749, allocations: 334.8 kB / 1.172 GB, free: 0.7227 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.985e-05/0.275, allocations: 35.98 kB / 1.172 GB, free: 0.6875 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001192/0.2752, allocations: 64.2 kB / 1.172 GB, free: 0.6094 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002153/0.2754, allocations: 95.69 kB / 1.172 GB, free: 0.5039 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.2754, allocations: 3.938 kB / 1.172 GB, free: 0.5 MB / 0.92 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002866/0.2757, allocations: 133.4 kB / 1.173 GB, free: 372 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.2757, allocations: 8 kB / 1.173 GB, free: 364 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.818e-06/0.2757, allocations: 3.938 kB / 1.173 GB, free: 360 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.051e-05/0.2757, allocations: 0 / 1.173 GB, free: 360 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001077/0.2759, allocations: 24.08 kB / 1.173 GB, free: 336 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.2759, allocations: 4 kB / 1.173 GB, free: 332 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.407e-05/0.2759, allocations: 15.94 kB / 1.173 GB, free: 316 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.307e-05/0.276, allocations: 4 kB / 1.173 GB, free: 312 kB / 0.92 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.0001024/0.2761, allocations: 132.3 kB / 1.173 GB, free: 172 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.644e-05/0.2761, allocations: 11.95 kB / 1.173 GB, free: 160 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.158e-05/0.2762, allocations: 21.38 kB / 1.173 GB, free: 136 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.2762, allocations: 0 / 1.173 GB, free: 136 kB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.2762, allocations: 8 kB / 1.173 GB, free: 128 kB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.2762, allocations: 0 / 1.173 GB, free: 128 kB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001911/0.2764, allocations: 205.5 kB / 1.173 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.2764, allocations: 192 / 1.173 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.166e-05/0.2765, allocations: 15.98 kB / 1.173 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.2765, allocations: 3.938 kB / 1.173 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/0.2765, allocations: 4 kB / 1.173 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.2765, allocations: 0 / 1.173 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.2765, allocations: 0 / 1.173 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003221/0.2768, allocations: 174.6 kB / 1.173 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.79e-05/0.2769, allocations: 96.94 kB / 1.173 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.659e-05/0.2769, allocations: 4 kB / 1.173 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.947e-05/0.277, allocations: 8 kB / 1.173 GB, free: 15.53 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.035e-05/0.2771, allocations: 11.98 kB / 1.173 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.654e-05/0.2771, allocations: 8.062 kB / 1.173 GB, free: 15.51 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.000112/0.2772, allocations: 132.2 kB / 1.173 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2772, allocations: 0 / 1.173 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002318/0.2774, allocations: 28 kB / 1.174 GB, free: 15.36 MB / 0.9356 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.001951/0.2794, allocations: 1.048 MB / 1.175 GB, free: 14.45 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000268/0.2797, allocations: 83.89 kB / 1.175 GB, free: 14.37 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.2797, allocations: 0 / 1.175 GB, free: 14.37 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.000123/0.2798, allocations: 43.91 kB / 1.175 GB, free: 14.32 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002474/0.2801, allocations: 27.98 kB / 1.175 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001941/0.282, allocations: 1.693 MB / 1.176 GB, free: 12.49 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002976/0.2823, allocations: 0.7118 MB / 1.177 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 7.12e-05/0.2824, allocations: 28.41 kB / 1.177 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.625e-05/0.2825, allocations: 43.41 kB / 1.177 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of SimCode: time 2.5e-07/0.2825, allocations: 3.938 kB / 1.177 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4469/0.7294, allocations: 3.841 MB / 1.181 GB, free: 7.914 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.284/10.01, allocations: 10.06 kB / 1.181 GB, free: 7.906 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; mkfifo Buildings_10_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe >> ../files/Buildings_10_Buildings.Utilities.IO.Files.Examples.CSVReader.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.IO.Files.Examples.CSVReader_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_IO_Files_Examples_CSVReader_fmu --startTime=-1.21 --stopTime=10 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Utilities_IO_Files_Examples_CSVReader.fmu > Buildings_10_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.IO.Files.Examples.CSVReader_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_IO_Files_Examples_CSVReader.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.IO.Files.Examples.CSVReader.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches