Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0008687/0.0008687, 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.0008593/0.0008593, 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.8897/0.8897, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.748/1.748, allocations: 377.8 MB / 0.6221 GB, free: 8.66 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_Buildings_Utilities_IO_Files_Examples_CSVReader",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="Buildings_12_Buildings_Utilities_IO_Files_Examples_CSVReader",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 0.9809 GB, free: 2.605 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.303e-05/1.427e-05, allocations: 10.22 kB / 0.9809 GB, free: 2.594 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.002014/0.002029, allocations: 1.697 MB / 0.9826 GB, free: 0.8828 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001817/0.003845, allocations: 1.734 MB / 0.9843 GB, free: 15.14 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.482e-05/0.00392, allocations: 0 / 0.9843 GB, free: 15.14 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0002559/0.004176, allocations: 35.7 kB / 0.9843 GB, free: 15.11 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0002935/0.00447, allocations: 119.3 kB / 0.9844 GB, free: 14.99 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001772/0.004647, allocations: 99.52 kB / 0.9845 GB, free: 14.89 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0001539/0.004801, allocations: 135.5 kB / 0.9847 GB, free: 14.76 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.923e-05/0.00484, allocations: 5.625 kB / 0.9847 GB, free: 14.75 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001493/0.004989, allocations: 87.69 kB / 0.9848 GB, free: 14.66 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001019/0.005091, allocations: 51.88 kB / 0.9848 GB, free: 14.61 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 1.64e-05/0.005107, allocations: 4 kB / 0.9848 GB, free: 14.61 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001387/0.005246, allocations: 107.8 kB / 0.9849 GB, free: 14.5 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 4.825e-05/0.005294, allocations: 35.84 kB / 0.9849 GB, free: 14.47 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 3.709e-05/0.005332, allocations: 23.92 kB / 0.985 GB, free: 14.45 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002304/0.005562, allocations: 211.3 kB / 0.9852 GB, free: 14.24 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.005565, allocations: 7.938 kB / 0.9852 GB, free: 14.23 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.031e-06/0.005566, allocations: 0 / 0.9852 GB, free: 14.23 MB / 0.948 GB Notification: Performance of Transformations before backend: time 3.316e-06/0.005569, allocations: 0 / 0.9852 GB, free: 14.23 MB / 0.948 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.0004582/0.006027, allocations: 389.2 kB / 0.9855 GB, free: 13.82 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.006063, allocations: 12.03 kB / 0.9856 GB, free: 13.81 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.065e-05/0.006094, allocations: 42.73 kB / 0.9856 GB, free: 13.76 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001148/0.006208, allocations: 16.89 kB / 0.9856 GB, free: 13.74 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001987/0.006407, allocations: 162.9 kB / 0.9858 GB, free: 13.55 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/0.006419, allocations: 4.375 kB / 0.9858 GB, free: 13.55 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.121e-05/0.00643, allocations: 4.375 kB / 0.9858 GB, free: 13.55 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001741/0.006604, allocations: 131 kB / 0.9859 GB, free: 13.39 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.673e-06/0.006611, allocations: 0 / 0.9859 GB, free: 13.39 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.006623, allocations: 7.922 kB / 0.9859 GB, free: 13.39 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.082e-06/0.006629, allocations: 8 kB / 0.9859 GB, free: 13.38 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001114/0.00674, allocations: 51.89 kB / 0.986 GB, free: 13.33 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001695/0.00691, allocations: 178.5 kB / 0.9861 GB, free: 13.11 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001668/0.007076, allocations: 111.8 kB / 0.9862 GB, free: 12.97 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.164e-05/0.007148, allocations: 50.61 kB / 0.9863 GB, free: 12.91 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.556e-05/0.007164, allocations: 8 kB / 0.9863 GB, free: 12.9 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000145/0.007309, allocations: 121.8 kB / 0.9864 GB, free: 12.76 MB / 0.948 GB Notification: Performance of pre-optimization done (n=8): time 8.22e-07/0.007309, allocations: 0 / 0.9864 GB, free: 12.76 MB / 0.948 GB Notification: Performance of matching and sorting (n=8): time 0.0003001/0.00761, allocations: 173.4 kB / 0.9866 GB, free: 12.59 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.905e-05/0.007659, allocations: 132.5 kB / 0.9867 GB, free: 12.43 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001367/0.007795, allocations: 203.8 kB / 0.9869 GB, free: 12.22 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.402e-05/0.007809, allocations: 29.95 kB / 0.9869 GB, free: 12.18 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.113e-05/0.00785, allocations: 104.1 kB / 0.987 GB, free: 12.08 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.174e-05/0.007882, allocations: 27.78 kB / 0.9871 GB, free: 12.05 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.516e-05/0.007917, allocations: 29.7 kB / 0.9871 GB, free: 12.02 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.222e-05/0.00799, allocations: 322.8 kB / 0.9874 GB, free: 11.69 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.136e-05/0.008051, allocations: 31.92 kB / 0.9874 GB, free: 11.66 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.655e-05/0.008127, allocations: 93.97 kB / 0.9875 GB, free: 11.55 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001254/0.008253, allocations: 103.4 kB / 0.9876 GB, free: 11.43 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.008254, allocations: 0 / 0.9876 GB, free: 11.43 MB / 0.948 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001702/0.008425, allocations: 145.6 kB / 0.9878 GB, free: 11.29 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.114e-05/0.008436, allocations: 8 kB / 0.9878 GB, free: 11.28 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.008441, allocations: 4.062 kB / 0.9878 GB, free: 11.27 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.063e-05/0.008452, allocations: 96 / 0.9878 GB, free: 11.27 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.277e-05/0.008525, allocations: 27.92 kB / 0.9878 GB, free: 11.25 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.008532, allocations: 7.984 kB / 0.9878 GB, free: 11.24 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.204e-05/0.008574, allocations: 7.984 kB / 0.9878 GB, free: 11.23 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.144e-06/0.008581, allocations: 4 kB / 0.9878 GB, free: 11.23 MB / 0.948 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.303e-05/0.008654, allocations: 132.3 kB / 0.9879 GB, free: 11.09 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.966e-05/0.008674, allocations: 19.84 kB / 0.988 GB, free: 11.07 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001568/0.00883, allocations: 115.1 kB / 0.9881 GB, free: 10.95 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.008833, allocations: 4 kB / 0.9881 GB, free: 10.95 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.008837, allocations: 7.938 kB / 0.9881 GB, free: 10.94 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.008841, allocations: 0 / 0.9881 GB, free: 10.94 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001152/0.008956, allocations: 176.6 kB / 0.9882 GB, free: 10.73 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.008957, allocations: 4.188 kB / 0.9882 GB, free: 10.72 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.507e-05/0.009002, allocations: 19.98 kB / 0.9883 GB, free: 10.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.009005, allocations: 7.875 kB / 0.9883 GB, free: 10.7 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.916e-06/0.009013, allocations: 4 kB / 0.9883 GB, free: 10.69 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.009015, allocations: 0 / 0.9883 GB, free: 10.69 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.009016, allocations: 0 / 0.9883 GB, free: 10.69 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000181/0.009197, allocations: 182.6 kB / 0.9885 GB, free: 10.49 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.783e-05/0.009215, allocations: 15.88 kB / 0.9885 GB, free: 10.47 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.927e-05/0.009234, allocations: 8 kB / 0.9885 GB, free: 10.46 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.612e-05/0.00927, allocations: 7.984 kB / 0.9885 GB, free: 10.46 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.778e-05/0.009308, allocations: 7.984 kB / 0.9885 GB, free: 10.45 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.454e-05/0.009322, allocations: 8 kB / 0.9885 GB, free: 10.44 MB / 0.948 GB Notification: Performance of sorting global known variables: time 8.759e-05/0.00941, allocations: 149.2 kB / 0.9886 GB, free: 10.3 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.00941, allocations: 0 / 0.9886 GB, free: 10.3 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001954/0.009605, allocations: 47.86 kB / 0.9887 GB, free: 10.25 MB / 0.948 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.001081/0.01069, allocations: 1.17 MB / 0.9898 GB, free: 9.266 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.000179/0.01087, allocations: 91.88 kB / 0.9899 GB, free: 9.176 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.01087, allocations: 0 / 0.9899 GB, free: 9.176 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 7.086e-05/0.01094, allocations: 47.91 kB / 0.99 GB, free: 9.129 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001844/0.01112, allocations: 27.05 kB / 0.99 GB, free: 9.105 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001597/0.01272, allocations: 1.777 MB / 0.9917 GB, free: 7.211 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.807e-05/0.01278, allocations: 101.3 kB / 0.9918 GB, free: 7.094 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 5.809e-05/0.01284, allocations: 16.64 kB / 0.9918 GB, free: 7.078 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.395e-05/0.0129, allocations: 48.47 kB / 0.9919 GB, free: 7.031 MB / 0.948 GB Notification: Performance of SimCode: time 6.81e-07/0.0129, allocations: 0 / 0.9919 GB, free: 7.031 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01658/0.02948, allocations: 5.316 MB / 0.9971 GB, free: 1.793 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.085/7.115, allocations: 4.062 kB / 0.9971 GB, free: 1.789 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; mkfifo Buildings_12_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe >> ../files/Buildings_12_Buildings.Utilities.IO.Files.Examples.CSVReader.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.IO.Files.Examples.CSVReader_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_IO_Files_Examples_CSVReader_fmu --startTime=-1.21 --stopTime=10 --stepSize=0.004484 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_IO_Files_Examples_CSVReader.fmu > Buildings_12_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.IO.Files.Examples.CSVReader_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_IO_Files_Examples_CSVReader.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.115956710651517]