Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0014/0.0014, allocations: 106.8 kB / 17.54 MB, free: 4.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001358/0.001358, allocations: 185.9 kB / 20.71 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.273/1.273, allocations: 225.6 MB / 249.3 MB, free: 3.18 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.444/2.444, allocations: 476.7 MB / 0.7628 GB, free: 15.17 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Utilities_IO_Files_Examples_CSVReader",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="Buildings_11_Buildings_Utilities_IO_Files_Examples_CSVReader",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001783/0.001783, allocations: 67.89 kB / 1.107 GB, free: 5.145 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7469/0.7487, allocations: 168.7 MB / 1.271 GB, free: 7.707 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.002314/0.751, allocations: 1.712 MB / 1.273 GB, free: 6.547 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001602/0.7526, allocations: 1.579 MB / 1.275 GB, free: 5.438 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.198e-05/0.7527, allocations: 4.781 kB / 1.275 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002132/0.7529, allocations: 40.47 kB / 1.275 GB, free: 5.41 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.00019/0.7531, allocations: 69.98 kB / 1.275 GB, free: 5.367 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002301/0.7533, allocations: 117.2 kB / 1.275 GB, free: 5.305 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001519/0.7535, allocations: 122.8 kB / 1.275 GB, free: 5.25 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.261e-05/0.7535, allocations: 9.312 kB / 1.275 GB, free: 5.246 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001061/0.7536, allocations: 61.97 kB / 1.275 GB, free: 5.215 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001505/0.7538, allocations: 51.23 kB / 1.275 GB, free: 5.191 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.258e-05/0.7538, allocations: 6.562 kB / 1.275 GB, free: 5.191 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001111/0.7539, allocations: 61.88 kB / 1.275 GB, free: 5.176 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 4.73e-05/0.7539, allocations: 24.97 kB / 1.275 GB, free: 5.16 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 5.113e-05/0.754, allocations: 41.19 kB / 1.275 GB, free: 5.133 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002026/0.7542, allocations: 158 kB / 1.275 GB, free: 5.062 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.7542, allocations: 1.062 kB / 1.275 GB, free: 5.062 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.252e-06/0.7542, allocations: 0 / 1.275 GB, free: 5.062 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.18e-06/0.7542, allocations: 0 / 1.275 GB, free: 5.062 MB / 0.9981 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.0004657/0.7547, allocations: 443.8 kB / 1.276 GB, free: 4.641 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.172e-05/0.7547, allocations: 9.469 kB / 1.276 GB, free: 4.641 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.367e-05/0.7547, allocations: 36.25 kB / 1.276 GB, free: 4.598 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.782e-05/0.7548, allocations: 15.91 kB / 1.276 GB, free: 4.59 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000191/0.755, allocations: 220.8 kB / 1.276 GB, free: 4.367 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.282e-05/0.755, allocations: 2.984 kB / 1.276 GB, free: 4.367 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.599e-05/0.755, allocations: 10.03 kB / 1.276 GB, free: 4.359 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001895/0.7552, allocations: 99.86 kB / 1.276 GB, free: 4.281 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.7552, allocations: 0 / 1.276 GB, free: 4.281 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.094e-05/0.7552, allocations: 1.516 kB / 1.276 GB, free: 4.281 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.7552, allocations: 1.656 kB / 1.276 GB, free: 4.281 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001607/0.7554, allocations: 61.14 kB / 1.276 GB, free: 4.262 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001488/0.7555, allocations: 213.8 kB / 1.276 GB, free: 4.031 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002238/0.7557, allocations: 116.3 kB / 1.277 GB, free: 3.934 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001038/0.7558, allocations: 42.52 kB / 1.277 GB, free: 3.906 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.323e-05/0.7559, allocations: 9.219 kB / 1.277 GB, free: 3.902 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001762/0.756, allocations: 113.2 kB / 1.277 GB, free: 3.809 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=8): time 1.803e-06/0.756, allocations: 4.766 kB / 1.277 GB, free: 3.805 MB / 0.9981 GB Notification: Performance of matching and sorting (n=8): time 0.000441/0.7565, allocations: 157 kB / 1.277 GB, free: 3.742 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.975e-05/0.7565, allocations: 133.6 kB / 1.277 GB, free: 3.582 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001288/0.7566, allocations: 184.4 kB / 1.277 GB, free: 3.449 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.107e-05/0.7567, allocations: 30.14 kB / 1.277 GB, free: 3.418 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.054e-05/0.7567, allocations: 102.3 kB / 1.277 GB, free: 3.32 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.783e-05/0.7567, allocations: 25.89 kB / 1.277 GB, free: 3.301 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.675e-05/0.7567, allocations: 23.64 kB / 1.277 GB, free: 3.281 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.982e-05/0.7568, allocations: 326.7 kB / 1.278 GB, free: 2.961 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.624e-05/0.7569, allocations: 31.23 kB / 1.278 GB, free: 2.953 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.806e-05/0.757, allocations: 65.19 kB / 1.278 GB, free: 2.902 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001888/0.7572, allocations: 95.47 kB / 1.278 GB, free: 2.844 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.7572, allocations: 5.062 kB / 1.278 GB, free: 2.84 MB / 0.9981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002652/0.7574, allocations: 129.6 kB / 1.278 GB, free: 2.777 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.7574, allocations: 5.75 kB / 1.278 GB, free: 2.777 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.7575, allocations: 0.875 kB / 1.278 GB, free: 2.777 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.7575, allocations: 5.719 kB / 1.278 GB, free: 2.773 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001141/0.7576, allocations: 24.11 kB / 1.278 GB, free: 2.77 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.7576, allocations: 5.969 kB / 1.278 GB, free: 2.766 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.797e-05/0.7577, allocations: 20.5 kB / 1.278 GB, free: 2.754 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.358e-06/0.7577, allocations: 3.812 kB / 1.278 GB, free: 2.754 MB / 0.9981 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 6.749e-05/0.7577, allocations: 128.1 kB / 1.278 GB, free: 2.629 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.74e-05/0.7578, allocations: 10.73 kB / 1.278 GB, free: 2.625 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002021/0.758, allocations: 112.4 kB / 1.278 GB, free: 2.551 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.758, allocations: 1.062 kB / 1.278 GB, free: 2.551 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.758, allocations: 2 kB / 1.278 GB, free: 2.551 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.758, allocations: 4 kB / 1.278 GB, free: 2.547 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001116/0.7581, allocations: 206.4 kB / 1.278 GB, free: 2.336 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.7581, allocations: 0.8438 kB / 1.278 GB, free: 2.336 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.124e-05/0.7582, allocations: 13.39 kB / 1.278 GB, free: 2.336 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.7582, allocations: 1.219 kB / 1.278 GB, free: 2.336 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/0.7582, allocations: 3.688 kB / 1.278 GB, free: 2.336 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.7582, allocations: 4.938 kB / 1.278 GB, free: 2.332 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.7582, allocations: 1.547 kB / 1.278 GB, free: 2.332 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002749/0.7585, allocations: 173.7 kB / 1.279 GB, free: 2.211 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.355e-05/0.7585, allocations: 86.22 kB / 1.279 GB, free: 2.113 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.514e-05/0.7585, allocations: 3.406 kB / 1.279 GB, free: 2.113 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.401e-05/0.7586, allocations: 11.53 kB / 1.279 GB, free: 2.109 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.35e-05/0.7586, allocations: 7.516 kB / 1.279 GB, free: 2.109 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.579e-05/0.7586, allocations: 12.16 kB / 1.279 GB, free: 2.102 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 9.063e-05/0.7587, allocations: 130.5 kB / 1.279 GB, free: 2.012 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7.1e-08/0.7587, allocations: 1.188 kB / 1.279 GB, free: 2.012 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002292/0.759, allocations: 34.31 kB / 1.279 GB, free: 2.004 MB / 0.9981 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 (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.001717/0.7607, allocations: 1.054 MB / 1.28 GB, free: 1.23 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002577/0.7609, allocations: 84.95 kB / 1.28 GB, free: 1.207 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.7609, allocations: 0 / 1.28 GB, free: 1.207 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001153/0.7611, allocations: 36.91 kB / 1.28 GB, free: 1.199 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002494/0.7613, allocations: 35.22 kB / 1.28 GB, free: 1.188 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001562/0.7629, allocations: 1.696 MB / 1.282 GB, free: 15.81 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003074/0.7632, allocations: 0.7046 MB / 1.282 GB, free: 15.11 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 7.055e-05/0.7632, allocations: 21.45 kB / 1.282 GB, free: 15.11 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.529e-05/0.7633, allocations: 48.19 kB / 1.282 GB, free: 15.08 MB / 1.014 GB Notification: Performance of SimCode: time 3.31e-07/0.7633, allocations: 3.938 kB / 1.282 GB, free: 15.07 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02723/0.7905, allocations: 3.876 MB / 1.286 GB, free: 14.2 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.26/8.05, allocations: 7.422 kB / 1.286 GB, free: 14.2 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; mkfifo Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe >> ../files/Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVReader.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVReader_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_IO_Files_Examples_CSVReader_fmu --startTime=-1.21 --stopTime=10 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_IO_Files_Examples_CSVReader.fmu > Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVReader_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_IO_Files_Examples_CSVReader.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVReader.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,combiTimeTable.y[1],combiTimeTable.y[2],cos.y,step.y Variables in the result:combiTimeTable.columns[1],combiTimeTable.columns[2],combiTimeTable.extrapolation,combiTimeTable.nout,combiTimeTable.offset[1],combiTimeTable.shiftTime,combiTimeTable.smoothness,combiTimeTable.startTime,combiTimeTable.t_max,combiTimeTable.t_maxScaled,combiTimeTable.t_min,combiTimeTable.t_minScaled,combiTimeTable.tableOnFile,combiTimeTable.timeEvents,combiTimeTable.timeScale,combiTimeTable.verboseExtrapolation,combiTimeTable.verboseRead,combiTimeTable.y[1],combiTimeTable.y[2],cos.amplitude,cos.f,cos.offset,cos.phase,cos.startTime,cos.y,step.height,step.offset,step.startTime,step.y,time [Calling sys.exit(0), Time elapsed: 13.315706096000213]