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.001106/0.001106, allocations: 83.59 kB / 20.45 MB, free: 4.117 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.001212/0.001212, allocations: 161 kB / 23.82 MB, free: 0.7461 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.9918/0.9918, allocations: 177.1 MB / 204.2 MB, free: 5.637 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.895/1.895, allocations: 377.9 MB / 0.6236 GB, free: 8.543 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: translateModel(Buildings.Utilities.IO.Files.Examples.CSVReader,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|combiTimeTable.y.[0-9,]+.|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.[0-9,]+.|cos.y|step.y",fileNamePrefix="Buildings_12_Buildings.Utilities.IO.Files.Examples.CSVReader") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 0.8115 GB, free: 1.742 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.293e-05/2.441e-05, allocations: 2.312 kB / 0.8115 GB, free: 1.738 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.002355/0.002379, allocations: 1.747 MB / 0.8132 GB, free: 15.99 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.001799/0.004179, allocations: 1.784 MB / 0.815 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.819e-05/0.004267, allocations: 0 / 0.815 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0002928/0.00456, allocations: 41.3 kB / 0.815 GB, free: 14.17 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0003402/0.0049, allocations: 119.3 kB / 0.8151 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002126/0.005112, allocations: 96.3 kB / 0.8152 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001881/0.0053, allocations: 139.5 kB / 0.8154 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 4.356e-05/0.005344, allocations: 10.16 kB / 0.8154 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001852/0.005529, allocations: 89.28 kB / 0.8154 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001248/0.005654, allocations: 45.94 kB / 0.8155 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.988e-05/0.005674, allocations: 8 kB / 0.8155 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000153/0.005827, allocations: 103.9 kB / 0.8156 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 5.724e-05/0.005884, allocations: 35.83 kB / 0.8156 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 4.476e-05/0.005929, allocations: 24.59 kB / 0.8157 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002674/0.006196, allocations: 187.3 kB / 0.8158 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.006199, allocations: 1.219 kB / 0.8158 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.142e-06/0.0062, allocations: 4 kB / 0.8158 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.006206, allocations: 0 / 0.8158 GB, free: 13.32 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.0005534/0.006759, allocations: 496.6 kB / 0.8163 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.006798, allocations: 12.03 kB / 0.8163 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000148/0.006946, allocations: 22.22 kB / 0.8163 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002191/0.007165, allocations: 173.6 kB / 0.8165 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.922e-05/0.007185, allocations: 384 / 0.8165 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.435e-05/0.007199, allocations: 6.125 kB / 0.8165 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001841/0.007383, allocations: 143.3 kB / 0.8167 GB, free: 12.4 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.007395, allocations: 3.938 kB / 0.8167 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.007407, allocations: 0 / 0.8167 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.007415, allocations: 5.781 kB / 0.8167 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.106e-05/0.007476, allocations: 23.92 kB / 0.8167 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001631/0.007639, allocations: 160.1 kB / 0.8168 GB, free: 12.17 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001463/0.007785, allocations: 110 kB / 0.8169 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.817e-05/0.007833, allocations: 43.17 kB / 0.817 GB, free: 11.97 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.703e-05/0.00785, allocations: 2.312 kB / 0.817 GB, free: 11.97 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000133/0.007983, allocations: 112 kB / 0.8171 GB, free: 11.83 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=8): time 1.182e-06/0.007984, allocations: 0 / 0.8171 GB, free: 11.83 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8): time 0.0002502/0.008235, allocations: 117.4 kB / 0.8172 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.123e-05/0.008286, allocations: 138.5 kB / 0.8173 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001712/0.008457, allocations: 234.7 kB / 0.8176 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.205e-05/0.008479, allocations: 33.69 kB / 0.8176 GB, free: 11.26 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.867e-05/0.008548, allocations: 150.9 kB / 0.8177 GB, free: 11.11 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.71e-05/0.008585, allocations: 27.78 kB / 0.8178 GB, free: 11.08 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.835e-05/0.008623, allocations: 31.81 kB / 0.8178 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001132/0.008736, allocations: 0.5006 MB / 0.8183 GB, free: 10.53 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.928e-05/0.008766, allocations: 8 kB / 0.8183 GB, free: 10.52 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.036e-05/0.008826, allocations: 89.97 kB / 0.8184 GB, free: 10.41 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.566e-05/0.008902, allocations: 66.67 kB / 0.8184 GB, free: 10.33 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.008905, allocations: 6.406 kB / 0.8184 GB, free: 10.32 MB / 0.7761 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001336/0.009039, allocations: 97.78 kB / 0.8185 GB, free: 10.22 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.009052, allocations: 8 kB / 0.8185 GB, free: 10.21 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.009058, allocations: 3.938 kB / 0.8186 GB, free: 10.21 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.009072, allocations: 5.156 kB / 0.8186 GB, free: 10.21 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.773e-05/0.00916, allocations: 19.98 kB / 0.8186 GB, free: 10.19 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.112e-06/0.009166, allocations: 4 kB / 0.8186 GB, free: 10.18 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.025e-05/0.009206, allocations: 12.55 kB / 0.8186 GB, free: 10.17 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.855e-06/0.009214, allocations: 4 kB / 0.8186 GB, free: 10.17 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 8.111e-05/0.009295, allocations: 165.3 kB / 0.8188 GB, free: 9.996 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.289e-05/0.009318, allocations: 16.75 kB / 0.8188 GB, free: 9.98 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001554/0.009474, allocations: 111 kB / 0.8189 GB, free: 9.867 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.009476, allocations: 3.594 kB / 0.8189 GB, free: 9.867 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.009479, allocations: 0 / 0.8189 GB, free: 9.867 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.009485, allocations: 4 kB / 0.8189 GB, free: 9.863 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001122/0.009597, allocations: 160.5 kB / 0.819 GB, free: 9.672 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.009599, allocations: 0 / 0.819 GB, free: 9.672 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.439e-05/0.009643, allocations: 15.98 kB / 0.8191 GB, free: 9.656 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.009645, allocations: 3.938 kB / 0.8191 GB, free: 9.652 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-06/0.009654, allocations: 4 kB / 0.8191 GB, free: 9.648 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.305e-06/0.009657, allocations: 3.938 kB / 0.8191 GB, free: 9.645 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.009658, allocations: 2.094 kB / 0.8191 GB, free: 9.645 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001472/0.009805, allocations: 167.6 kB / 0.8192 GB, free: 9.449 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.111e-05/0.009826, allocations: 15.89 kB / 0.8192 GB, free: 9.434 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.05e-05/0.009846, allocations: 4 kB / 0.8192 GB, free: 9.43 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.646e-05/0.009883, allocations: 15.92 kB / 0.8193 GB, free: 9.414 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.355e-05/0.009926, allocations: 8.922 kB / 0.8193 GB, free: 9.406 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.122e-05/0.009948, allocations: 4 kB / 0.8193 GB, free: 9.402 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 8.904e-05/0.01004, allocations: 181 kB / 0.8194 GB, free: 9.227 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.01004, allocations: 1.125 kB / 0.8194 GB, free: 9.227 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001942/0.01023, allocations: 47.81 kB / 0.8195 GB, free: 9.18 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.001095/0.01133, allocations: 0.494 MB / 0.82 GB, free: 8.871 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001415/0.01147, allocations: 67.47 kB / 0.82 GB, free: 8.801 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.01147, allocations: 0 / 0.82 GB, free: 8.801 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 4.846e-05/0.01152, allocations: 35.66 kB / 0.8201 GB, free: 8.762 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002025/0.01172, allocations: 37.59 kB / 0.8201 GB, free: 8.727 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006039/0.01232, allocations: 263.7 kB / 0.8204 GB, free: 8.434 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.171e-05/0.01237, allocations: 71.33 kB / 0.8204 GB, free: 8.344 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 5.353e-05/0.01242, allocations: 17.11 kB / 0.8204 GB, free: 8.328 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.871e-05/0.01247, allocations: 28.48 kB / 0.8205 GB, free: 8.297 MB / 0.7761 GB Notification: Performance of SimCode: time 6.41e-07/0.01247, allocations: 0 / 0.8205 GB, free: 8.297 MB / 0.7761 GB Notification: Performance of Templates: time 0.004666/0.01713, allocations: 2.657 MB / 0.8231 GB, free: 5.688 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.251923508010805]