Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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.001417/0.001417, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001585/0.001585, allocations: 209.3 kB / 22.24 MB, free: 5.262 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.519/1.519, allocations: 230.6 MB / 256 MB, free: 7.777 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.221/3.221, allocations: 0.4892 GB / 0.7943 GB, free: 35.59 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.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|L1.terminal.phase.1..v.1.|L2.terminal.phase.1..v.1.|L3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|L1.load1.i.2.|L2.load1.i.2.|L3.load1.i.2.|sc_load.load1.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|L1.terminal.phase.1..v.1.|L2.terminal.phase.1..v.1.|L3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|L1.load1.i.2.|L2.load1.i.2.|L3.load1.i.2.|sc_load.load1.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") [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.00211/0.00211, allocations: 66.03 kB / 1.154 GB, free: 25.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.351/0.3532, allocations: 176.1 MB / 1.326 GB, free: 1.82 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.0419/0.3951, allocations: 31.51 MB / 1.356 GB, free: 2.211 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.02058/0.4156, allocations: 10.3 MB / 1.366 GB, free: 7.887 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003583/0.4192, allocations: 198.5 kB / 1.367 GB, free: 7.691 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.01077/0.43, allocations: 3.723 MB / 1.37 GB, free: 3.961 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.006465/0.4365, allocations: 1.956 MB / 1.372 GB, free: 1.996 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.006362/0.4428, allocations: 2.134 MB / 1.374 GB, free: 15.86 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.01283/0.4557, allocations: 7.326 MB / 1.381 GB, free: 8.512 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01183/0.4675, allocations: 5.1 MB / 1.386 GB, free: 3.289 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005981/0.4735, allocations: 3.287 MB / 1.39 GB, free: 15.99 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006615/0.4801, allocations: 3.453 MB / 1.393 GB, free: 12.53 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.002029/0.4821, allocations: 0.6445 MB / 1.394 GB, free: 11.88 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004942/0.487, allocations: 1.654 MB / 1.395 GB, free: 10.23 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.004635/0.4917, allocations: 2.619 MB / 1.398 GB, free: 7.602 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.006114/0.4978, allocations: 2.339 MB / 1.4 GB, free: 5.254 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.01412/0.5119, allocations: 10.19 MB / 1.41 GB, free: 11.04 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 9.317e-06/0.5119, allocations: 0 / 1.41 GB, free: 11.04 MB / 1.107 GB Notification: Performance of FrontEnd: time 2.795e-06/0.5119, allocations: 0 / 1.41 GB, free: 11.04 MB / 1.107 GB Notification: Performance of Transformations before backend: time 0.0003055/0.5122, allocations: 0 / 1.41 GB, free: 11.04 MB / 1.107 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.01205/0.5243, allocations: 5.044 MB / 1.415 GB, free: 5.93 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.731e-05/0.5243, allocations: 8.031 kB / 1.415 GB, free: 5.922 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00537/0.5297, allocations: 0.9735 MB / 1.416 GB, free: 4.945 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007686/0.5374, allocations: 2.999 MB / 1.419 GB, free: 1.875 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003202/0.5377, allocations: 353.7 kB / 1.419 GB, free: 1.527 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001201/0.5389, allocations: 464.3 kB / 1.42 GB, free: 1.074 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01671/0.5556, allocations: 7.972 MB / 1.427 GB, free: 8.68 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002295/0.5559, allocations: 31.81 kB / 1.427 GB, free: 8.648 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00119/0.557, allocations: 200 kB / 1.428 GB, free: 8.453 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003966/0.5574, allocations: 309 kB / 1.428 GB, free: 8.148 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01263/0.5701, allocations: 5.71 MB / 1.433 GB, free: 2.422 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03801/0.6081, allocations: 21.91 MB / 1.455 GB, free: 11.88 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002889/0.611, allocations: 1.552 MB / 1.456 GB, free: 10.32 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001786/0.6128, allocations: 1.133 MB / 1.457 GB, free: 9.188 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 9.394e-05/0.6129, allocations: 13.31 kB / 1.457 GB, free: 9.172 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.303e-05/0.6129, allocations: 47.86 kB / 1.457 GB, free: 9.117 MB / 1.154 GB Notification: Performance of pre-optimization done (n=133): time 3.817e-06/0.6129, allocations: 4 kB / 1.457 GB, free: 9.113 MB / 1.154 GB Notification: Performance of matching and sorting (n=136): time 0.01445/0.6273, allocations: 6.195 MB / 1.464 GB, free: 2.875 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.328e-05/0.6274, allocations: 68.66 kB / 1.464 GB, free: 2.797 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002182/0.6296, allocations: 1.403 MB / 1.465 GB, free: 1.391 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0001055/0.6297, allocations: 53.64 kB / 1.465 GB, free: 1.332 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.001526/0.6312, allocations: 2.061 MB / 1.467 GB, free: 15.25 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.000494/0.6317, allocations: 0.4996 MB / 1.468 GB, free: 14.75 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005554/0.6323, allocations: 347.4 kB / 1.468 GB, free: 14.4 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001289/0.6324, allocations: 301.1 kB / 1.468 GB, free: 14.11 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001425/0.6338, allocations: 0.9135 MB / 1.469 GB, free: 13.19 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001985/0.6358, allocations: 1.605 MB / 1.471 GB, free: 11.28 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00368/0.6395, allocations: 2.729 MB / 1.473 GB, free: 8.234 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.855e-05/0.6395, allocations: 8 kB / 1.473 GB, free: 8.227 MB / 1.17 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.006511/0.646, allocations: 3.504 MB / 1.477 GB, free: 4.676 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 4.102e-05/0.6461, allocations: 12.19 kB / 1.477 GB, free: 4.664 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.582e-05/0.6461, allocations: 28 kB / 1.477 GB, free: 4.637 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002659/0.6488, allocations: 0.8959 MB / 1.478 GB, free: 3.703 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001256/0.65, allocations: 355.3 kB / 1.478 GB, free: 3.355 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02315/0.6732, allocations: 21.47 MB / 1.499 GB, free: 12.66 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001903/0.6751, allocations: 108 kB / 1.499 GB, free: 12.55 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003544/0.6754, allocations: 84.47 kB / 1.499 GB, free: 12.47 MB / 1.201 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (185): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00355/0.679, allocations: 1.604 MB / 1.501 GB, free: 10.86 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006088/0.6796, allocations: 202.7 kB / 1.501 GB, free: 10.66 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005938/0.6855, allocations: 2.959 MB / 1.504 GB, free: 7.648 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.949e-05/0.6855, allocations: 19.94 kB / 1.504 GB, free: 7.629 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.656e-05/0.6856, allocations: 8 kB / 1.504 GB, free: 7.621 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.47e-05/0.6856, allocations: 3.984 kB / 1.504 GB, free: 7.617 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01306/0.6987, allocations: 6.007 MB / 1.51 GB, free: 1.477 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.449e-05/0.6987, allocations: 11.94 kB / 1.51 GB, free: 1.465 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008432/0.6995, allocations: 175.7 kB / 1.51 GB, free: 1.293 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002533/0.702, allocations: 0.8221 MB / 1.511 GB, free: 444 kB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001139/0.7022, allocations: 28 kB / 1.511 GB, free: 416 kB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02119/0.7233, allocations: 20.33 MB / 1.531 GB, free: 10.85 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.957e-06/0.7234, allocations: 7.984 kB / 1.531 GB, free: 10.84 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005578/0.7289, allocations: 3.006 MB / 1.533 GB, free: 7.715 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001137/0.7301, allocations: 382.5 kB / 1.534 GB, free: 7.34 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002137/0.7303, allocations: 28 kB / 1.534 GB, free: 7.312 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007881/0.7311, allocations: 71.91 kB / 1.534 GB, free: 7.242 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003529/0.7314, allocations: 128.6 kB / 1.534 GB, free: 7.117 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.773e-05/0.7315, allocations: 40 kB / 1.534 GB, free: 7.078 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.001276/0.7328, allocations: 0.8981 MB / 1.535 GB, free: 6.188 MB / 1.232 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7328, allocations: 4 kB / 1.535 GB, free: 6.184 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.002869/0.7357, allocations: 0.7852 MB / 1.536 GB, free: 5.398 MB / 1.232 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (91): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002835/0.7359, allocations: 134.9 kB / 1.536 GB, free: 5.262 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.005974/0.7419, allocations: 3.913 MB / 1.54 GB, free: 1.195 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 7.043e-06/0.7419, allocations: 4 kB / 1.54 GB, free: 1.191 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.004003/0.7459, allocations: 2.674 MB / 1.542 GB, free: 14.36 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003338/0.7493, allocations: 0.7226 MB / 1.543 GB, free: 13.66 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01487/0.7641, allocations: 7.323 MB / 1.55 GB, free: 6.246 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004598/0.7687, allocations: 2.564 MB / 1.553 GB, free: 3.652 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.001768/0.7705, allocations: 449.2 kB / 1.553 GB, free: 3.211 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003026/0.7708, allocations: 107.4 kB / 1.553 GB, free: 3.105 MB / 1.248 GB Notification: Performance of SimCode: time 1.773e-06/0.7708, allocations: 0 / 1.553 GB, free: 3.105 MB / 1.248 GB Notification: Performance of Templates: time 0.07753/0.8483, allocations: 41.03 MB / 1.593 GB, free: 10.8 MB / 1.295 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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: 10.978685902431607]