Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.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.001518/0.001518, allocations: 75.75 kB / 19.76 MB, free: 1.875 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.001922/0.001922, allocations: 154.6 kB / 23.01 MB, free: 4.578 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.428/1.428, allocations: 177.2 MB / 203.4 MB, free: 8.973 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.86/2.86, allocations: 394.2 MB / 0.6386 GB, free: 11.94 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_N,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_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,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_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") [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.002341/0.002341, allocations: 63.89 kB / 1.009 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9125/0.9148, allocations: 181.8 MB / 1.187 GB, free: 16.17 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.03539/0.9502, allocations: 33.76 MB / 1.22 GB, free: 11.29 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.02153/0.9717, allocations: 11.54 MB / 1.231 GB, free: 3.762 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003826/0.9756, allocations: 211.2 kB / 1.231 GB, free: 3.664 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.01176/0.9873, allocations: 4.261 MB / 1.235 GB, free: 1.27 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.007397/0.9947, allocations: 2.101 MB / 1.237 GB, free: 15.98 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.00721/1.002, allocations: 2.411 MB / 1.24 GB, free: 14.62 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.01702/1.019, allocations: 8.461 MB / 1.248 GB, free: 10.53 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01044/1.029, allocations: 6.167 MB / 1.254 GB, free: 6.625 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007419/1.037, allocations: 3.874 MB / 1.258 GB, free: 4.387 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008694/1.046, allocations: 4.149 MB / 1.262 GB, free: 1.887 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.002427/1.048, allocations: 0.7786 MB / 1.263 GB, free: 1.887 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005958/1.054, allocations: 1.896 MB / 1.264 GB, free: 1.254 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.005725/1.06, allocations: 3.145 MB / 1.267 GB, free: 15.21 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.007993/1.068, allocations: 2.752 MB / 1.27 GB, free: 13.46 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.01938/1.087, allocations: 12.07 MB / 1.282 GB, free: 4.43 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 6.802e-06/1.087, allocations: 4 kB / 1.282 GB, free: 4.426 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.563e-06/1.087, allocations: 0 / 1.282 GB, free: 4.426 MB / 1.123 GB Notification: Performance of Transformations before backend: time 0.0004101/1.087, allocations: 0 / 1.282 GB, free: 4.426 MB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.01965/1.107, allocations: 5.859 MB / 1.288 GB, free: 14.5 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.863e-05/1.107, allocations: 8.031 kB / 1.288 GB, free: 14.5 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008027/1.115, allocations: 1.11 MB / 1.289 GB, free: 13.38 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009067/1.124, allocations: 3.411 MB / 1.292 GB, free: 9.902 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000515/1.125, allocations: 419.5 kB / 1.292 GB, free: 9.492 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002563/1.127, allocations: 0.5393 MB / 1.293 GB, free: 8.953 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02394/1.151, allocations: 9.377 MB / 1.302 GB, free: 15.18 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002938/1.152, allocations: 35.7 kB / 1.302 GB, free: 15.15 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00186/1.153, allocations: 232 kB / 1.302 GB, free: 14.92 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004269/1.154, allocations: 350.8 kB / 1.303 GB, free: 14.58 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01455/1.168, allocations: 6.818 MB / 1.309 GB, free: 7.75 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03754/1.206, allocations: 24.27 MB / 1.333 GB, free: 14.87 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003686/1.21, allocations: 2.293 MB / 1.335 GB, free: 12.59 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002615/1.212, allocations: 1.771 MB / 1.337 GB, free: 10.82 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 9.356e-05/1.212, allocations: 18 kB / 1.337 GB, free: 10.8 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.784e-05/1.212, allocations: 64.48 kB / 1.337 GB, free: 10.73 MB / 1.186 GB Notification: Performance of pre-optimization done (n=179): time 3.798e-06/1.212, allocations: 0 / 1.337 GB, free: 10.73 MB / 1.186 GB Notification: Performance of matching and sorting (n=182): time 0.0258/1.238, allocations: 9.663 MB / 1.347 GB, free: 1.051 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.366e-05/1.238, allocations: 73.41 kB / 1.347 GB, free: 0.9648 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002274/1.24, allocations: 1.445 MB / 1.348 GB, free: 15.52 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0001368/1.241, allocations: 57.7 kB / 1.348 GB, free: 15.46 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.001684/1.242, allocations: 2.315 MB / 1.35 GB, free: 13.12 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006706/1.243, allocations: 0.6623 MB / 1.351 GB, free: 12.45 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007083/1.244, allocations: 412.1 kB / 1.351 GB, free: 12.04 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001335/1.244, allocations: 313.1 kB / 1.352 GB, free: 11.73 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001858/1.246, allocations: 1.172 MB / 1.353 GB, free: 10.56 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002445/1.248, allocations: 1.881 MB / 1.355 GB, free: 8.359 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004593/1.253, allocations: 3.371 MB / 1.358 GB, free: 4.68 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.229e-05/1.253, allocations: 8 kB / 1.358 GB, free: 4.672 MB / 1.201 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.008148/1.261, allocations: 4.527 MB / 1.362 GB, free: 124 kB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 3.631e-05/1.261, allocations: 15.94 kB / 1.362 GB, free: 108 kB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.501e-05/1.261, allocations: 27.98 kB / 1.362 GB, free: 80 kB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003977/1.265, allocations: 1.577 MB / 1.364 GB, free: 14.5 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00126/1.266, allocations: 351.4 kB / 1.364 GB, free: 14.15 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02489/1.291, allocations: 17.82 MB / 1.382 GB, free: 11.93 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00185/1.293, allocations: 119.9 kB / 1.382 GB, free: 11.82 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00033/1.293, allocations: 92 kB / 1.382 GB, free: 11.73 MB / 1.232 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 (177): * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(12,26,30.6%), (6,24,66.7%), (6,16,66.7%), (6,16,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003705/1.297, allocations: 1.906 MB / 1.384 GB, free: 9.809 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005698/1.298, allocations: 226.6 kB / 1.384 GB, free: 9.586 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007922/1.305, allocations: 4.04 MB / 1.388 GB, free: 5.512 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.798e-05/1.305, allocations: 23.98 kB / 1.388 GB, free: 5.488 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.112e-05/1.306, allocations: 16 kB / 1.388 GB, free: 5.473 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.564e-05/1.306, allocations: 11.95 kB / 1.388 GB, free: 5.461 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0183/1.324, allocations: 7.844 MB / 1.396 GB, free: 13.49 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.762e-05/1.324, allocations: 4 kB / 1.396 GB, free: 13.49 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000903/1.325, allocations: 183.7 kB / 1.396 GB, free: 13.31 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003597/1.328, allocations: 1.355 MB / 1.397 GB, free: 11.95 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001551/1.329, allocations: 32 kB / 1.397 GB, free: 11.91 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02398/1.353, allocations: 16.61 MB / 1.413 GB, free: 10.9 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.392e-06/1.353, allocations: 4 kB / 1.413 GB, free: 10.89 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007818/1.36, allocations: 4.024 MB / 1.417 GB, free: 6.781 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001459/1.362, allocations: 458.4 kB / 1.418 GB, free: 6.332 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004994/1.362, allocations: 36 kB / 1.418 GB, free: 6.297 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001243/1.364, allocations: 91.89 kB / 1.418 GB, free: 6.207 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005289/1.364, allocations: 169.5 kB / 1.418 GB, free: 6.039 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001231/1.364, allocations: 48 kB / 1.418 GB, free: 5.992 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.001579/1.366, allocations: 0.9232 MB / 1.419 GB, free: 5.078 MB / 1.264 GB Notification: Performance of sort global known variables: time 8e-08/1.366, allocations: 0 / 1.419 GB, free: 5.078 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.003723/1.37, allocations: 0.9844 MB / 1.42 GB, free: 4.094 MB / 1.264 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 (85): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(6,16,66.7%), (6,16,66.7%), (6,24,66.7%), (6,24,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002951/1.37, allocations: 150.9 kB / 1.42 GB, free: 3.934 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.007504/1.377, allocations: 4.161 MB / 1.424 GB, free: 15.72 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 1.107e-05/1.377, allocations: 8.062 kB / 1.424 GB, free: 15.71 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.004739/1.382, allocations: 2.58 MB / 1.427 GB, free: 13.09 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003986/1.386, allocations: 0.7676 MB / 1.427 GB, free: 12.36 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02114/1.407, allocations: 8.86 MB / 1.436 GB, free: 3.406 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005033/1.412, allocations: 3.043 MB / 1.439 GB, free: 328 kB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.001494/1.414, allocations: 455.1 kB / 1.44 GB, free: 15.87 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002994/1.414, allocations: 112.5 kB / 1.44 GB, free: 15.76 MB / 1.295 GB Notification: Performance of SimCode: time 1.333e-06/1.414, allocations: 4 kB / 1.44 GB, free: 15.75 MB / 1.295 GB Notification: Performance of Templates: time 0.08556/1.5, allocations: 44.74 MB / 1.483 GB, free: 3.75 MB / 1.326 GB " [Timeout remaining time 298] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.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.470485721016303]