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.001723/0.001723, 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.00216/0.00216, allocations: 199.9 kB / 22.17 MB, free: 5.207 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.496/1.496, allocations: 225.6 MB / 250.9 MB, free: 13.26 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.762/2.762, allocations: 476.7 MB / 0.7645 GB, free: 10.11 MB / 0.6231 GB " [Timeout remaining time 177] 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.002047/0.002047, allocations: 67.94 kB / 1.109 GB, free: 12.09 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3444/0.3464, allocations: 168.7 MB / 1.274 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.02902/0.3755, allocations: 23.48 MB / 1.297 GB, free: 3.652 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0288/0.4043, allocations: 18.13 MB / 1.315 GB, free: 1.465 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003439/0.4077, allocations: 115.4 kB / 1.315 GB, free: 1.352 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.01203/0.4197, allocations: 4.322 MB / 1.319 GB, free: 13.02 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.01172/0.4315, allocations: 3.599 MB / 1.323 GB, free: 9.41 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.003869/0.4353, allocations: 1.335 MB / 1.324 GB, free: 8.078 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.009247/0.4446, allocations: 5.78 MB / 1.33 GB, free: 2.281 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004399/0.449, allocations: 2.464 MB / 1.332 GB, free: 15.75 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004864/0.4538, allocations: 2.484 MB / 1.334 GB, free: 13.25 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005401/0.4592, allocations: 2.506 MB / 1.337 GB, free: 10.74 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.001237/0.4605, allocations: 372 kB / 1.337 GB, free: 10.38 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002856/0.4633, allocations: 1.057 MB / 1.338 GB, free: 9.316 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.001577/0.4649, allocations: 1.223 MB / 1.339 GB, free: 8.09 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.004323/0.4692, allocations: 1.998 MB / 1.341 GB, free: 6.082 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.008799/0.478, allocations: 5.191 MB / 1.346 GB, free: 0.8711 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 7.594e-06/0.478, allocations: 0 / 1.346 GB, free: 0.8711 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.753e-06/0.478, allocations: 0 / 1.346 GB, free: 0.8711 MB / 1.045 GB Notification: Performance of Transformations before backend: time 0.000185/0.4782, allocations: 0 / 1.346 GB, free: 0.8711 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.01259/0.4908, allocations: 4.718 MB / 1.351 GB, free: 12.04 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.4909, allocations: 12.03 kB / 1.351 GB, free: 12.02 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.017/0.5079, allocations: 3.275 MB / 1.354 GB, free: 8.742 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005774/0.5136, allocations: 2.254 MB / 1.356 GB, free: 6.422 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005066/0.5141, allocations: 466.3 kB / 1.357 GB, free: 5.902 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009106/0.515, allocations: 239.9 kB / 1.357 GB, free: 5.668 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01288/0.5279, allocations: 4.81 MB / 1.362 GB, free: 0.7109 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.193e-05/0.528, allocations: 4 kB / 1.362 GB, free: 0.707 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003943/0.5284, allocations: 111.9 kB / 1.362 GB, free: 0.5977 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002745/0.5286, allocations: 172.8 kB / 1.362 GB, free: 436 kB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01512/0.5438, allocations: 5.187 MB / 1.367 GB, free: 11.22 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02684/0.5706, allocations: 14.42 MB / 1.381 GB, free: 11.64 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0104/0.581, allocations: 3.26 MB / 1.384 GB, free: 8.367 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003973/0.585, allocations: 1.373 MB / 1.386 GB, free: 6.992 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001418/0.5851, allocations: 21.3 kB / 1.386 GB, free: 6.973 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00457/0.5897, allocations: 1.798 MB / 1.387 GB, free: 5.109 MB / 1.092 GB Notification: Performance of pre-optimization done (n=163): time 3.838e-06/0.5897, allocations: 0 / 1.387 GB, free: 5.109 MB / 1.092 GB Notification: Performance of matching and sorting (n=250): time 0.133/0.7227, allocations: 28.21 MB / 1.415 GB, free: 8.672 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003654/0.723, allocations: 0.4928 MB / 1.416 GB, free: 8.07 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003886/0.7269, allocations: 2.3 MB / 1.418 GB, free: 5.758 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0004965/0.7274, allocations: 77.7 kB / 1.418 GB, free: 5.676 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.001424/0.7288, allocations: 1.46 MB / 1.419 GB, free: 4.203 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.001032/0.7299, allocations: 0.8636 MB / 1.42 GB, free: 3.332 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008756/0.7307, allocations: 420.5 kB / 1.421 GB, free: 2.914 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.000139/0.7309, allocations: 301.1 kB / 1.421 GB, free: 2.617 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005494/0.7364, allocations: 1.929 MB / 1.423 GB, free: 0.6836 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005829/0.7422, allocations: 2.227 MB / 1.425 GB, free: 14.37 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01123/0.7534, allocations: 4.161 MB / 1.429 GB, free: 10.07 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.035e-05/0.7534, allocations: 0 / 1.429 GB, free: 10.07 MB / 1.139 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.0198/0.7732, allocations: 6.483 MB / 1.435 GB, free: 3.5 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001369/0.7734, allocations: 148.5 kB / 1.435 GB, free: 3.324 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.941e-05/0.7734, allocations: 4 kB / 1.435 GB, free: 3.32 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01055/0.784, allocations: 2.93 MB / 1.438 GB, free: 392 kB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003143/0.7871, allocations: 487.2 kB / 1.439 GB, free: 15.9 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04406/0.8312, allocations: 18.85 MB / 1.457 GB, free: 12.8 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004409/0.8356, allocations: 323.6 kB / 1.457 GB, free: 12.49 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004068/0.836, allocations: 91.97 kB / 1.458 GB, free: 12.4 MB / 1.17 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.001684/0.8377, allocations: 0.7032 MB / 1.458 GB, free: 11.68 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008163/0.8385, allocations: 353.8 kB / 1.459 GB, free: 11.34 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007958/0.8393, allocations: 380.1 kB / 1.459 GB, free: 10.96 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.632e-05/0.8393, allocations: 24 kB / 1.459 GB, free: 10.93 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.927e-05/0.8393, allocations: 8 kB / 1.459 GB, free: 10.93 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.233e-05/0.8394, allocations: 12.14 kB / 1.459 GB, free: 10.91 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005277/0.8446, allocations: 3.632 MB / 1.463 GB, free: 7.227 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.559e-05/0.8447, allocations: 3.938 kB / 1.463 GB, free: 7.223 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002592/0.8473, allocations: 411.4 kB / 1.463 GB, free: 6.82 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01044/0.8577, allocations: 2.876 MB / 1.466 GB, free: 3.934 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005035/0.8582, allocations: 47.97 kB / 1.466 GB, free: 3.887 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04206/0.9002, allocations: 18.64 MB / 1.484 GB, free: 0.9453 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.9003, allocations: 0 / 1.484 GB, free: 0.9453 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01896/0.9192, allocations: 6.112 MB / 1.49 GB, free: 10.8 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002343/0.9216, allocations: 0.7135 MB / 1.491 GB, free: 10.07 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007458/0.9223, allocations: 47.94 kB / 1.491 GB, free: 10.02 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003437/0.9257, allocations: 315.6 kB / 1.491 GB, free: 9.715 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001299/0.927, allocations: 354.7 kB / 1.491 GB, free: 9.367 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002306/0.9273, allocations: 67.97 kB / 1.491 GB, free: 9.301 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.002522/0.9298, allocations: 1.54 MB / 1.493 GB, free: 7.762 MB / 1.201 GB Notification: Performance of sort global known variables: time 1e-07/0.9298, allocations: 0 / 1.493 GB, free: 7.762 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.003299/0.9331, allocations: 1.043 MB / 1.494 GB, free: 6.719 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.0004426/0.9335, allocations: 163 kB / 1.494 GB, free: 6.547 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.02487/0.9584, allocations: 6.317 MB / 1.5 GB, free: 140 kB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 1.055e-05/0.9584, allocations: 8.062 kB / 1.5 GB, free: 132 kB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.01909/0.9775, allocations: 3.927 MB / 1.504 GB, free: 12.17 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00589/0.9834, allocations: 1.145 MB / 1.505 GB, free: 11.07 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01594/0.9993, allocations: 6.825 MB / 1.512 GB, free: 4.219 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002295/1.002, allocations: 2.227 MB / 1.514 GB, free: 1.957 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.002323/1.004, allocations: 0.5099 MB / 1.515 GB, free: 1.441 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006898/1.005, allocations: 187.4 kB / 1.515 GB, free: 1.258 MB / 1.217 GB Notification: Performance of SimCode: time 1.483e-06/1.005, allocations: 0 / 1.515 GB, free: 1.258 MB / 1.217 GB Notification: Performance of Templates: time 0.8269/1.832, allocations: 77.68 MB / 1.591 GB, free: 265.3 MB / 1.264 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 cvode -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.848584616091102]