Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001965/0.001965, allocations: 100.8 kB / 19.74 MB, free: 2.07 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.00265/0.00265, allocations: 214.6 kB / 23.04 MB, free: 4.867 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.514/1.514, allocations: 230.6 MB / 256.8 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.339/3.339, allocations: 0.49 GB / 0.7959 GB, free: 35.63 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.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_12_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_12_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.002071/0.002071, allocations: 66.8 kB / 1.155 GB, free: 25.14 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3881/0.3902, allocations: 176.1 MB / 1.327 GB, free: 0.9961 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01924/0.4094, allocations: 13.94 MB / 1.341 GB, free: 3.004 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.0175/0.4269, allocations: 9.976 MB / 1.351 GB, free: 9 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001995/0.4289, allocations: 87.19 kB / 1.351 GB, free: 8.914 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.00518/0.4341, allocations: 1.684 MB / 1.352 GB, free: 7.227 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.006435/0.4406, allocations: 1.854 MB / 1.354 GB, free: 5.371 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002394/0.443, allocations: 0.7553 MB / 1.355 GB, free: 4.617 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.004864/0.4478, allocations: 2.77 MB / 1.357 GB, free: 1.836 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002117/0.4499, allocations: 1.184 MB / 1.359 GB, free: 0.6094 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003319/0.4533, allocations: 1.73 MB / 1.36 GB, free: 14.88 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002131/0.4554, allocations: 1.039 MB / 1.361 GB, free: 13.83 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0003213/0.4557, allocations: 160 kB / 1.362 GB, free: 13.68 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001721/0.4574, allocations: 0.7135 MB / 1.362 GB, free: 12.96 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.000707/0.4581, allocations: 0.6113 MB / 1.363 GB, free: 12.35 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.001081/0.4592, allocations: 0.7697 MB / 1.364 GB, free: 11.57 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.003783/0.463, allocations: 2.771 MB / 1.366 GB, free: 8.793 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.421e-06/0.463, allocations: 0 / 1.366 GB, free: 8.793 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.743e-06/0.463, allocations: 0 / 1.366 GB, free: 8.793 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.827e-05/0.4631, allocations: 4 kB / 1.366 GB, free: 8.789 MB / 1.061 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.004176/0.4672, allocations: 2.136 MB / 1.368 GB, free: 6.613 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/0.4673, allocations: 16.03 kB / 1.368 GB, free: 6.598 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01188/0.4792, allocations: 2.113 MB / 1.37 GB, free: 4.48 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00293/0.4821, allocations: 1.197 MB / 1.372 GB, free: 3.234 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.744e-05/0.4822, allocations: 90.69 kB / 1.372 GB, free: 3.145 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002703/0.4824, allocations: 112.1 kB / 1.372 GB, free: 3.035 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006265/0.4887, allocations: 2.889 MB / 1.375 GB, free: 15.95 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.538e-05/0.4888, allocations: 15.83 kB / 1.375 GB, free: 15.93 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001689/0.4889, allocations: 47.98 kB / 1.375 GB, free: 15.88 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006681/0.4896, allocations: 194.1 kB / 1.375 GB, free: 15.7 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007947/0.4975, allocations: 2.787 MB / 1.378 GB, free: 12.9 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01479/0.5123, allocations: 8.115 MB / 1.386 GB, free: 4.621 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006951/0.5193, allocations: 2.179 MB / 1.388 GB, free: 2.43 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003353/0.5226, allocations: 1.195 MB / 1.389 GB, free: 1.234 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 8.492e-05/0.5227, allocations: 16.98 kB / 1.389 GB, free: 1.219 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.669e-05/0.5228, allocations: 43.56 kB / 1.389 GB, free: 1.168 MB / 1.076 GB Notification: Performance of pre-optimization done (n=89): time 3.326e-06/0.5228, allocations: 0 / 1.389 GB, free: 1.168 MB / 1.076 GB Notification: Performance of matching and sorting (n=153): time 0.06136/0.5841, allocations: 15.98 MB / 1.404 GB, free: 1.137 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001008/0.5842, allocations: 64.72 kB / 1.405 GB, free: 1.059 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002023/0.5863, allocations: 1.035 MB / 1.406 GB, free: 16 kB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0004231/0.5867, allocations: 49.7 kB / 1.406 GB, free: 15.96 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007573/0.5874, allocations: 0.7674 MB / 1.406 GB, free: 15.18 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007702/0.5882, allocations: 0.5383 MB / 1.407 GB, free: 14.64 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006739/0.5889, allocations: 291.5 kB / 1.407 GB, free: 14.35 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001852/0.5891, allocations: 309.1 kB / 1.407 GB, free: 14.04 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003893/0.593, allocations: 1.507 MB / 1.409 GB, free: 12.54 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003949/0.5969, allocations: 1.78 MB / 1.411 GB, free: 10.66 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007688/0.6046, allocations: 3.365 MB / 1.414 GB, free: 7.199 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.773e-06/0.6046, allocations: 4 kB / 1.414 GB, free: 7.195 MB / 1.107 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01396/0.6186, allocations: 5.196 MB / 1.419 GB, free: 1.961 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 3.572e-05/0.6186, allocations: 8 kB / 1.419 GB, free: 1.953 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.74e-05/0.6186, allocations: 11.94 kB / 1.419 GB, free: 1.941 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006878/0.6255, allocations: 1.872 MB / 1.421 GB, free: 48 kB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002084/0.6276, allocations: 415.2 kB / 1.421 GB, free: 15.64 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0315/0.6591, allocations: 22.85 MB / 1.444 GB, free: 7.984 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002873/0.662, allocations: 311.5 kB / 1.444 GB, free: 7.68 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002149/0.6622, allocations: 68.03 kB / 1.444 GB, free: 7.613 MB / 1.139 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.001126/0.6633, allocations: 466.2 kB / 1.444 GB, free: 7.148 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003723/0.6637, allocations: 167.4 kB / 1.445 GB, free: 6.984 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01403/0.6777, allocations: 5.248 MB / 1.45 GB, free: 1.691 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-05/0.6777, allocations: 16 kB / 1.45 GB, free: 1.676 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.843e-05/0.6778, allocations: 16 kB / 1.45 GB, free: 1.66 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-05/0.6778, allocations: 7.969 kB / 1.45 GB, free: 1.652 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01737/0.6952, allocations: 6.802 MB / 1.456 GB, free: 10.75 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.435e-05/0.6952, allocations: 4 kB / 1.456 GB, free: 10.74 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0018/0.697, allocations: 355.7 kB / 1.457 GB, free: 10.39 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006041/0.703, allocations: 1.695 MB / 1.458 GB, free: 8.676 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002154/0.7032, allocations: 47.91 kB / 1.458 GB, free: 8.629 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03059/0.7338, allocations: 22.03 MB / 1.48 GB, free: 1.797 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/0.7338, allocations: 3.938 kB / 1.48 GB, free: 1.793 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01313/0.747, allocations: 4.806 MB / 1.485 GB, free: 12.91 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001254/0.7482, allocations: 410.7 kB / 1.485 GB, free: 12.5 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002403/0.7484, allocations: 39.98 kB / 1.485 GB, free: 12.46 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002176/0.7506, allocations: 315.5 kB / 1.485 GB, free: 12.16 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006631/0.7513, allocations: 164.8 kB / 1.485 GB, free: 11.99 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001474/0.7514, allocations: 51.97 kB / 1.486 GB, free: 11.94 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.001047/0.7525, allocations: 0.684 MB / 1.486 GB, free: 11.25 MB / 1.186 GB Notification: Performance of sort global known variables: time 9e-08/0.7525, allocations: 0 / 1.486 GB, free: 11.25 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.002544/0.755, allocations: 0.6523 MB / 1.487 GB, free: 10.6 MB / 1.186 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.0003704/0.7554, allocations: 144.9 kB / 1.487 GB, free: 10.45 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.01225/0.7676, allocations: 4.924 MB / 1.492 GB, free: 5.422 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 1.096e-05/0.7677, allocations: 4.375 kB / 1.492 GB, free: 5.418 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.007663/0.7753, allocations: 3.28 MB / 1.495 GB, free: 2.035 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002542/0.7779, allocations: 0.5129 MB / 1.495 GB, free: 1.539 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01044/0.7883, allocations: 4.476 MB / 1.5 GB, free: 13 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001589/0.7899, allocations: 0.9877 MB / 1.501 GB, free: 11.97 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006763/0.7906, allocations: 119.3 kB / 1.501 GB, free: 11.86 MB / 1.201 GB Notification: Performance of SimCode: time 2.194e-06/0.7906, allocations: 0 / 1.501 GB, free: 11.86 MB / 1.201 GB Notification: Performance of Templates: time 0.1076/0.8982, allocations: 85.71 MB / 1.585 GB, free: 6.188 MB / 1.279 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.86901987111196]