Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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.001329/0.001329, allocations: 84.91 kB / 19.76 MB, free: 2.023 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.001432/0.001432, allocations: 158.2 kB / 23.01 MB, free: 4.961 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.414/1.414, allocations: 177.2 MB / 203.4 MB, free: 8.965 MB / 190.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 2.747/2.747, allocations: 377.9 MB / 0.6228 GB, free: 12.61 MB / 0.5919 GB " [Timeout remaining time 177] 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_R_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.terminal.phase.1..v.1.|R2.terminal.phase.1..v.1.|R3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|R1.load1.i.1.|R2.load1.i.1.|R3.load1.i.1.|sc_load.load1.i.1.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.terminal.phase.1..v.1.|R2.terminal.phase.1..v.1.|R3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|R1.load1.i.1.|R2.load1.i.1.|R3.load1.i.1.|sc_load.load1.i.1.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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.002084/0.002084, allocations: 67.89 kB / 0.982 GB, free: 12.35 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8686/0.8706, allocations: 176.1 MB / 1.154 GB, free: 33.23 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.03248/0.9031, allocations: 36.43 MB / 1.189 GB, free: 10.57 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01819/0.9213, allocations: 11.13 MB / 1.2 GB, free: 3.195 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004502/0.9258, allocations: 199.4 kB / 1.201 GB, free: 3.105 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.01171/0.9375, allocations: 4.378 MB / 1.205 GB, free: 0.6367 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.008175/0.9457, allocations: 2.331 MB / 1.207 GB, free: 15.18 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.007229/0.9529, allocations: 2.18 MB / 1.209 GB, free: 13.94 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.01626/0.9692, allocations: 9.276 MB / 1.218 GB, free: 9.711 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01518/0.9844, allocations: 6.329 MB / 1.224 GB, free: 6.555 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01242/0.9968, allocations: 4.136 MB / 1.229 GB, free: 4.688 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01216/1.009, allocations: 4.457 MB / 1.233 GB, free: 3.023 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.003622/1.013, allocations: 0.8221 MB / 1.234 GB, free: 3.023 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007216/1.02, allocations: 1.5 MB / 1.235 GB, free: 2.777 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.008401/1.028, allocations: 3.231 MB / 1.238 GB, free: 1.367 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.01232/1.041, allocations: 2.969 MB / 1.241 GB, free: 15.71 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.02378/1.064, allocations: 12.41 MB / 1.253 GB, free: 9.707 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/1.064, allocations: 3.938 kB / 1.253 GB, free: 9.703 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.804e-06/1.064, allocations: 0 / 1.253 GB, free: 9.703 MB / 1.107 GB Notification: Performance of Transformations before backend: time 0.0004479/1.065, allocations: 6 kB / 1.253 GB, free: 9.699 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: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.02269/1.087, allocations: 6.397 MB / 1.26 GB, free: 5.508 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/1.087, allocations: 9.031 kB / 1.26 GB, free: 5.508 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007822/1.095, allocations: 1.104 MB / 1.261 GB, free: 4.977 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01043/1.106, allocations: 3.576 MB / 1.264 GB, free: 2.738 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006181/1.106, allocations: 419.8 kB / 1.265 GB, free: 2.551 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003212/1.11, allocations: 0.5414 MB / 1.265 GB, free: 2.367 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02399/1.134, allocations: 10.3 MB / 1.275 GB, free: 11.51 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001503/1.134, allocations: 23.52 kB / 1.275 GB, free: 11.49 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008733/1.135, allocations: 244.5 kB / 1.275 GB, free: 11.31 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006695/1.135, allocations: 421.4 kB / 1.276 GB, free: 11.21 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01535/1.151, allocations: 7.118 MB / 1.283 GB, free: 4.359 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04573/1.196, allocations: 25.38 MB / 1.308 GB, free: 10.35 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005297/1.202, allocations: 2.887 MB / 1.31 GB, free: 7.457 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003159/1.205, allocations: 1.941 MB / 1.312 GB, free: 5.512 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001145/1.205, allocations: 25.94 kB / 1.312 GB, free: 5.484 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.64e-05/1.205, allocations: 60.56 kB / 1.312 GB, free: 5.418 MB / 1.154 GB Notification: Performance of pre-optimization done (n=209): time 4.158e-06/1.205, allocations: 0 / 1.312 GB, free: 5.418 MB / 1.154 GB Notification: Performance of matching and sorting (n=212): time 0.02685/1.232, allocations: 10.24 MB / 1.322 GB, free: 11.16 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.215e-05/1.232, allocations: 77.34 kB / 1.322 GB, free: 11.07 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003029/1.235, allocations: 1.837 MB / 1.324 GB, free: 9.207 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.000302/1.235, allocations: 65.7 kB / 1.324 GB, free: 9.137 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.002211/1.237, allocations: 2.481 MB / 1.327 GB, free: 6.633 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009108/1.238, allocations: 0.7708 MB / 1.327 GB, free: 5.855 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008466/1.239, allocations: 477.5 kB / 1.328 GB, free: 5.383 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001417/1.239, allocations: 305.1 kB / 1.328 GB, free: 5.082 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002241/1.242, allocations: 1.372 MB / 1.33 GB, free: 3.707 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003167/1.245, allocations: 2.108 MB / 1.332 GB, free: 1.285 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005625/1.25, allocations: 3.766 MB / 1.335 GB, free: 13.21 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.564e-05/1.25, allocations: 8 kB / 1.335 GB, free: 13.2 MB / 1.186 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.009366/1.26, allocations: 5.012 MB / 1.34 GB, free: 8.164 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 3.433e-05/1.26, allocations: 14.34 kB / 1.34 GB, free: 8.152 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.303e-05/1.26, allocations: 24 kB / 1.34 GB, free: 8.129 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003759/1.264, allocations: 1.581 MB / 1.342 GB, free: 6.539 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001863/1.265, allocations: 451.2 kB / 1.342 GB, free: 6.098 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02527/1.291, allocations: 17.79 MB / 1.36 GB, free: 3.902 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002627/1.293, allocations: 147.9 kB / 1.36 GB, free: 3.758 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000275/1.294, allocations: 104 kB / 1.36 GB, free: 3.656 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 (231): * Single equations (assignments): 227 * 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 {(7,31,57.1%), (6,24,66.7%), (4,18,100.0%), (4,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003806/1.297, allocations: 1.945 MB / 1.362 GB, free: 1.699 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006298/1.298, allocations: 278.3 kB / 1.362 GB, free: 1.426 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007985/1.306, allocations: 4.393 MB / 1.366 GB, free: 13 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.316e-05/1.306, allocations: 20 kB / 1.366 GB, free: 12.98 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.37e-05/1.306, allocations: 16 kB / 1.366 GB, free: 12.96 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.888e-05/1.306, allocations: 11.97 kB / 1.366 GB, free: 12.95 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01621/1.322, allocations: 8.342 MB / 1.374 GB, free: 4.492 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.579e-05/1.322, allocations: 4 kB / 1.374 GB, free: 4.488 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001135/1.323, allocations: 231.6 kB / 1.375 GB, free: 4.262 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003763/1.327, allocations: 1.43 MB / 1.376 GB, free: 2.82 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002149/1.327, allocations: 40.12 kB / 1.376 GB, free: 2.781 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02601/1.353, allocations: 17.79 MB / 1.393 GB, free: 0.5781 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.686e-06/1.353, allocations: 8 kB / 1.393 GB, free: 0.5703 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008438/1.362, allocations: 4.478 MB / 1.398 GB, free: 12 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001732/1.364, allocations: 0.5452 MB / 1.398 GB, free: 11.46 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000413/1.364, allocations: 40 kB / 1.398 GB, free: 11.42 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001369/1.365, allocations: 119.9 kB / 1.399 GB, free: 11.3 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005522/1.366, allocations: 193.4 kB / 1.399 GB, free: 11.11 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001627/1.366, allocations: 63.98 kB / 1.399 GB, free: 11.05 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.001934/1.368, allocations: 1.165 MB / 1.4 GB, free: 9.871 MB / 1.248 GB Notification: Performance of sort global known variables: time 1.3e-07/1.368, allocations: 7.875 kB / 1.4 GB, free: 9.863 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.00366/1.372, allocations: 1.141 MB / 1.401 GB, free: 8.723 MB / 1.248 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 (107): * Single equations (assignments): 103 * 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 {(4,18,100.0%), (6,24,66.7%), (4,18,100.0%), (6,32,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003332/1.372, allocations: 163.5 kB / 1.401 GB, free: 8.555 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.007961/1.38, allocations: 4.532 MB / 1.406 GB, free: 3.973 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 1.048e-05/1.38, allocations: 4 kB / 1.406 GB, free: 3.969 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.005243/1.385, allocations: 2.817 MB / 1.408 GB, free: 1.102 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004023/1.389, allocations: 0.817 MB / 1.409 GB, free: 308 kB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02013/1.409, allocations: 9.547 MB / 1.418 GB, free: 6.656 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005836/1.415, allocations: 3.158 MB / 1.422 GB, free: 3.457 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.00212/1.417, allocations: 0.5304 MB / 1.422 GB, free: 2.922 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000456/1.418, allocations: 140.5 kB / 1.422 GB, free: 2.785 MB / 1.264 GB Notification: Performance of SimCode: time 1.062e-06/1.418, allocations: 0 / 1.422 GB, free: 2.785 MB / 1.264 GB Notification: Performance of Templates: time 0.09769/1.515, allocations: 52.37 MB / 1.473 GB, free: 15.46 MB / 1.326 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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.524767469032668]