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.001857/0.001857, allocations: 87.69 kB / 20.24 MB, free: 4.188 MB / 18.57 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.003006/0.003006, allocations: 161.3 kB / 23.55 MB, free: 0.875 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 1.545/1.545, allocations: 177.1 MB / 203.9 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 178] 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 3.061/3.061, allocations: 377.8 MB / 0.6232 GB, free: 8.543 MB / 0.5886 GB " [Timeout remaining time 176] 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: 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_12_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_12_Buildings.Utilities.IO.Files.Examples.CSVReader") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 0 / 0.8108 GB, free: 2.137 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.844e-05/2.985e-05, allocations: 9.5 kB / 0.8108 GB, free: 2.129 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.003499/0.003529, allocations: 1.718 MB / 0.8125 GB, free: 428 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.002908/0.006436, allocations: 1.756 MB / 0.8142 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.293e-05/0.006509, allocations: 1 kB / 0.8142 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.000289/0.006798, allocations: 43.64 kB / 0.8142 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0003858/0.007184, allocations: 115.9 kB / 0.8143 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002445/0.007429, allocations: 96.73 kB / 0.8144 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002386/0.007667, allocations: 147.5 kB / 0.8146 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 4.07e-05/0.007708, allocations: 10.45 kB / 0.8146 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002291/0.007937, allocations: 83.73 kB / 0.8147 GB, free: 14.17 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001996/0.008137, allocations: 48.97 kB / 0.8147 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.92e-05/0.008166, allocations: 8 kB / 0.8147 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002097/0.008376, allocations: 107.8 kB / 0.8148 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 7.325e-05/0.008449, allocations: 33.34 kB / 0.8149 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 6.422e-05/0.008513, allocations: 23.92 kB / 0.8149 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0004163/0.008929, allocations: 211.3 kB / 0.8151 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.129e-05/0.008941, allocations: 4 kB / 0.8151 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.143e-06/0.008942, allocations: 1.531 kB / 0.8151 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.008948, allocations: 0 / 0.8151 GB, free: 13.74 MB / 0.7761 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.0009565/0.009904, allocations: 499.1 kB / 0.8156 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 6.116e-05/0.009965, allocations: 12.03 kB / 0.8156 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002542/0.01022, allocations: 26.11 kB / 0.8156 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003649/0.01058, allocations: 165.7 kB / 0.8158 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.788e-05/0.0106, allocations: 2.219 kB / 0.8158 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.148e-05/0.01062, allocations: 8.375 kB / 0.8158 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003234/0.01095, allocations: 130.7 kB / 0.8159 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/0.01096, allocations: 3.938 kB / 0.8159 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.963e-05/0.01098, allocations: 3.984 kB / 0.8159 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.01099, allocations: 5.344 kB / 0.8159 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001802/0.01117, allocations: 39.91 kB / 0.8159 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003038/0.01147, allocations: 177.4 kB / 0.8161 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003464/0.01182, allocations: 129.2 kB / 0.8162 GB, free: 12.4 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001288/0.01195, allocations: 51.73 kB / 0.8163 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.615e-05/0.01197, allocations: 8.578 kB / 0.8163 GB, free: 12.33 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002706/0.01224, allocations: 122 kB / 0.8164 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=8): time 1.192e-06/0.01225, allocations: 0 / 0.8164 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8): time 0.0005425/0.01279, allocations: 153.4 kB / 0.8166 GB, free: 12.03 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001077/0.0129, allocations: 137 kB / 0.8167 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002977/0.01319, allocations: 267.9 kB / 0.8169 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.975e-05/0.01322, allocations: 25.7 kB / 0.817 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001168/0.01334, allocations: 160.3 kB / 0.8171 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.555e-05/0.01339, allocations: 27.8 kB / 0.8171 GB, free: 11.37 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.773e-05/0.01345, allocations: 35.36 kB / 0.8172 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002793/0.01373, allocations: 0.4962 MB / 0.8177 GB, free: 10.82 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.074e-05/0.01382, allocations: 24.61 kB / 0.8177 GB, free: 10.79 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001519/0.01398, allocations: 97.19 kB / 0.8178 GB, free: 10.67 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002162/0.01419, allocations: 103.7 kB / 0.8179 GB, free: 10.55 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.01419, allocations: 0.7188 kB / 0.8179 GB, free: 10.55 MB / 0.7761 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002964/0.01449, allocations: 130.3 kB / 0.818 GB, free: 10.42 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.01451, allocations: 8.922 kB / 0.818 GB, free: 10.41 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.876e-06/0.01451, allocations: 3.938 kB / 0.818 GB, free: 10.41 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.01453, allocations: 5.344 kB / 0.818 GB, free: 10.41 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001209/0.01465, allocations: 15.98 kB / 0.818 GB, free: 10.39 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.731e-05/0.01467, allocations: 4 kB / 0.818 GB, free: 10.39 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.651e-05/0.01475, allocations: 8.906 kB / 0.818 GB, free: 10.38 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.273e-05/0.01476, allocations: 4 kB / 0.818 GB, free: 10.38 MB / 0.7761 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.0003747/0.01513, allocations: 170.8 kB / 0.8182 GB, free: 10.2 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.661e-05/0.01518, allocations: 23.89 kB / 0.8182 GB, free: 10.18 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002692/0.01545, allocations: 115 kB / 0.8183 GB, free: 10.06 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.01545, allocations: 4 kB / 0.8183 GB, free: 10.05 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.01546, allocations: 0 / 0.8183 GB, free: 10.05 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.01546, allocations: 0 / 0.8183 GB, free: 10.05 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002115/0.01567, allocations: 172 kB / 0.8185 GB, free: 9.855 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.01567, allocations: 0 / 0.8185 GB, free: 9.855 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.418e-05/0.01576, allocations: 15.94 kB / 0.8185 GB, free: 9.84 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.01576, allocations: 0 / 0.8185 GB, free: 9.84 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.655e-05/0.01578, allocations: 7.984 kB / 0.8185 GB, free: 9.832 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.01578, allocations: 3.938 kB / 0.8185 GB, free: 9.828 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.01578, allocations: 0 / 0.8185 GB, free: 9.828 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003601/0.01614, allocations: 183.6 kB / 0.8187 GB, free: 9.617 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.693e-05/0.01618, allocations: 24.66 kB / 0.8187 GB, free: 9.594 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.732e-05/0.01621, allocations: 0 / 0.8187 GB, free: 9.594 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.919e-05/0.01629, allocations: 12.42 kB / 0.8187 GB, free: 9.582 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.367e-05/0.01634, allocations: 11.98 kB / 0.8188 GB, free: 9.57 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.195e-05/0.01636, allocations: 8.625 kB / 0.8188 GB, free: 9.562 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001831/0.01654, allocations: 193.7 kB / 0.819 GB, free: 9.375 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.2e-07/0.01654, allocations: 0 / 0.819 GB, free: 9.375 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002932/0.01684, allocations: 56.28 kB / 0.819 GB, free: 9.32 MB / 0.7761 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.003342/0.02018, allocations: 0.5356 MB / 0.8195 GB, free: 9.012 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0003089/0.02049, allocations: 83.53 kB / 0.8196 GB, free: 8.926 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.604e-06/0.02049, allocations: 0 / 0.8196 GB, free: 8.926 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001517/0.02064, allocations: 51.59 kB / 0.8197 GB, free: 8.871 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003305/0.02097, allocations: 48.42 kB / 0.8197 GB, free: 8.832 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006328/0.02161, allocations: 265.7 kB / 0.82 GB, free: 8.539 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001112/0.02172, allocations: 97.66 kB / 0.8201 GB, free: 8.422 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 8.029e-05/0.0218, allocations: 21.66 kB / 0.8201 GB, free: 8.402 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.509e-05/0.02186, allocations: 24.48 kB / 0.8201 GB, free: 8.379 MB / 0.7761 GB Notification: Performance of SimCode: time 6.71e-07/0.02186, allocations: 0 / 0.8201 GB, free: 8.379 MB / 0.7761 GB Notification: Performance of Templates: time 0.007143/0.02901, allocations: 2.664 MB / 0.8227 GB, free: 5.762 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.IO.Files.Examples.CSVReader.makefile [Timeout 300] (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 & ./Buildings_12_Buildings.Utilities.IO.Files.Examples.CSVReader -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1) [Timeout 240] 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: 8.013834625016898]