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.001153/0.001153, 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.001282/0.001282, allocations: 170.3 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.8883/0.8883, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.838/1.838, 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.262e-06/1.262e-06, allocations: 0 / 0.9997 GB, free: 13.51 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.448e-05/1.574e-05, allocations: 6.219 kB / 0.9997 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.002208/0.002223, allocations: 1.682 MB / 1.001 GB, free: 11.81 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001658/0.003881, allocations: 1.732 MB / 1.003 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.734e-05/0.003958, allocations: 0 / 1.003 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0002612/0.00422, allocations: 43.7 kB / 1.003 GB, free: 10.03 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0002873/0.004507, allocations: 107.4 kB / 1.003 GB, free: 9.922 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001571/0.004664, allocations: 95.53 kB / 1.003 GB, free: 9.828 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001641/0.004828, allocations: 151.4 kB / 1.003 GB, free: 9.68 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 4.126e-05/0.004869, allocations: 5.641 kB / 1.003 GB, free: 9.668 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000159/0.005028, allocations: 79.73 kB / 1.003 GB, free: 9.59 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001055/0.005134, allocations: 47.88 kB / 1.004 GB, free: 9.543 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.737e-05/0.005151, allocations: 8 kB / 1.004 GB, free: 9.535 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001337/0.005285, allocations: 111.8 kB / 1.004 GB, free: 9.426 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 4.919e-05/0.005334, allocations: 27.92 kB / 1.004 GB, free: 9.398 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 4.112e-05/0.005375, allocations: 31.91 kB / 1.004 GB, free: 9.367 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002368/0.005612, allocations: 211.3 kB / 1.004 GB, free: 9.16 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.903e-06/0.005614, allocations: 0 / 1.004 GB, free: 9.16 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.162e-06/0.005615, allocations: 0 / 1.004 GB, free: 9.16 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.078e-06/0.005619, allocations: 0 / 1.004 GB, free: 9.16 MB / 0.9636 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.0004916/0.006111, allocations: 397.1 kB / 1.004 GB, free: 8.742 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.006149, allocations: 12.75 kB / 1.004 GB, free: 8.73 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.63e-05/0.006175, allocations: 30.75 kB / 1.004 GB, free: 8.691 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001108/0.006286, allocations: 32.83 kB / 1.004 GB, free: 8.66 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001981/0.006484, allocations: 162.4 kB / 1.004 GB, free: 8.473 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.614e-05/0.0065, allocations: 4.375 kB / 1.004 GB, free: 8.469 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.258e-05/0.006513, allocations: 8.359 kB / 1.004 GB, free: 8.461 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001694/0.006682, allocations: 131.1 kB / 1.005 GB, free: 8.309 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.006689, allocations: 3.938 kB / 1.005 GB, free: 8.305 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.959e-06/0.006699, allocations: 4 kB / 1.005 GB, free: 8.301 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.006704, allocations: 0 / 1.005 GB, free: 8.301 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000119/0.006823, allocations: 59.94 kB / 1.005 GB, free: 8.242 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001681/0.006991, allocations: 170.6 kB / 1.005 GB, free: 8.027 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001795/0.00717, allocations: 119.8 kB / 1.005 GB, free: 7.883 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.542e-05/0.007236, allocations: 42.56 kB / 1.005 GB, free: 7.832 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.709e-05/0.007253, allocations: 11.98 kB / 1.005 GB, free: 7.82 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000145/0.007398, allocations: 113.8 kB / 1.005 GB, free: 7.688 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=8): time 9.51e-07/0.007399, allocations: 4 kB / 1.005 GB, free: 7.684 MB / 0.9636 GB Notification: Performance of matching and sorting (n=8): time 0.0003171/0.007716, allocations: 177.4 kB / 1.005 GB, free: 7.504 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.936e-05/0.007765, allocations: 128.5 kB / 1.005 GB, free: 7.348 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001411/0.007906, allocations: 200.4 kB / 1.006 GB, free: 7.145 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.449e-05/0.007921, allocations: 33.64 kB / 1.006 GB, free: 7.105 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.6e-05/0.007967, allocations: 108.1 kB / 1.006 GB, free: 6.996 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 3.145e-05/0.007998, allocations: 28.02 kB / 1.006 GB, free: 6.969 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.37e-05/0.008032, allocations: 29.72 kB / 1.006 GB, free: 6.934 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.323e-05/0.008105, allocations: 322.8 kB / 1.006 GB, free: 6.609 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.79e-05/0.008163, allocations: 31.97 kB / 1.006 GB, free: 6.578 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.582e-05/0.008239, allocations: 97.91 kB / 1.006 GB, free: 6.461 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001238/0.008363, allocations: 95.39 kB / 1.006 GB, free: 6.355 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.008365, allocations: 4.031 kB / 1.006 GB, free: 6.352 MB / 0.9636 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001739/0.008539, allocations: 149.4 kB / 1.006 GB, free: 6.199 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.00855, allocations: 4 kB / 1.006 GB, free: 6.195 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.008556, allocations: 0 / 1.006 GB, free: 6.195 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.008568, allocations: 4 kB / 1.006 GB, free: 6.191 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.803e-05/0.008646, allocations: 19.98 kB / 1.006 GB, free: 6.172 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.008651, allocations: 320 / 1.006 GB, free: 6.172 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.336e-05/0.008694, allocations: 16.03 kB / 1.007 GB, free: 6.156 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.204e-06/0.008702, allocations: 8 kB / 1.007 GB, free: 6.148 MB / 0.9636 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.223e-05/0.008774, allocations: 129.7 kB / 1.007 GB, free: 6.012 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.892e-05/0.008793, allocations: 23.83 kB / 1.007 GB, free: 5.988 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001539/0.008947, allocations: 119.1 kB / 1.007 GB, free: 5.863 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.008949, allocations: 0 / 1.007 GB, free: 5.863 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.008952, allocations: 0 / 1.007 GB, free: 5.863 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.008957, allocations: 4 kB / 1.007 GB, free: 5.859 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001092/0.009066, allocations: 168.7 kB / 1.007 GB, free: 5.652 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.009068, allocations: 7.984 kB / 1.007 GB, free: 5.645 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.987e-05/0.009108, allocations: 19.94 kB / 1.007 GB, free: 5.625 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/0.009113, allocations: 7.938 kB / 1.007 GB, free: 5.617 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.846e-06/0.009122, allocations: 3.984 kB / 1.007 GB, free: 5.613 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.009123, allocations: 0 / 1.007 GB, free: 5.613 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.009124, allocations: 4 kB / 1.007 GB, free: 5.609 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001751/0.009299, allocations: 174.8 kB / 1.007 GB, free: 5.414 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 2.018e-05/0.009319, allocations: 27.77 kB / 1.007 GB, free: 5.387 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.884e-05/0.009338, allocations: 4.094 kB / 1.007 GB, free: 5.383 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.84e-05/0.009377, allocations: 11.94 kB / 1.007 GB, free: 5.371 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.649e-05/0.009413, allocations: 11.98 kB / 1.007 GB, free: 5.359 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.495e-05/0.009428, allocations: 11.98 kB / 1.007 GB, free: 5.348 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 8.384e-05/0.009512, allocations: 144.1 kB / 1.007 GB, free: 5.207 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.009512, allocations: 0 / 1.007 GB, free: 5.207 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001824/0.009694, allocations: 51.86 kB / 1.007 GB, free: 5.156 MB / 0.9636 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.001099/0.01079, allocations: 1.155 MB / 1.009 GB, free: 4.188 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001771/0.01097, allocations: 95.81 kB / 1.009 GB, free: 4.094 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.01097, allocations: 0 / 1.009 GB, free: 4.094 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 6.964e-05/0.01104, allocations: 47.91 kB / 1.009 GB, free: 4.047 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001823/0.01122, allocations: 26.78 kB / 1.009 GB, free: 4.023 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001338/0.01256, allocations: 1.773 MB / 1.01 GB, free: 2.137 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.002e-05/0.01262, allocations: 101.3 kB / 1.011 GB, free: 2.016 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 5.519e-05/0.01268, allocations: 20.8 kB / 1.011 GB, free: 1.996 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.652e-05/0.01274, allocations: 44.47 kB / 1.011 GB, free: 1.953 MB / 0.9636 GB Notification: Performance of SimCode: time 4.11e-07/0.01274, allocations: 0 / 1.011 GB, free: 1.953 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01879/0.03153, allocations: 5.303 MB / 1.016 GB, free: 12.71 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.921/6.952, allocations: 9.938 kB / 1.016 GB, free: 12.7 MB / 0.9792 GB " [Timeout remaining time 293] (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 --stepSize=0.004484 --timeout=800 --tolerance=1e-06 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.mat","/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.06097955815494]