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.001617/0.001617, allocations: 110 kB / 18.93 MB, free: 2.945 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.001899/0.001899, allocations: 192.7 kB / 22.23 MB, free: 5.16 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.466/1.466, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.782/2.782, allocations: 476.7 MB / 0.7646 GB, free: 9.871 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: translateModel(Buildings.Utilities.IO.Files.Examples.CSVReader,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|combiTimeTable.y.1.|combiTimeTable.y.2.|cos.y|step.y",fileNamePrefix="Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVReader") translateModel(Buildings.Utilities.IO.Files.Examples.CSVReader,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|combiTimeTable.y.1.|combiTimeTable.y.2.|cos.y|step.y",fileNamePrefix="Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVReader") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002091/0.002091, allocations: 63.89 kB / 1.11 GB, free: 6.328 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8091/0.8112, allocations: 168.8 MB / 1.274 GB, free: 4.188 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.003634/0.8148, allocations: 1.702 MB / 1.276 GB, free: 2.477 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002825/0.8176, allocations: 1.618 MB / 1.278 GB, free: 0.8516 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001247/0.8178, allocations: 4 kB / 1.278 GB, free: 0.8477 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0003374/0.8181, allocations: 39.77 kB / 1.278 GB, free: 0.8086 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002874/0.8184, allocations: 67.62 kB / 1.278 GB, free: 0.7422 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003477/0.8187, allocations: 114.9 kB / 1.278 GB, free: 0.6328 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002343/0.819, allocations: 135.5 kB / 1.278 GB, free: 0.5 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 5.849e-05/0.819, allocations: 9.312 kB / 1.278 GB, free: 0.4922 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001582/0.8192, allocations: 59.72 kB / 1.278 GB, free: 444 kB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002124/0.8194, allocations: 50.52 kB / 1.278 GB, free: 396 kB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.695e-05/0.8194, allocations: 8 kB / 1.278 GB, free: 388 kB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001595/0.8196, allocations: 63.95 kB / 1.278 GB, free: 324 kB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 5.736e-05/0.8196, allocations: 23.92 kB / 1.278 GB, free: 300 kB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 7.122e-05/0.8197, allocations: 39.73 kB / 1.278 GB, free: 260 kB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002917/0.82, allocations: 157.7 kB / 1.278 GB, free: 108 kB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.82, allocations: 0 / 1.278 GB, free: 108 kB / 0.9669 GB Notification: Performance of FrontEnd: time 1.443e-06/0.82, allocations: 4 kB / 1.278 GB, free: 104 kB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.82, allocations: 0 / 1.278 GB, free: 104 kB / 0.9669 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.0007718/0.8208, allocations: 373.4 kB / 1.279 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.8208, allocations: 8.031 kB / 1.279 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.126e-05/0.8209, allocations: 12.84 kB / 1.279 GB, free: 15.69 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003516/0.8212, allocations: 158.3 kB / 1.279 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.857e-05/0.8213, allocations: 4.359 kB / 1.279 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.983e-05/0.8213, allocations: 12.12 kB / 1.279 GB, free: 15.49 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000281/0.8216, allocations: 101 kB / 1.279 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.8216, allocations: 0 / 1.279 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.348e-05/0.8216, allocations: 0 / 1.279 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.8216, allocations: 0 / 1.279 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002052/0.8218, allocations: 55.89 kB / 1.279 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000269/0.8221, allocations: 178.5 kB / 1.279 GB, free: 15.1 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002859/0.8224, allocations: 111.8 kB / 1.279 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001267/0.8225, allocations: 50.56 kB / 1.279 GB, free: 14.9 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.461e-05/0.8225, allocations: 7.984 kB / 1.279 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002474/0.8228, allocations: 109.8 kB / 1.279 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=8): time 1.142e-06/0.8228, allocations: 0 / 1.279 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.0005431/0.8233, allocations: 161.5 kB / 1.28 GB, free: 14.6 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.462e-05/0.8234, allocations: 136.5 kB / 1.28 GB, free: 14.44 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002031/0.8236, allocations: 182.2 kB / 1.28 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.234e-05/0.8236, allocations: 25.95 kB / 1.28 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.981e-05/0.8237, allocations: 104.1 kB / 1.28 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.906e-05/0.8237, allocations: 23.78 kB / 1.28 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.412e-05/0.8238, allocations: 29.7 kB / 1.28 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001421/0.8239, allocations: 322.8 kB / 1.28 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001139/0.824, allocations: 31.92 kB / 1.28 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001519/0.8242, allocations: 68.27 kB / 1.28 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002422/0.8244, allocations: 95.34 kB / 1.281 GB, free: 13.51 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.8244, allocations: 0 / 1.281 GB, free: 13.51 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003337/0.8248, allocations: 137.7 kB / 1.281 GB, free: 13.37 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.8248, allocations: 8 kB / 1.281 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.8248, allocations: 4.062 kB / 1.281 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.8248, allocations: 0 / 1.281 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001333/0.8249, allocations: 23.92 kB / 1.281 GB, free: 13.33 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.336e-06/0.825, allocations: 4 kB / 1.281 GB, free: 13.33 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.767e-05/0.825, allocations: 15.88 kB / 1.281 GB, free: 13.31 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.092e-05/0.8251, allocations: 8.094 kB / 1.281 GB, free: 13.3 MB / 0.9825 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.0001223/0.8252, allocations: 125.8 kB / 1.281 GB, free: 13.17 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.459e-05/0.8252, allocations: 15.94 kB / 1.281 GB, free: 13.16 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002586/0.8255, allocations: 107 kB / 1.281 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.8255, allocations: 0 / 1.281 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.8255, allocations: 7.984 kB / 1.281 GB, free: 13.03 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.8255, allocations: 0 / 1.281 GB, free: 13.03 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001914/0.8257, allocations: 180.6 kB / 1.281 GB, free: 12.81 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.8257, allocations: 0 / 1.281 GB, free: 12.81 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.394e-05/0.8258, allocations: 16 kB / 1.281 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.8258, allocations: 0 / 1.281 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.533e-05/0.8258, allocations: 7.984 kB / 1.281 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.8258, allocations: 0 / 1.281 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.8258, allocations: 0 / 1.281 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003642/0.8261, allocations: 174.6 kB / 1.281 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.844e-05/0.8262, allocations: 15.91 kB / 1.281 GB, free: 12.58 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.244e-05/0.8262, allocations: 4 kB / 1.281 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.132e-05/0.8263, allocations: 7.984 kB / 1.281 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.835e-05/0.8263, allocations: 12.17 kB / 1.281 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.751e-05/0.8264, allocations: 4 kB / 1.281 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001411/0.8265, allocations: 140.2 kB / 1.282 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.8265, allocations: 0 / 1.282 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002661/0.8268, allocations: 35.94 kB / 1.282 GB, free: 12.38 MB / 0.9825 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.001681/0.8284, allocations: 436.6 kB / 1.282 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003409/0.8288, allocations: 95.81 kB / 1.282 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.8288, allocations: 0 / 1.282 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001387/0.8289, allocations: 36.11 kB / 1.282 GB, free: 11.99 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000302/0.8292, allocations: 46.34 kB / 1.282 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005352/0.8298, allocations: 245.2 kB / 1.282 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003397/0.8301, allocations: 0.7118 MB / 1.283 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.618e-05/0.8302, allocations: 24.94 kB / 1.283 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.98e-05/0.8302, allocations: 15.44 kB / 1.283 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of SimCode: time 4.3e-07/0.8302, allocations: 4 kB / 1.283 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of Templates: time 0.00575/0.836, allocations: 2.084 MB / 1.285 GB, free: 8.828 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVReader.makefile [Timeout 300] (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 & ./Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVReader -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1) [Timeout 400] 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/jenkins/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] Reference file matches [Calling sys.exit(0), Time elapsed: 8.724487643688917]