Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Utilities_IO_Files_Examples_CSVReader",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="Buildings_9_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.008069/0.008069, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.002086/0.002086, allocations: 201.6 kB / 16.68 MB, free: 5.969 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.458/1.458, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.473/2.473, allocations: 390.2 MB / 0.6648 GB, free: 244 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001947/0.001947, allocations: 58.44 kB / 0.9504 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2635/0.2654, allocations: 140.4 MB / 1.087 GB, free: 2.02 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.003161/0.2686, allocations: 1.67 MB / 1.089 GB, free: 344 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.00224/0.2709, allocations: 1.506 MB / 1.091 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001095/0.271, allocations: 3.938 kB / 1.091 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0003263/0.2714, allocations: 39.77 kB / 1.091 GB, free: 14.78 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002857/0.2717, allocations: 63.69 kB / 1.091 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003608/0.2721, allocations: 121.3 kB / 1.091 GB, free: 14.6 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002076/0.2723, allocations: 123.6 kB / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.675e-05/0.2723, allocations: 21.03 kB / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001417/0.2725, allocations: 55.77 kB / 1.091 GB, free: 14.4 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006077/0.2731, allocations: 47.77 kB / 1.091 GB, free: 14.35 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.793e-05/0.2731, allocations: 8 kB / 1.091 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001521/0.2733, allocations: 59.97 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.892e-05/0.2734, allocations: 31.84 kB / 1.091 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.846e-05/0.2734, allocations: 47.67 kB / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002814/0.2737, allocations: 147.7 kB / 1.091 GB, free: 14.06 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.2738, allocations: 0 / 1.091 GB, free: 14.06 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.563e-06/0.2738, allocations: 4 kB / 1.091 GB, free: 14.06 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.418e-06/0.2738, allocations: 0 / 1.091 GB, free: 14.06 MB / 0.8575 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.0006667/0.2744, allocations: 446.5 kB / 1.092 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.2745, allocations: 8.031 kB / 1.092 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.817e-05/0.2745, allocations: 34.73 kB / 1.092 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.984e-05/0.2746, allocations: 16.84 kB / 1.092 GB, free: 13.51 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003146/0.2749, allocations: 225.1 kB / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.488e-05/0.2749, allocations: 4.375 kB / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.416e-05/0.275, allocations: 11.92 kB / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002367/0.2752, allocations: 89.09 kB / 1.092 GB, free: 13.13 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.2752, allocations: 0 / 1.092 GB, free: 13.13 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.618e-05/0.2753, allocations: 8 kB / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.2753, allocations: 4 kB / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001853/0.2755, allocations: 51.89 kB / 1.092 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002338/0.2757, allocations: 207.4 kB / 1.092 GB, free: 12.81 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002869/0.276, allocations: 119.7 kB / 1.092 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001253/0.2761, allocations: 54.55 kB / 1.093 GB, free: 12.6 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.717e-05/0.2762, allocations: 4 kB / 1.093 GB, free: 12.6 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000245/0.2764, allocations: 117.9 kB / 1.093 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=8): time 1.293e-06/0.2764, allocations: 4 kB / 1.093 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.0005109/0.277, allocations: 157.5 kB / 1.093 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.619e-05/0.277, allocations: 136.7 kB / 1.093 GB, free: 12.13 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001715/0.2772, allocations: 178.9 kB / 1.093 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.999e-05/0.2772, allocations: 29.7 kB / 1.093 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.262e-05/0.2773, allocations: 104.1 kB / 1.093 GB, free: 11.81 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.343e-05/0.2774, allocations: 31.72 kB / 1.093 GB, free: 11.78 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.538e-05/0.2774, allocations: 21.72 kB / 1.093 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001046/0.2775, allocations: 326.8 kB / 1.094 GB, free: 11.42 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001143/0.2776, allocations: 39.97 kB / 1.094 GB, free: 11.38 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001227/0.2778, allocations: 56.28 kB / 1.094 GB, free: 11.31 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002425/0.278, allocations: 99.36 kB / 1.094 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.278, allocations: 3.938 kB / 1.094 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003155/0.2784, allocations: 133.4 kB / 1.094 GB, free: 11.06 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.2784, allocations: 4 kB / 1.094 GB, free: 11.06 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.2784, allocations: 3.984 kB / 1.094 GB, free: 11.05 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.2784, allocations: 4 kB / 1.094 GB, free: 11.05 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001298/0.2785, allocations: 24.08 kB / 1.094 GB, free: 11.03 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.2786, allocations: 0 / 1.094 GB, free: 11.03 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.801e-05/0.2787, allocations: 12 kB / 1.094 GB, free: 11.02 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.986e-06/0.2787, allocations: 0 / 1.094 GB, free: 11.02 MB / 0.8575 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.0001109/0.2788, allocations: 133.7 kB / 1.094 GB, free: 10.88 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.408e-05/0.2788, allocations: 15.91 kB / 1.094 GB, free: 10.86 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.55e-05/0.2789, allocations: 17.39 kB / 1.094 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.2789, allocations: 4 kB / 1.094 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.2789, allocations: 0 / 1.094 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.2789, allocations: 4.312 kB / 1.094 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001732/0.2791, allocations: 201.5 kB / 1.094 GB, free: 10.59 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.449e-06/0.2791, allocations: 4 kB / 1.094 GB, free: 10.59 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.797e-05/0.2792, allocations: 15.98 kB / 1.094 GB, free: 10.57 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.2792, allocations: 0 / 1.094 GB, free: 10.57 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.311e-05/0.2792, allocations: 4 kB / 1.094 GB, free: 10.57 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.2792, allocations: 0 / 1.094 GB, free: 10.57 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.2792, allocations: 192 / 1.094 GB, free: 10.57 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003367/0.2796, allocations: 178.6 kB / 1.095 GB, free: 10.37 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.665e-05/0.2796, allocations: 96.92 kB / 1.095 GB, free: 10.25 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.021e-05/0.2797, allocations: 4 kB / 1.095 GB, free: 10.25 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.225e-05/0.2797, allocations: 11.98 kB / 1.095 GB, free: 10.24 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.929e-05/0.2798, allocations: 7.984 kB / 1.095 GB, free: 10.23 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.662e-05/0.2798, allocations: 8 kB / 1.095 GB, free: 10.22 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001172/0.2799, allocations: 132.2 kB / 1.095 GB, free: 10.09 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.613e-06/0.28, allocations: 0 / 1.095 GB, free: 10.09 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002576/0.2802, allocations: 31.94 kB / 1.095 GB, free: 10.06 MB / 0.8575 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.001531/0.2818, allocations: 1.05 MB / 1.096 GB, free: 9.156 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003159/0.2821, allocations: 87.88 kB / 1.096 GB, free: 9.07 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.2821, allocations: 0 / 1.096 GB, free: 9.07 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001406/0.2822, allocations: 39.92 kB / 1.096 GB, free: 9.031 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002896/0.2825, allocations: 31.97 kB / 1.096 GB, free: 9 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002075/0.2846, allocations: 1.692 MB / 1.098 GB, free: 7.199 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002582/0.2849, allocations: 0.7002 MB / 1.098 GB, free: 6.473 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 8.867e-05/0.285, allocations: 24.47 kB / 1.098 GB, free: 6.449 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.49e-05/0.2851, allocations: 43.41 kB / 1.098 GB, free: 6.406 MB / 0.8575 GB Notification: Performance of SimCode: time 2.725e-06/0.2851, allocations: 0 / 1.098 GB, free: 6.406 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02558/0.3107, allocations: 3.847 MB / 1.102 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.802/8.113, allocations: 10.23 kB / 1.102 GB, free: 2.578 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; mkfifo Buildings_9_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe >> ../files/Buildings_9_Buildings.Utilities.IO.Files.Examples.CSVReader.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Utilities.IO.Files.Examples.CSVReader_res.csv --start-time -1.21 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004484 Buildings_9_Buildings_Utilities_IO_Files_Examples_CSVReader.fmu > Buildings_9_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.IO.Files.Examples.CSVReader_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_IO_Files_Examples_CSVReader.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.IO.Files.Examples.CSVReader.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches