Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001547/0.001547, allocations: 113.9 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001564/0.001564, allocations: 185.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.442/1.442, allocations: 225.6 MB / 249.4 MB, free: 3.141 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.766/2.766, allocations: 476.7 MB / 0.7628 GB, free: 15.2 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_11_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_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002055/0.002055, allocations: 67.89 kB / 1.107 GB, free: 4.594 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.918/0.92, allocations: 168.7 MB / 1.272 GB, free: 8.133 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.0429/0.9629, allocations: 34.28 MB / 1.305 GB, free: 1.656 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.02144/0.9844, allocations: 10.64 MB / 1.316 GB, free: 10.5 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004263/0.9886, allocations: 152.4 kB / 1.316 GB, free: 10.45 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.01084/0.9995, allocations: 3.86 MB / 1.32 GB, free: 8.184 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.00723/1.007, allocations: 1.955 MB / 1.322 GB, free: 6.984 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.007404/1.014, allocations: 2.188 MB / 1.324 GB, free: 5.734 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.01466/1.029, allocations: 7.326 MB / 1.331 GB, free: 2.43 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0109/1.04, allocations: 4.814 MB / 1.336 GB, free: 15.98 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008315/1.048, allocations: 3.227 MB / 1.339 GB, free: 14.48 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009424/1.057, allocations: 3.676 MB / 1.342 GB, free: 12.94 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.003022/1.06, allocations: 0.6498 MB / 1.343 GB, free: 12.93 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006975/1.067, allocations: 1.802 MB / 1.345 GB, free: 12.49 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.006579/1.074, allocations: 2.609 MB / 1.347 GB, free: 11.37 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.008683/1.083, allocations: 2.906 MB / 1.35 GB, free: 9.473 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.01805/1.101, allocations: 10.14 MB / 1.36 GB, free: 2.23 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/1.101, allocations: 0 / 1.36 GB, free: 2.23 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.773e-06/1.101, allocations: 0 / 1.36 GB, free: 2.23 MB / 1.045 GB Notification: Performance of Transformations before backend: time 0.000298/1.101, allocations: 0 / 1.36 GB, free: 2.23 MB / 1.045 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.01665/1.118, allocations: 5.126 MB / 1.365 GB, free: 14.73 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.826e-05/1.118, allocations: 9.594 kB / 1.365 GB, free: 14.73 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007214/1.125, allocations: 0.9779 MB / 1.366 GB, free: 14.24 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00832/1.133, allocations: 3.059 MB / 1.369 GB, free: 12.24 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000415/1.134, allocations: 345.1 kB / 1.369 GB, free: 12.08 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002066/1.136, allocations: 462.6 kB / 1.37 GB, free: 11.93 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0203/1.156, allocations: 7.669 MB / 1.377 GB, free: 7.105 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002705/1.156, allocations: 33.39 kB / 1.377 GB, free: 7.082 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001596/1.158, allocations: 204.1 kB / 1.378 GB, free: 6.93 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003918/1.158, allocations: 315.6 kB / 1.378 GB, free: 6.855 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01491/1.173, allocations: 5.715 MB / 1.383 GB, free: 2.488 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0478/1.221, allocations: 34.87 MB / 1.417 GB, free: 12.41 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003091/1.224, allocations: 2.015 MB / 1.419 GB, free: 10.28 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00167/1.226, allocations: 1.128 MB / 1.421 GB, free: 9.156 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 9.181e-05/1.226, allocations: 17.3 kB / 1.421 GB, free: 9.141 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.679e-05/1.226, allocations: 47.81 kB / 1.421 GB, free: 9.086 MB / 1.107 GB Notification: Performance of pre-optimization done (n=133): time 4.869e-06/1.226, allocations: 8 kB / 1.421 GB, free: 9.078 MB / 1.107 GB Notification: Performance of matching and sorting (n=136): time 0.01562/1.242, allocations: 7.11 MB / 1.428 GB, free: 1.703 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.028e-05/1.242, allocations: 72.66 kB / 1.428 GB, free: 1.621 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00224/1.244, allocations: 1.484 MB / 1.429 GB, free: 92 kB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0002098/1.244, allocations: 45.7 kB / 1.429 GB, free: 40 kB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.001556/1.246, allocations: 2.077 MB / 1.431 GB, free: 13.94 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005821/1.246, allocations: 0.4958 MB / 1.432 GB, free: 13.44 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005504/1.247, allocations: 347.4 kB / 1.432 GB, free: 13.09 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001367/1.247, allocations: 301.1 kB / 1.432 GB, free: 12.8 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001423/1.248, allocations: 0.9174 MB / 1.433 GB, free: 11.88 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001917/1.25, allocations: 1.589 MB / 1.435 GB, free: 9.98 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003587/1.254, allocations: 2.741 MB / 1.437 GB, free: 6.93 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.175e-05/1.254, allocations: 8 kB / 1.437 GB, free: 6.922 MB / 1.123 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.006592/1.26, allocations: 3.504 MB / 1.441 GB, free: 3.371 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 3.318e-05/1.26, allocations: 20.03 kB / 1.441 GB, free: 3.352 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.932e-05/1.26, allocations: 20 kB / 1.441 GB, free: 3.332 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002628/1.263, allocations: 0.8998 MB / 1.442 GB, free: 2.395 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001176/1.264, allocations: 351.4 kB / 1.442 GB, free: 2.051 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02417/1.288, allocations: 23.12 MB / 1.465 GB, free: 9.25 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001715/1.29, allocations: 100.2 kB / 1.465 GB, free: 9.152 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001854/1.29, allocations: 88 kB / 1.465 GB, free: 9.066 MB / 1.154 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.003538/1.294, allocations: 1.609 MB / 1.466 GB, free: 7.445 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006024/1.294, allocations: 218.6 kB / 1.467 GB, free: 7.23 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005948/1.3, allocations: 2.963 MB / 1.469 GB, free: 4.219 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.997e-05/1.3, allocations: 19.94 kB / 1.469 GB, free: 4.199 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.066e-05/1.3, allocations: 8 kB / 1.47 GB, free: 4.191 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.493e-05/1.3, allocations: 11.91 kB / 1.47 GB, free: 4.18 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01561/1.316, allocations: 7.317 MB / 1.477 GB, free: 12.62 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-05/1.316, allocations: 4 kB / 1.477 GB, free: 12.62 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008169/1.317, allocations: 172.3 kB / 1.477 GB, free: 12.45 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002482/1.319, allocations: 0.8218 MB / 1.478 GB, free: 11.59 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001465/1.32, allocations: 35.98 kB / 1.478 GB, free: 11.56 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02369/1.343, allocations: 21.95 MB / 1.499 GB, free: 3.926 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.508e-05/1.343, allocations: 23.91 kB / 1.499 GB, free: 3.902 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006071/1.349, allocations: 3.003 MB / 1.502 GB, free: 0.7852 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001302/1.351, allocations: 467.6 kB / 1.503 GB, free: 316 kB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003269/1.351, allocations: 35.94 kB / 1.503 GB, free: 280 kB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008936/1.352, allocations: 71.91 kB / 1.503 GB, free: 208 kB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004262/1.352, allocations: 132.6 kB / 1.503 GB, free: 76 kB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.33e-05/1.352, allocations: 36 kB / 1.503 GB, free: 40 kB / 1.186 GB Notification: Performance of sorting global known variables: time 0.00155/1.354, allocations: 0.9756 MB / 1.504 GB, free: 15.04 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.1e-07/1.354, allocations: 0 / 1.504 GB, free: 15.04 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.003183/1.357, allocations: 0.7891 MB / 1.504 GB, free: 14.25 MB / 1.201 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.0003014/1.357, allocations: 148.6 kB / 1.505 GB, free: 14.1 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.006567/1.364, allocations: 3.913 MB / 1.508 GB, free: 10.03 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 1.638e-05/1.364, allocations: 5 kB / 1.508 GB, free: 10.02 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.004313/1.368, allocations: 2.669 MB / 1.511 GB, free: 7.203 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003494/1.372, allocations: 0.7184 MB / 1.512 GB, free: 6.508 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01548/1.387, allocations: 7.362 MB / 1.519 GB, free: 15.05 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004697/1.392, allocations: 3.113 MB / 1.522 GB, free: 11.91 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.001585/1.394, allocations: 453.9 kB / 1.522 GB, free: 11.46 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003222/1.394, allocations: 115.4 kB / 1.523 GB, free: 11.35 MB / 1.217 GB Notification: Performance of SimCode: time 1.943e-06/1.394, allocations: 0 / 1.523 GB, free: 11.35 MB / 1.217 GB Notification: Performance of Templates: time 0.07046/1.464, allocations: 37.35 MB / 1.559 GB, free: 6.422 MB / 1.248 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.115935545414686]