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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008246/0.0008246, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001283/0.001283, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9141/0.9141, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.804/1.804, allocations: 389 MB / 0.633 GB, free: 12.71 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.764e-06/1.764e-06, allocations: 0 / 0.9996 GB, free: 12.43 MB / 0.9167 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.402e-05/2.578e-05, allocations: 8.75 kB / 0.9996 GB, free: 12.43 MB / 0.9167 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.002293/0.002319, allocations: 1.69 MB / 1.001 GB, free: 10.72 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.001581/0.0039, allocations: 1.73 MB / 1.003 GB, free: 8.98 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.195e-05/0.003972, allocations: 3.938 kB / 1.003 GB, free: 8.977 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.000244/0.004216, allocations: 39.7 kB / 1.003 GB, free: 8.938 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0003039/0.00452, allocations: 111.4 kB / 1.003 GB, free: 8.828 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001712/0.004691, allocations: 99.52 kB / 1.003 GB, free: 8.73 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0001562/0.004848, allocations: 135.5 kB / 1.003 GB, free: 8.598 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 4.399e-05/0.004892, allocations: 13.61 kB / 1.003 GB, free: 8.578 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001496/0.005041, allocations: 83.69 kB / 1.003 GB, free: 8.496 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001045/0.005146, allocations: 47.83 kB / 1.003 GB, free: 8.449 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 1.677e-05/0.005162, allocations: 7.984 kB / 1.004 GB, free: 8.441 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001544/0.005317, allocations: 111.8 kB / 1.004 GB, free: 8.332 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 4.908e-05/0.005366, allocations: 27.91 kB / 1.004 GB, free: 8.305 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 3.97e-05/0.005406, allocations: 27.88 kB / 1.004 GB, free: 8.277 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0002384/0.005644, allocations: 211.3 kB / 1.004 GB, free: 8.07 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 1.823e-06/0.005646, allocations: 0 / 1.004 GB, free: 8.07 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.132e-06/0.005647, allocations: 0 / 1.004 GB, free: 8.07 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 4.738e-06/0.005652, allocations: 7.984 kB / 1.004 GB, free: 8.062 MB / 0.9167 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.0004769/0.006129, allocations: 393.2 kB / 1.004 GB, free: 7.648 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.006165, allocations: 8.75 kB / 1.004 GB, free: 7.641 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.565e-05/0.006201, allocations: 38.73 kB / 1.004 GB, free: 7.594 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000109/0.00631, allocations: 20.84 kB / 1.004 GB, free: 7.574 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002035/0.006513, allocations: 162.3 kB / 1.004 GB, free: 7.387 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.405e-05/0.006527, allocations: 12.36 kB / 1.004 GB, free: 7.375 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.428e-06/0.006537, allocations: 384 / 1.004 GB, free: 7.375 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001621/0.006699, allocations: 131.1 kB / 1.005 GB, free: 7.223 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.006707, allocations: 3.984 kB / 1.005 GB, free: 7.219 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.477e-06/0.006716, allocations: 0 / 1.005 GB, free: 7.219 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.006722, allocations: 11.94 kB / 1.005 GB, free: 7.207 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001113/0.006833, allocations: 51.89 kB / 1.005 GB, free: 7.156 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001593/0.006993, allocations: 182.5 kB / 1.005 GB, free: 6.93 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001697/0.007162, allocations: 115.8 kB / 1.005 GB, free: 6.789 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.385e-05/0.007226, allocations: 50.55 kB / 1.005 GB, free: 6.73 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.535e-05/0.007242, allocations: 4 kB / 1.005 GB, free: 6.727 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001368/0.007378, allocations: 117.8 kB / 1.005 GB, free: 6.59 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=8): time 7.71e-07/0.007379, allocations: 0 / 1.005 GB, free: 6.59 MB / 0.9167 GB Notification: Performance of matching and sorting (n=8): time 0.0002992/0.007678, allocations: 173.5 kB / 1.005 GB, free: 6.414 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.062e-05/0.007729, allocations: 136.5 kB / 1.005 GB, free: 6.25 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001391/0.007868, allocations: 204.3 kB / 1.006 GB, free: 6.043 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.285e-05/0.007881, allocations: 25.7 kB / 1.006 GB, free: 6.012 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.365e-05/0.007925, allocations: 108.1 kB / 1.006 GB, free: 5.902 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 3.193e-05/0.007956, allocations: 23.78 kB / 1.006 GB, free: 5.879 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.376e-05/0.00799, allocations: 25.95 kB / 1.006 GB, free: 5.848 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.785e-05/0.008068, allocations: 326.8 kB / 1.006 GB, free: 5.52 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.346e-05/0.008132, allocations: 31.98 kB / 1.006 GB, free: 5.488 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.59e-05/0.008207, allocations: 93.97 kB / 1.006 GB, free: 5.375 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001258/0.008333, allocations: 95.33 kB / 1.006 GB, free: 5.27 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.008336, allocations: 4 kB / 1.006 GB, free: 5.266 MB / 0.9167 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001737/0.008509, allocations: 149.4 kB / 1.006 GB, free: 5.113 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.008522, allocations: 8 kB / 1.006 GB, free: 5.105 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.008526, allocations: 0 / 1.006 GB, free: 5.105 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.081e-05/0.008537, allocations: 0 / 1.006 GB, free: 5.105 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.129e-05/0.008608, allocations: 19.98 kB / 1.006 GB, free: 5.086 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.008614, allocations: 4 kB / 1.006 GB, free: 5.082 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.219e-05/0.008656, allocations: 8.078 kB / 1.006 GB, free: 5.074 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.964e-06/0.008663, allocations: 8 kB / 1.007 GB, free: 5.066 MB / 0.9167 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 7.339e-05/0.008736, allocations: 130.1 kB / 1.007 GB, free: 4.93 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.999e-05/0.008756, allocations: 19.84 kB / 1.007 GB, free: 4.91 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001654/0.008922, allocations: 119.1 kB / 1.007 GB, free: 4.789 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.008926, allocations: 4 kB / 1.007 GB, free: 4.785 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.008931, allocations: 4 kB / 1.007 GB, free: 4.781 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.209e-06/0.008936, allocations: 3.984 kB / 1.007 GB, free: 4.777 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001144/0.009051, allocations: 172.6 kB / 1.007 GB, free: 4.566 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.009053, allocations: 4 kB / 1.007 GB, free: 4.562 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.033e-05/0.009103, allocations: 27.92 kB / 1.007 GB, free: 4.535 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.009106, allocations: 3.938 kB / 1.007 GB, free: 4.531 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.786e-06/0.009114, allocations: 4 kB / 1.007 GB, free: 4.527 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.009116, allocations: 0 / 1.007 GB, free: 4.527 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.083e-06/0.009117, allocations: 4.125 kB / 1.007 GB, free: 4.523 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001919/0.009309, allocations: 182.6 kB / 1.007 GB, free: 4.32 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.847e-05/0.009327, allocations: 19.83 kB / 1.007 GB, free: 4.301 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.805e-05/0.009345, allocations: 8 kB / 1.007 GB, free: 4.293 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.873e-05/0.009384, allocations: 11.98 kB / 1.007 GB, free: 4.281 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.689e-05/0.009421, allocations: 7.984 kB / 1.007 GB, free: 4.273 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.382e-05/0.009435, allocations: 8 kB / 1.007 GB, free: 4.266 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 8.922e-05/0.009524, allocations: 148.1 kB / 1.007 GB, free: 4.121 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.009524, allocations: 0 / 1.007 GB, free: 4.121 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001977/0.009722, allocations: 51.86 kB / 1.007 GB, free: 4.07 MB / 0.9167 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.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * 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.001083/0.0108, allocations: 1.156 MB / 1.009 GB, free: 3.094 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001772/0.01098, allocations: 87.88 kB / 1.009 GB, free: 3.008 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.01098, allocations: 4 kB / 1.009 GB, free: 3.004 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 7.488e-05/0.01106, allocations: 43.91 kB / 1.009 GB, free: 2.961 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001835/0.01124, allocations: 36.14 kB / 1.009 GB, free: 2.93 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001349/0.01259, allocations: 1.769 MB / 1.01 GB, free: 1.047 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.813e-05/0.01265, allocations: 101.2 kB / 1.011 GB, free: 0.9258 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 5.777e-05/0.01271, allocations: 28.91 kB / 1.011 GB, free: 0.8984 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.436e-05/0.01277, allocations: 48.47 kB / 1.011 GB, free: 0.8516 MB / 0.9167 GB Notification: Performance of SimCode: time 3.71e-07/0.01277, allocations: 0 / 1.011 GB, free: 0.8516 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0169/0.02967, allocations: 5.307 MB / 1.016 GB, free: 11.61 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.38/7.41, allocations: 12.03 kB / 1.016 GB, free: 11.6 MB / 0.9323 GB " [Timeout remaining time 292] (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 800 --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) [Timeout 840.0] 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVReader.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.999947284348309]