Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.001684/0.001684, allocations: 102.1 kB / 19.7 MB, free: 2.246 MB / 14.72 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.002085/0.002085, allocations: 222.5 kB / 23.01 MB, free: 5.086 MB / 14.72 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.43/1.43, allocations: 230.6 MB / 256.8 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.727/2.727, allocations: 476.8 MB / 0.7714 GB, free: 4.277 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002045/0.002045, allocations: 67.97 kB / 1.119 GB, free: 40.4 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3124/0.3144, allocations: 170 MB / 1.285 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01967/0.3341, allocations: 15.35 MB / 1.3 GB, free: 11.81 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01955/0.3536, allocations: 10.76 MB / 1.31 GB, free: 1.02 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002159/0.3558, allocations: 91.19 kB / 1.31 GB, free: 0.9297 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.005319/0.3611, allocations: 1.762 MB / 1.312 GB, free: 15.16 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.006655/0.3678, allocations: 1.861 MB / 1.314 GB, free: 13.3 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002454/0.3702, allocations: 0.7552 MB / 1.314 GB, free: 12.55 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.005135/0.3754, allocations: 2.774 MB / 1.317 GB, free: 9.766 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002001/0.3774, allocations: 1.203 MB / 1.318 GB, free: 8.527 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003038/0.3804, allocations: 1.715 MB / 1.32 GB, free: 6.809 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001789/0.3822, allocations: 1.121 MB / 1.321 GB, free: 5.684 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0002698/0.3825, allocations: 160 kB / 1.321 GB, free: 5.527 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001794/0.3842, allocations: 0.7993 MB / 1.322 GB, free: 4.727 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0006723/0.3849, allocations: 0.6113 MB / 1.323 GB, free: 4.113 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001162/0.3861, allocations: 0.9367 MB / 1.324 GB, free: 3.172 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.003759/0.3898, allocations: 2.755 MB / 1.326 GB, free: 416 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.3898, allocations: 0 / 1.326 GB, free: 416 kB / 1.014 GB Notification: Performance of FrontEnd: time 2.013e-06/0.3898, allocations: 0 / 1.326 GB, free: 416 kB / 1.014 GB Notification: Performance of Transformations before backend: time 4.254e-05/0.3899, allocations: 0 / 1.326 GB, free: 416 kB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.004412/0.3943, allocations: 2.14 MB / 1.328 GB, free: 14.22 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/0.3943, allocations: 8.031 kB / 1.328 GB, free: 14.21 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01154/0.4059, allocations: 2.117 MB / 1.33 GB, free: 12.09 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003087/0.409, allocations: 1.193 MB / 1.332 GB, free: 10.85 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.103e-05/0.4091, allocations: 90.69 kB / 1.332 GB, free: 10.76 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002912/0.4094, allocations: 116.1 kB / 1.332 GB, free: 10.65 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006156/0.4155, allocations: 2.63 MB / 1.334 GB, free: 7.883 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.816e-05/0.4156, allocations: 11.89 kB / 1.334 GB, free: 7.871 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001664/0.4157, allocations: 51.98 kB / 1.334 GB, free: 7.82 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006422/0.4164, allocations: 190.1 kB / 1.335 GB, free: 7.633 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007774/0.4241, allocations: 2.795 MB / 1.337 GB, free: 4.828 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0168/0.4409, allocations: 10.37 MB / 1.347 GB, free: 9.887 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00656/0.4475, allocations: 2.179 MB / 1.35 GB, free: 7.703 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003178/0.4507, allocations: 1.195 MB / 1.351 GB, free: 6.508 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001097/0.4508, allocations: 12.98 kB / 1.351 GB, free: 6.492 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.127e-05/0.4508, allocations: 51.55 kB / 1.351 GB, free: 6.434 MB / 1.045 GB Notification: Performance of pre-optimization done (n=89): time 3.156e-06/0.4508, allocations: 3.938 kB / 1.351 GB, free: 6.43 MB / 1.045 GB Notification: Performance of matching and sorting (n=153): time 0.05875/0.5096, allocations: 15.98 MB / 1.366 GB, free: 6.41 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.676e-05/0.5097, allocations: 68.72 kB / 1.366 GB, free: 6.328 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001802/0.5115, allocations: 1.18 MB / 1.368 GB, free: 5.137 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0002877/0.5117, allocations: 49.7 kB / 1.368 GB, free: 5.082 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006489/0.5124, allocations: 0.749 MB / 1.368 GB, free: 4.328 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006161/0.513, allocations: 0.546 MB / 1.369 GB, free: 3.777 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005639/0.5136, allocations: 291.5 kB / 1.369 GB, free: 3.484 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001481/0.5137, allocations: 313 kB / 1.37 GB, free: 3.176 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003607/0.5173, allocations: 1.503 MB / 1.371 GB, free: 1.672 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003856/0.5212, allocations: 1.78 MB / 1.373 GB, free: 15.8 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00766/0.5288, allocations: 3.365 MB / 1.376 GB, free: 12.34 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.704e-06/0.5289, allocations: 4 kB / 1.376 GB, free: 12.33 MB / 1.076 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01379/0.5426, allocations: 5.215 MB / 1.381 GB, free: 7.078 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.516e-05/0.5427, allocations: 8 kB / 1.381 GB, free: 7.07 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.74e-05/0.5427, allocations: 8 kB / 1.381 GB, free: 7.062 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006902/0.5496, allocations: 1.884 MB / 1.383 GB, free: 5.156 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002117/0.5517, allocations: 415.3 kB / 1.383 GB, free: 4.75 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03132/0.583, allocations: 23.33 MB / 1.406 GB, free: 12.5 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002747/0.5858, allocations: 303.5 kB / 1.406 GB, free: 12.2 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002338/0.586, allocations: 63.97 kB / 1.407 GB, free: 12.14 MB / 1.107 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (2,8,100.0%), (3,17,100.0%), (3,17,100.0%), (2,16,100.0%), (2,16,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009682/0.587, allocations: 469.5 kB / 1.407 GB, free: 11.67 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003912/0.5874, allocations: 182.9 kB / 1.407 GB, free: 11.49 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0136/0.601, allocations: 5.246 MB / 1.412 GB, free: 6.195 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.77e-05/0.601, allocations: 12 kB / 1.412 GB, free: 6.184 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.086e-05/0.601, allocations: 20 kB / 1.412 GB, free: 6.164 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.211e-05/0.601, allocations: 7.969 kB / 1.412 GB, free: 6.156 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01725/0.6183, allocations: 7.336 MB / 1.419 GB, free: 14.7 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.644e-05/0.6183, allocations: 8.281 kB / 1.419 GB, free: 14.7 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001716/0.62, allocations: 355.4 kB / 1.42 GB, free: 14.35 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006107/0.6261, allocations: 1.704 MB / 1.421 GB, free: 12.62 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000234/0.6264, allocations: 39.97 kB / 1.422 GB, free: 12.58 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0301/0.6565, allocations: 22.5 MB / 1.443 GB, free: 5.176 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.961e-06/0.6565, allocations: 4.094 kB / 1.443 GB, free: 5.172 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01277/0.6692, allocations: 4.841 MB / 1.448 GB, free: 252 kB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001439/0.6707, allocations: 430.6 kB / 1.449 GB, free: 15.82 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002932/0.671, allocations: 28 kB / 1.449 GB, free: 15.8 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002089/0.6731, allocations: 311.5 kB / 1.449 GB, free: 15.49 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005655/0.6736, allocations: 164.9 kB / 1.449 GB, free: 15.33 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001358/0.6738, allocations: 47.97 kB / 1.449 GB, free: 15.28 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.001212/0.675, allocations: 0.7938 MB / 1.45 GB, free: 14.49 MB / 1.154 GB Notification: Performance of sort global known variables: time 9e-08/0.675, allocations: 0 / 1.45 GB, free: 14.49 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.002303/0.6773, allocations: 0.6601 MB / 1.451 GB, free: 13.83 MB / 1.154 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003296/0.6776, allocations: 143.1 kB / 1.451 GB, free: 13.68 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.01157/0.6892, allocations: 4.921 MB / 1.456 GB, free: 8.648 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 1.318e-05/0.6892, allocations: 0 / 1.456 GB, free: 8.648 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.007514/0.6967, allocations: 3.273 MB / 1.459 GB, free: 5.273 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002626/0.6993, allocations: 0.5683 MB / 1.459 GB, free: 4.723 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009744/0.7091, allocations: 4.463 MB / 1.464 GB, free: 208 kB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00151/0.7106, allocations: 1.568 MB / 1.465 GB, free: 14.6 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006591/0.7113, allocations: 123.3 kB / 1.465 GB, free: 14.48 MB / 1.17 GB Notification: Performance of SimCode: time 1.293e-06/0.7113, allocations: 0 / 1.465 GB, free: 14.48 MB / 1.17 GB Notification: Performance of Templates: time 0.1031/0.8144, allocations: 85.94 MB / 1.549 GB, free: 8.617 MB / 1.248 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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: 18.45872440401581]