Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.DC.Lines.Examples.Resistance.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.0008393/0.0008393, allocations: 71.75 kB / 20.97 MB, free: 3.574 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.000906/0.000906, allocations: 169 kB / 24.28 MB, free: 276 kB / 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.9671/0.9671, allocations: 177.1 MB / 204.6 MB, free: 5.633 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.882/1.882, allocations: 377.8 MB / 0.6239 GB, free: 8.547 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.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen.I",fileNamePrefix="Buildings_12_Buildings.Electrical.DC.Lines.Examples.Resistance") translateModel(Buildings.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen.I",fileNamePrefix="Buildings_12_Buildings.Electrical.DC.Lines.Examples.Resistance") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.883e-06/1.883e-06, allocations: 0 / 0.8115 GB, free: 0.9219 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.619e-05/2.807e-05, allocations: 2.312 kB / 0.8115 GB, free: 0.918 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.Resistance): time 0.007541/0.007569, allocations: 3.188 MB / 0.8146 GB, free: 13.74 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.005106/0.01267, allocations: 1.368 MB / 0.8159 GB, free: 12.37 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001612/0.01284, allocations: 7.938 kB / 0.816 GB, free: 12.36 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0008605/0.0137, allocations: 344.1 kB / 0.8163 GB, free: 12.03 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.003453/0.01715, allocations: 160.3 kB / 0.8164 GB, free: 11.87 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003762/0.01753, allocations: 137.1 kB / 0.8166 GB, free: 11.74 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0003879/0.01791, allocations: 314.8 kB / 0.8169 GB, free: 11.43 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003987/0.01831, allocations: 181.2 kB / 0.817 GB, free: 11.25 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002272/0.01854, allocations: 179.6 kB / 0.8172 GB, free: 11.08 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003117/0.01885, allocations: 124.2 kB / 0.8173 GB, free: 10.96 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 3.486e-05/0.01889, allocations: 21.25 kB / 0.8173 GB, free: 10.94 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002814/0.01917, allocations: 151.6 kB / 0.8175 GB, free: 10.79 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 9.903e-05/0.01927, allocations: 87.73 kB / 0.8176 GB, free: 10.7 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 9.919e-05/0.01936, allocations: 82.08 kB / 0.8177 GB, free: 10.62 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.003434/0.0228, allocations: 263.1 kB / 0.8179 GB, free: 10.37 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.0228, allocations: 0 / 0.8179 GB, free: 10.37 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.422e-06/0.02281, allocations: 0 / 0.8179 GB, free: 10.37 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 8.056e-06/0.02281, allocations: 0 / 0.8179 GB, free: 10.37 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0007203/0.02353, allocations: 0.547 MB / 0.8184 GB, free: 9.781 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.02357, allocations: 13.44 kB / 0.8185 GB, free: 9.77 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005809/0.02415, allocations: 116.6 kB / 0.8186 GB, free: 9.656 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002748/0.02443, allocations: 189.8 kB / 0.8187 GB, free: 9.445 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.725e-05/0.02445, allocations: 12.75 kB / 0.8188 GB, free: 9.434 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.114e-05/0.02448, allocations: 21.5 kB / 0.8188 GB, free: 9.414 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004918/0.02497, allocations: 298.3 kB / 0.8191 GB, free: 9.078 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.02498, allocations: 192 / 0.8191 GB, free: 9.078 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.344e-05/0.025, allocations: 8.969 kB / 0.8191 GB, free: 9.07 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-05/0.02504, allocations: 25.48 kB / 0.8191 GB, free: 9.047 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001746/0.02522, allocations: 88.69 kB / 0.8192 GB, free: 8.961 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004211/0.02943, allocations: 1.238 MB / 0.8204 GB, free: 7.656 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001878/0.02962, allocations: 75.59 kB / 0.8205 GB, free: 7.57 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.271e-05/0.02966, allocations: 20.22 kB / 0.8205 GB, free: 7.547 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 9.368e-06/0.02967, allocations: 4.875 kB / 0.8205 GB, free: 7.543 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.946e-05/0.0297, allocations: 45.25 kB / 0.8205 GB, free: 7.488 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 1.483e-06/0.0297, allocations: 0.8125 kB / 0.8205 GB, free: 7.488 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.0003684/0.03007, allocations: 115.1 kB / 0.8206 GB, free: 7.367 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.895e-05/0.0301, allocations: 51.41 kB / 0.8207 GB, free: 7.305 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001693/0.03027, allocations: 242.8 kB / 0.8209 GB, free: 7.051 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.477e-05/0.03028, allocations: 29.7 kB / 0.8209 GB, free: 7.016 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 9.792e-05/0.03038, allocations: 215.9 kB / 0.8212 GB, free: 6.801 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.126e-05/0.0304, allocations: 27.8 kB / 0.8212 GB, free: 6.773 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.641e-05/0.03046, allocations: 35.38 kB / 0.8212 GB, free: 6.73 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001298/0.03059, allocations: 0.4968 MB / 0.8217 GB, free: 6.223 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.544e-05/0.03063, allocations: 15.92 kB / 0.8217 GB, free: 6.207 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.564e-05/0.03072, allocations: 113.5 kB / 0.8218 GB, free: 6.055 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001446/0.03086, allocations: 148.5 kB / 0.822 GB, free: 5.871 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.03087, allocations: 4 kB / 0.822 GB, free: 5.867 MB / 0.7292 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002511/0.03112, allocations: 163.8 kB / 0.8221 GB, free: 5.699 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.03113, allocations: 4 kB / 0.8221 GB, free: 5.695 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.03114, allocations: 4 kB / 0.8221 GB, free: 5.691 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002106/0.03135, allocations: 40 kB / 0.8222 GB, free: 5.652 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.938e-05/0.03144, allocations: 28.05 kB / 0.8222 GB, free: 5.625 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003998/0.03544, allocations: 1.744 MB / 0.8239 GB, free: 3.754 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.739e-05/0.03553, allocations: 15.89 kB / 0.8239 GB, free: 3.738 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.126e-05/0.03555, allocations: 12.44 kB / 0.8239 GB, free: 3.727 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001096/0.03566, allocations: 166.4 kB / 0.8241 GB, free: 3.555 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.817e-05/0.03569, allocations: 19.91 kB / 0.8241 GB, free: 3.535 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.075e-05/0.03571, allocations: 13.45 kB / 0.8241 GB, free: 3.523 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.075e-06/0.03572, allocations: 8.594 kB / 0.8241 GB, free: 3.516 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.885e-06/0.03572, allocations: 0 / 0.8241 GB, free: 3.516 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.03572, allocations: 2.094 kB / 0.8241 GB, free: 3.516 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004077/0.03613, allocations: 393 kB / 0.8245 GB, free: 3.086 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.03613, allocations: 0 / 0.8245 GB, free: 3.086 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.974e-05/0.03616, allocations: 7.984 kB / 0.8245 GB, free: 3.078 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001248/0.03629, allocations: 30.92 kB / 0.8245 GB, free: 3.047 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.345e-06/0.0363, allocations: 4 kB / 0.8245 GB, free: 3.043 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009543/0.03725, allocations: 1.729 MB / 0.8262 GB, free: 1.191 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.03725, allocations: 4 kB / 0.8262 GB, free: 1.188 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001761/0.03743, allocations: 248.4 kB / 0.8265 GB, free: 0.9219 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.778e-05/0.03747, allocations: 19.88 kB / 0.8265 GB, free: 0.9023 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.736e-05/0.03748, allocations: 8 kB / 0.8265 GB, free: 0.8945 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003085/0.04057, allocations: 9.062 kB / 0.8265 GB, free: 0.8867 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.431e-05/0.04059, allocations: 3.984 kB / 0.8265 GB, free: 0.8828 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.262e-06/0.0406, allocations: 5.125 kB / 0.8265 GB, free: 0.8789 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 9.27e-05/0.04069, allocations: 163.2 kB / 0.8267 GB, free: 0.7188 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.01e-07/0.04069, allocations: 0 / 0.8267 GB, free: 0.7188 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003383/0.04103, allocations: 57.09 kB / 0.8267 GB, free: 0.6641 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001152/0.04115, allocations: 104.8 kB / 0.8268 GB, free: 0.5508 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003169/0.04146, allocations: 240.3 kB / 0.8271 GB, free: 304 kB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.04146, allocations: 0.875 kB / 0.8271 GB, free: 304 kB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001128/0.04158, allocations: 198.6 kB / 0.8272 GB, free: 84 kB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000329/0.04191, allocations: 29.61 kB / 0.8273 GB, free: 56 kB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008626/0.04277, allocations: 360.5 kB / 0.8276 GB, free: 15.68 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.536e-05/0.04283, allocations: 87.83 kB / 0.8277 GB, free: 15.57 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 7.523e-05/0.04291, allocations: 28.86 kB / 0.8277 GB, free: 15.55 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.108e-05/0.04294, allocations: 12.5 kB / 0.8277 GB, free: 15.54 MB / 0.7448 GB Notification: Performance of SimCode: time 1.133e-06/0.04294, allocations: 0.7188 kB / 0.8277 GB, free: 15.54 MB / 0.7448 GB Notification: Performance of Templates: time 0.01004/0.05298, allocations: 1.67 MB / 0.8294 GB, free: 13.92 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.DC.Lines.Examples.Resistance.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe ; mkfifo Buildings_12_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe >> ../files/Buildings_12_Buildings.Electrical.DC.Lines.Examples.Resistance.sim & ./Buildings_12_Buildings.Electrical.DC.Lines.Examples.Resistance -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.DC.Lines.Examples.Resistance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_DC_Lines_Examples_Resistance.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: 4.969684393843636]