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.00178/0.00178, allocations: 106.2 kB / 19.69 MB, free: 2.277 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.002025/0.002025, allocations: 213.9 kB / 23 MB, free: 4.605 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.51/1.51, allocations: 230.6 MB / 256.8 MB, free: 8.039 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.231/3.231, allocations: 0.49 GB / 0.7958 GB, free: 33.22 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.002404/0.002404, allocations: 70.02 kB / 1.155 GB, free: 25.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3854/0.3879, allocations: 176.1 MB / 1.327 GB, free: 1.438 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.04328/0.4311, allocations: 34.28 MB / 1.361 GB, free: 15.05 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.01959/0.4507, allocations: 10.7 MB / 1.371 GB, free: 4.324 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003581/0.4543, allocations: 194.6 kB / 1.371 GB, free: 4.133 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.01052/0.4648, allocations: 3.881 MB / 1.375 GB, free: 248 kB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.007054/0.4719, allocations: 1.952 MB / 1.377 GB, free: 14.28 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.007456/0.4793, allocations: 2.2 MB / 1.379 GB, free: 12.08 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.01208/0.4914, allocations: 7.326 MB / 1.386 GB, free: 4.73 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00933/0.5007, allocations: 5.162 MB / 1.391 GB, free: 15.45 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007056/0.5078, allocations: 3.268 MB / 1.394 GB, free: 12.17 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007329/0.5151, allocations: 3.68 MB / 1.398 GB, free: 8.477 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.002063/0.5172, allocations: 0.6484 MB / 1.399 GB, free: 7.828 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004965/0.5222, allocations: 1.802 MB / 1.4 GB, free: 6.023 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.004084/0.5262, allocations: 2.611 MB / 1.403 GB, free: 3.406 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.005979/0.5322, allocations: 2.902 MB / 1.406 GB, free: 0.4922 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.01428/0.5465, allocations: 10.13 MB / 1.416 GB, free: 6.328 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 7.474e-06/0.5465, allocations: 0 / 1.416 GB, free: 6.328 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.943e-06/0.5465, allocations: 0 / 1.416 GB, free: 6.328 MB / 1.107 GB Notification: Performance of Transformations before backend: time 0.0002914/0.5468, allocations: 0 / 1.416 GB, free: 6.328 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.01289/0.5597, allocations: 5.052 MB / 1.421 GB, free: 1.215 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/0.5597, allocations: 12.03 kB / 1.421 GB, free: 1.203 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005538/0.5653, allocations: 0.9696 MB / 1.422 GB, free: 236 kB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00778/0.5731, allocations: 3.011 MB / 1.425 GB, free: 13.15 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003252/0.5734, allocations: 345.6 kB / 1.425 GB, free: 12.81 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001409/0.5748, allocations: 464.3 kB / 1.425 GB, free: 12.36 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01674/0.5915, allocations: 7.675 MB / 1.433 GB, free: 4.332 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001529/0.5917, allocations: 23.83 kB / 1.433 GB, free: 4.309 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006131/0.5923, allocations: 204 kB / 1.433 GB, free: 4.109 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003701/0.5927, allocations: 309 kB / 1.433 GB, free: 3.805 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01267/0.6053, allocations: 5.714 MB / 1.439 GB, free: 14.07 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04667/0.652, allocations: 34.57 MB / 1.473 GB, free: 8.289 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00286/0.6549, allocations: 1.556 MB / 1.474 GB, free: 6.727 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001677/0.6565, allocations: 1.12 MB / 1.475 GB, free: 5.609 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 9.398e-05/0.6566, allocations: 17.31 kB / 1.475 GB, free: 5.59 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.34e-05/0.6567, allocations: 47.88 kB / 1.475 GB, free: 5.535 MB / 1.17 GB Notification: Performance of pre-optimization done (n=133): time 3.136e-06/0.6567, allocations: 7.938 kB / 1.475 GB, free: 5.527 MB / 1.17 GB Notification: Performance of matching and sorting (n=136): time 0.01504/0.6717, allocations: 6.207 MB / 1.481 GB, free: 15.28 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.302e-05/0.6718, allocations: 68.7 kB / 1.482 GB, free: 15.2 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002314/0.6741, allocations: 1.48 MB / 1.483 GB, free: 13.67 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0001072/0.6742, allocations: 49.7 kB / 1.483 GB, free: 13.62 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.001825/0.676, allocations: 2.069 MB / 1.485 GB, free: 11.53 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005183/0.6765, allocations: 0.4957 MB / 1.485 GB, free: 11.03 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005578/0.6771, allocations: 355.3 kB / 1.486 GB, free: 10.67 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001489/0.6773, allocations: 301.1 kB / 1.486 GB, free: 10.38 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001414/0.6787, allocations: 0.9174 MB / 1.487 GB, free: 9.457 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002132/0.6808, allocations: 1.589 MB / 1.489 GB, free: 7.559 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003854/0.6847, allocations: 2.733 MB / 1.491 GB, free: 4.512 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.04e-05/0.6847, allocations: 11.88 kB / 1.491 GB, free: 4.5 MB / 1.186 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.006781/0.6914, allocations: 3.516 MB / 1.495 GB, free: 0.9375 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 3.672e-05/0.6915, allocations: 23.88 kB / 1.495 GB, free: 0.9141 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.319e-05/0.6916, allocations: 24 kB / 1.495 GB, free: 0.8906 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002733/0.6943, allocations: 0.9038 MB / 1.496 GB, free: 15.95 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001187/0.6955, allocations: 347.4 kB / 1.496 GB, free: 15.61 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02514/0.7206, allocations: 21.89 MB / 1.517 GB, free: 8.355 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002178/0.7228, allocations: 103.9 kB / 1.517 GB, free: 8.254 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001766/0.723, allocations: 83.98 kB / 1.517 GB, free: 8.172 MB / 1.217 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.003499/0.7265, allocations: 1.612 MB / 1.519 GB, free: 6.551 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000559/0.727, allocations: 214.6 kB / 1.519 GB, free: 6.34 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005794/0.7328, allocations: 2.966 MB / 1.522 GB, free: 3.324 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-05/0.7328, allocations: 12 kB / 1.522 GB, free: 3.312 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.923e-05/0.7329, allocations: 8 kB / 1.522 GB, free: 3.305 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.485e-05/0.7329, allocations: 11.97 kB / 1.522 GB, free: 3.293 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01374/0.7466, allocations: 7.289 MB / 1.529 GB, free: 11.77 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.619e-05/0.7466, allocations: 8.562 kB / 1.529 GB, free: 11.77 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008134/0.7474, allocations: 171.7 kB / 1.529 GB, free: 11.6 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002575/0.75, allocations: 0.8259 MB / 1.53 GB, free: 10.73 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001067/0.7501, allocations: 32 kB / 1.53 GB, free: 10.7 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02267/0.7728, allocations: 20.73 MB / 1.551 GB, free: 4.598 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.776e-06/0.7728, allocations: 8.094 kB / 1.551 GB, free: 4.59 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006078/0.7789, allocations: 3.007 MB / 1.554 GB, free: 1.465 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001319/0.7802, allocations: 390.5 kB / 1.554 GB, free: 1.082 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002319/0.7804, allocations: 39.81 kB / 1.554 GB, free: 1.043 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007903/0.7812, allocations: 71.91 kB / 1.554 GB, free: 0.9727 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003759/0.7816, allocations: 132.6 kB / 1.554 GB, free: 0.8438 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.325e-05/0.7817, allocations: 36 kB / 1.554 GB, free: 0.8086 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.001529/0.7832, allocations: 0.9795 MB / 1.555 GB, free: 15.8 MB / 1.264 GB Notification: Performance of sort global known variables: time 7e-08/0.7832, allocations: 0 / 1.555 GB, free: 15.8 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.0031/0.7863, allocations: 0.7891 MB / 1.556 GB, free: 15.02 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 (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.0002693/0.7866, allocations: 144.1 kB / 1.556 GB, free: 14.87 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.006282/0.7929, allocations: 3.91 MB / 1.56 GB, free: 10.8 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 7.694e-06/0.7929, allocations: 5 kB / 1.56 GB, free: 10.8 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.003973/0.7968, allocations: 2.666 MB / 1.562 GB, free: 7.977 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003103/0.7999, allocations: 0.7398 MB / 1.563 GB, free: 7.262 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01494/0.8149, allocations: 7.984 MB / 1.571 GB, free: 15.18 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003897/0.8188, allocations: 3.179 MB / 1.574 GB, free: 11.97 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005648/0.8193, allocations: 127.4 kB / 1.574 GB, free: 11.85 MB / 1.279 GB Notification: Performance of SimCode: time 1.613e-06/0.8193, allocations: 0 / 1.574 GB, free: 11.85 MB / 1.279 GB Notification: Performance of Templates: time 1.032/1.851, allocations: 321.9 MB / 1.889 GB, free: 4.023 MB / 1.311 GB " [Timeout remaining time 298] 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/jenkins1/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: 24.351051830977667]