Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.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.001345/0.001345, allocations: 114.8 kB / 18.89 MB, free: 2.898 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.001536/0.001536, allocations: 203.3 kB / 22.18 MB, free: 5.211 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.457/1.457, allocations: 225.6 MB / 250.9 MB, free: 13.27 MB / 206.1 MB " [Timeout remaining time 178] 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.863/2.863, allocations: 476.7 MB / 0.7645 GB, free: 10.11 MB / 0.6231 GB " [Timeout remaining time 176] 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: translateModel(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Sloads|E.S.1.",fileNamePrefix="Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Sloads|E.S.1.",fileNamePrefix="Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002191/0.002191, allocations: 67.89 kB / 1.109 GB, free: 6.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8314/0.8336, allocations: 168.7 MB / 1.274 GB, free: 4.383 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.03072/0.8643, allocations: 23.47 MB / 1.297 GB, free: 12.83 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02988/0.8942, allocations: 18.14 MB / 1.315 GB, free: 10.64 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003895/0.8981, allocations: 111.4 kB / 1.315 GB, free: 10.53 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.01227/0.9103, allocations: 4.318 MB / 1.319 GB, free: 6.199 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.01279/0.9231, allocations: 3.588 MB / 1.323 GB, free: 2.602 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.004559/0.9277, allocations: 1.336 MB / 1.324 GB, free: 1.27 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.01137/0.939, allocations: 5.784 MB / 1.33 GB, free: 11.47 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005083/0.9441, allocations: 2.472 MB / 1.332 GB, free: 8.922 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005601/0.9497, allocations: 2.476 MB / 1.334 GB, free: 6.438 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006074/0.9558, allocations: 2.506 MB / 1.337 GB, free: 3.922 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.002002/0.9578, allocations: 368 kB / 1.337 GB, free: 3.562 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004167/0.962, allocations: 1.057 MB / 1.338 GB, free: 2.504 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.002272/0.9642, allocations: 1.226 MB / 1.339 GB, free: 1.273 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.004214/0.9685, allocations: 1.994 MB / 1.341 GB, free: 15.27 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.009032/0.9775, allocations: 5.187 MB / 1.346 GB, free: 10.06 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.672e-06/0.9775, allocations: 0 / 1.346 GB, free: 10.06 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.893e-06/0.9775, allocations: 0 / 1.346 GB, free: 10.06 MB / 1.045 GB Notification: Performance of Transformations before backend: time 0.0001843/0.9777, allocations: 3.938 kB / 1.346 GB, free: 10.06 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 635 * Number of variables: 635 Notification: Performance of Generate backend data structure: time 0.01286/0.9905, allocations: 4.718 MB / 1.351 GB, free: 5.223 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/0.9906, allocations: 8.031 kB / 1.351 GB, free: 5.215 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01715/1.008, allocations: 3.283 MB / 1.354 GB, free: 1.926 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006001/1.014, allocations: 2.258 MB / 1.356 GB, free: 15.6 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005367/1.014, allocations: 474.2 kB / 1.357 GB, free: 15.07 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001025/1.015, allocations: 231.9 kB / 1.357 GB, free: 14.85 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01339/1.029, allocations: 4.81 MB / 1.362 GB, free: 9.891 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.546e-05/1.029, allocations: 8 kB / 1.362 GB, free: 9.883 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004028/1.029, allocations: 108 kB / 1.362 GB, free: 9.777 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002488/1.029, allocations: 168.8 kB / 1.362 GB, free: 9.609 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01493/1.044, allocations: 5.202 MB / 1.367 GB, free: 4.391 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02468/1.069, allocations: 14.4 MB / 1.381 GB, free: 4.82 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01031/1.079, allocations: 3.256 MB / 1.384 GB, free: 1.543 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004009/1.083, allocations: 1.377 MB / 1.386 GB, free: 172 kB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001234/1.083, allocations: 25.23 kB / 1.386 GB, free: 148 kB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004766/1.088, allocations: 1.796 MB / 1.387 GB, free: 14.28 MB / 1.092 GB Notification: Performance of pre-optimization done (n=163): time 3.808e-06/1.088, allocations: 0 / 1.387 GB, free: 14.28 MB / 1.092 GB Notification: Performance of matching and sorting (n=250): time 0.1384/1.227, allocations: 28.21 MB / 1.415 GB, free: 1.848 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003313/1.227, allocations: 0.4928 MB / 1.416 GB, free: 1.246 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00365/1.231, allocations: 2.296 MB / 1.418 GB, free: 14.94 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0004873/1.231, allocations: 77.7 kB / 1.418 GB, free: 14.86 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.001536/1.233, allocations: 1.452 MB / 1.419 GB, free: 13.39 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.001048/1.234, allocations: 0.8637 MB / 1.42 GB, free: 12.52 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009076/1.235, allocations: 416.5 kB / 1.421 GB, free: 12.11 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001477/1.235, allocations: 309 kB / 1.421 GB, free: 11.8 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005658/1.24, allocations: 1.929 MB / 1.423 GB, free: 9.867 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006092/1.247, allocations: 2.235 MB / 1.425 GB, free: 7.547 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01156/1.258, allocations: 4.158 MB / 1.429 GB, free: 3.254 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.234e-05/1.258, allocations: 4 kB / 1.429 GB, free: 3.25 MB / 1.123 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.02076/1.279, allocations: 6.478 MB / 1.435 GB, free: 12.68 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001649/1.279, allocations: 150.4 kB / 1.435 GB, free: 12.5 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.987e-05/1.279, allocations: 8 kB / 1.435 GB, free: 12.5 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01078/1.29, allocations: 2.922 MB / 1.438 GB, free: 9.566 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003164/1.293, allocations: 495.2 kB / 1.439 GB, free: 9.082 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04426/1.337, allocations: 18.86 MB / 1.457 GB, free: 5.973 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004159/1.341, allocations: 315.6 kB / 1.457 GB, free: 5.664 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003054/1.342, allocations: 92.12 kB / 1.458 GB, free: 5.574 MB / 1.154 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 25 (varLoad5.count,$PRE.varLoad5.count,varLoad5.T_start,$PRE.varLoad5.T_start,varLoad4.count,$PRE.varLoad4.count,varLoad4.T_start,$PRE.varLoad4.T_start,varLoad3.count,$PRE.varLoad3.count,varLoad3.T_start,$PRE.varLoad3.T_start,varLoad2.count,$PRE.varLoad2.count,varLoad2.T_start,$PRE.varLoad2.T_start,varLoad1.count,$PRE.varLoad1.count,varLoad1.T_start,$PRE.varLoad1.T_start,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (162): * Single equations (assignments): 155 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(10,52,45.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(8,64)} Notification: Performance of prepare postOptimizeDAE: time 0.00152/1.343, allocations: 0.7031 MB / 1.458 GB, free: 4.859 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006615/1.344, allocations: 349.8 kB / 1.459 GB, free: 4.516 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007718/1.345, allocations: 384.1 kB / 1.459 GB, free: 4.133 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.179e-05/1.345, allocations: 28 kB / 1.459 GB, free: 4.105 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.879e-05/1.345, allocations: 12 kB / 1.459 GB, free: 4.094 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.971e-05/1.345, allocations: 11.95 kB / 1.459 GB, free: 4.082 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00503/1.35, allocations: 3.624 MB / 1.463 GB, free: 412 kB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.521e-05/1.35, allocations: 3.984 kB / 1.463 GB, free: 408 kB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002551/1.352, allocations: 419.4 kB / 1.463 GB, free: 15.98 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01026/1.363, allocations: 2.865 MB / 1.466 GB, free: 13.12 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005356/1.363, allocations: 51.97 kB / 1.466 GB, free: 13.07 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04214/1.405, allocations: 18.64 MB / 1.484 GB, free: 10.13 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/1.405, allocations: 0 / 1.484 GB, free: 10.13 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01852/1.424, allocations: 6.116 MB / 1.49 GB, free: 3.988 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00208/1.426, allocations: 0.7096 MB / 1.491 GB, free: 3.258 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006003/1.426, allocations: 51.92 kB / 1.491 GB, free: 3.207 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003272/1.43, allocations: 311.5 kB / 1.491 GB, free: 2.902 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001218/1.431, allocations: 358.7 kB / 1.491 GB, free: 2.551 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002138/1.431, allocations: 67.97 kB / 1.491 GB, free: 2.484 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.002378/1.434, allocations: 1.536 MB / 1.493 GB, free: 0.9492 MB / 1.186 GB Notification: Performance of sort global known variables: time 9e-08/1.434, allocations: 0 / 1.493 GB, free: 0.9492 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.002913/1.436, allocations: 1.043 MB / 1.494 GB, free: 15.9 MB / 1.201 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,varLoad1.T_start,varLoad1.count,varLoad2.T_start,varLoad2.count,varLoad3.T_start,varLoad3.count,varLoad4.T_start,varLoad4.count,varLoad5.T_start,varLoad5.count) * Number of discrete states: 5 (varLoad1.count,varLoad2.count,varLoad3.count,varLoad4.count,varLoad5.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (118): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(10,52,60.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(10,62)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004205/1.437, allocations: 175 kB / 1.494 GB, free: 15.72 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.02471/1.462, allocations: 6.324 MB / 1.5 GB, free: 9.305 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 7.133e-06/1.462, allocations: 0 / 1.5 GB, free: 9.305 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.01816/1.48, allocations: 3.932 MB / 1.504 GB, free: 5.348 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004919/1.485, allocations: 1.134 MB / 1.505 GB, free: 4.254 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01495/1.5, allocations: 6.826 MB / 1.512 GB, free: 13.4 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002345/1.502, allocations: 2.235 MB / 1.514 GB, free: 11.13 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.002155/1.504, allocations: 0.5021 MB / 1.515 GB, free: 10.62 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006507/1.505, allocations: 191.3 kB / 1.515 GB, free: 10.43 MB / 1.217 GB Notification: Performance of SimCode: time 1.402e-06/1.505, allocations: 4 kB / 1.515 GB, free: 10.43 MB / 1.217 GB Notification: Performance of Templates: time 0.1324/1.637, allocations: 77.68 MB / 1.591 GB, free: 13.61 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; mkfifo Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe >> ../files/Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.sim & ./Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.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: 12.900349512696266]