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: "" <> 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.001716/0.001716, 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.001946/0.001946, allocations: 195.3 kB / 16.53 MB, free: 6.699 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.315/1.315, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.64/2.64, allocations: 469.4 MB / 0.742 GB, free: 7.668 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 67.92 kB / 0.9083 GB, free: 34.47 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2659/0.2672, allocations: 159.1 MB / 1.064 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.002834/0.2701, allocations: 1.682 MB / 1.065 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001909/0.272, allocations: 1.514 MB / 1.067 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.676e-05/0.2721, allocations: 0 / 1.067 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002496/0.2723, allocations: 39.77 kB / 1.067 GB, free: 11.28 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002211/0.2726, allocations: 63.64 kB / 1.067 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002702/0.2728, allocations: 115.6 kB / 1.067 GB, free: 11.1 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001668/0.273, allocations: 127.6 kB / 1.067 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.213e-05/0.2731, allocations: 9.125 kB / 1.067 GB, free: 10.97 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001165/0.2732, allocations: 55.77 kB / 1.067 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001684/0.2734, allocations: 51.77 kB / 1.067 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.42e-05/0.2734, allocations: 11.94 kB / 1.067 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001221/0.2735, allocations: 63.97 kB / 1.067 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.434e-05/0.2736, allocations: 19.91 kB / 1.067 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.296e-05/0.2737, allocations: 43.73 kB / 1.067 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002162/0.2739, allocations: 147.8 kB / 1.068 GB, free: 10.58 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.2739, allocations: 0 / 1.068 GB, free: 10.58 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.212e-06/0.2739, allocations: 4 kB / 1.068 GB, free: 10.58 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.2739, allocations: 0 / 1.068 GB, free: 10.58 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.0005824/0.2745, allocations: 442.8 kB / 1.068 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.2746, allocations: 11.97 kB / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.886e-05/0.2746, allocations: 30.75 kB / 1.068 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.104e-05/0.2746, allocations: 12.84 kB / 1.068 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002255/0.2749, allocations: 221.2 kB / 1.068 GB, free: 9.781 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/0.2749, allocations: 4.375 kB / 1.068 GB, free: 9.777 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.347e-05/0.2749, allocations: 11.94 kB / 1.068 GB, free: 9.766 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002157/0.2751, allocations: 101 kB / 1.068 GB, free: 9.648 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.2752, allocations: 3.984 kB / 1.068 GB, free: 9.645 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.2752, allocations: 0 / 1.068 GB, free: 9.645 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.553e-06/0.2752, allocations: 4 kB / 1.068 GB, free: 9.641 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001821/0.2754, allocations: 51.95 kB / 1.068 GB, free: 9.59 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002202/0.2756, allocations: 207.4 kB / 1.069 GB, free: 9.332 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002537/0.2759, allocations: 127.6 kB / 1.069 GB, free: 9.18 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001197/0.276, allocations: 50.56 kB / 1.069 GB, free: 9.121 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.602e-05/0.276, allocations: 11.97 kB / 1.069 GB, free: 9.109 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002428/0.2763, allocations: 105.9 kB / 1.069 GB, free: 8.984 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=8): time 1.252e-06/0.2763, allocations: 0 / 1.069 GB, free: 8.984 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8): time 0.0004674/0.2768, allocations: 161.3 kB / 1.069 GB, free: 8.82 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.306e-05/0.2768, allocations: 136.5 kB / 1.069 GB, free: 8.656 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001585/0.277, allocations: 175.1 kB / 1.069 GB, free: 8.477 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.028e-05/0.277, allocations: 33.7 kB / 1.069 GB, free: 8.438 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.924e-05/0.2771, allocations: 100.1 kB / 1.069 GB, free: 8.336 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.272e-05/0.2771, allocations: 19.72 kB / 1.069 GB, free: 8.316 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.628e-05/0.2772, allocations: 29.7 kB / 1.069 GB, free: 8.281 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.87e-05/0.2773, allocations: 322.8 kB / 1.07 GB, free: 7.957 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001085/0.2774, allocations: 27.98 kB / 1.07 GB, free: 7.93 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001232/0.2775, allocations: 72.2 kB / 1.07 GB, free: 7.844 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002238/0.2778, allocations: 95.33 kB / 1.07 GB, free: 7.738 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/0.2778, allocations: 3.938 kB / 1.07 GB, free: 7.734 MB / 0.8262 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003016/0.2781, allocations: 133.5 kB / 1.07 GB, free: 7.598 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.2781, allocations: 8 kB / 1.07 GB, free: 7.59 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.2781, allocations: 0 / 1.07 GB, free: 7.59 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.081e-05/0.2781, allocations: 0 / 1.07 GB, free: 7.59 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001287/0.2783, allocations: 19.98 kB / 1.07 GB, free: 7.57 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.862e-06/0.2783, allocations: 4 kB / 1.07 GB, free: 7.566 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.782e-05/0.2784, allocations: 20.23 kB / 1.07 GB, free: 7.547 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.208e-05/0.2784, allocations: 4 kB / 1.07 GB, free: 7.543 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.000101/0.2785, allocations: 135.3 kB / 1.07 GB, free: 7.402 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.259e-05/0.2785, allocations: 15.89 kB / 1.07 GB, free: 7.387 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.376e-05/0.2786, allocations: 13.41 kB / 1.07 GB, free: 7.375 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.2786, allocations: 0 / 1.07 GB, free: 7.375 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.2786, allocations: 4 kB / 1.07 GB, free: 7.371 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.2786, allocations: 0 / 1.07 GB, free: 7.371 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001609/0.2788, allocations: 205.5 kB / 1.071 GB, free: 7.121 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.2788, allocations: 0 / 1.071 GB, free: 7.121 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.763e-05/0.2789, allocations: 19.98 kB / 1.071 GB, free: 7.102 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.2789, allocations: 0 / 1.071 GB, free: 7.102 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.272e-05/0.2789, allocations: 7.984 kB / 1.071 GB, free: 7.094 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.185e-06/0.2789, allocations: 4.188 kB / 1.071 GB, free: 7.09 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.2789, allocations: 0 / 1.071 GB, free: 7.09 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003232/0.2792, allocations: 174.4 kB / 1.071 GB, free: 6.895 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.336e-05/0.2793, allocations: 85.02 kB / 1.071 GB, free: 6.793 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.228e-05/0.2793, allocations: 8 kB / 1.071 GB, free: 6.785 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.91e-05/0.2794, allocations: 7.984 kB / 1.071 GB, free: 6.777 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.875e-05/0.2795, allocations: 4 kB / 1.071 GB, free: 6.773 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.688e-05/0.2795, allocations: 7.984 kB / 1.071 GB, free: 6.766 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001096/0.2796, allocations: 131.2 kB / 1.071 GB, free: 6.637 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2796, allocations: 4 kB / 1.071 GB, free: 6.633 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002569/0.2799, allocations: 35.98 kB / 1.071 GB, free: 6.598 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.001465/0.2813, allocations: 1.046 MB / 1.072 GB, free: 5.695 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002883/0.2816, allocations: 87.89 kB / 1.072 GB, free: 5.609 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.2817, allocations: 4.188 kB / 1.072 GB, free: 5.605 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001292/0.2818, allocations: 43.91 kB / 1.072 GB, free: 5.562 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002754/0.2821, allocations: 34.31 kB / 1.072 GB, free: 5.531 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001892/0.284, allocations: 1.69 MB / 1.074 GB, free: 3.723 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002184/0.2842, allocations: 0.7002 MB / 1.075 GB, free: 2.996 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.178e-05/0.2843, allocations: 32.77 kB / 1.075 GB, free: 2.965 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.081e-05/0.2844, allocations: 39.36 kB / 1.075 GB, free: 2.926 MB / 0.8262 GB Notification: Performance of SimCode: time 3.01e-07/0.2844, allocations: 4 kB / 1.075 GB, free: 2.922 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02015/0.3045, allocations: 3.76 MB / 1.078 GB, free: 15.26 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.2/7.505, allocations: 21.78 kB / 1.078 GB, free: 15.24 MB / 0.8419 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 & python3 -m fmpy simulate --output-file Buildings_latest_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_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.csv","/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) "" Variables in the reference:time,combiTimeTable.y[1],combiTimeTable.y[2],cos.y,step.y Variables in the result:time,combiTimeTable.y[1],combiTimeTable.y[2],cos.y,step.y,combiTimeTable.offset[1]