Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.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.001838/0.001838, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.002267/0.002267, allocations: 215.4 kB / 22.99 MB, free: 4.945 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.536/1.536, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.914/3.914, allocations: 0.4892 GB / 0.7951 GB, free: 35.56 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.ACLineMatrix_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rline_1.terminal_n.phase.1..i.1.|Rline_1.terminal_n.phase.1..i.2.|Rline_2a.terminal_n.phase.1..i.1.|Rline_2a.terminal_n.phase.1..i.2.|Rline_3a.terminal_n.phase.1..i.1.|Rline_3a.terminal_n.phase.1..i.2.|Rline_3b.terminal_n.phase.1..i.1.|Rline_3b.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rline_1.terminal_n.phase.1..i.1.|Rline_1.terminal_n.phase.1..i.2.|Rline_2a.terminal_n.phase.1..i.1.|Rline_2a.terminal_n.phase.1..i.2.|Rline_3a.terminal_n.phase.1..i.1.|Rline_3a.terminal_n.phase.1..i.2.|Rline_3b.terminal_n.phase.1..i.1.|Rline_3b.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL") [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.002128/0.002128, allocations: 67.09 kB / 1.154 GB, free: 25.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3755/0.3776, allocations: 176.1 MB / 1.326 GB, free: 1.832 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.0296/0.4072, allocations: 21.56 MB / 1.347 GB, free: 12.21 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.01362/0.4209, allocations: 6.179 MB / 1.353 GB, free: 6.016 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002686/0.4236, allocations: 123.1 kB / 1.354 GB, free: 5.895 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.005232/0.4288, allocations: 1.574 MB / 1.355 GB, free: 4.316 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.005391/0.4342, allocations: 1.727 MB / 1.357 GB, free: 2.582 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.004181/0.4384, allocations: 1.347 MB / 1.358 GB, free: 1.234 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.008508/0.4469, allocations: 5.932 MB / 1.364 GB, free: 11.28 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00589/0.4528, allocations: 3.197 MB / 1.367 GB, free: 7.996 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004833/0.4576, allocations: 2.5 MB / 1.369 GB, free: 5.488 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005551/0.4631, allocations: 2.92 MB / 1.372 GB, free: 2.559 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.001209/0.4643, allocations: 456 kB / 1.373 GB, free: 2.113 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002968/0.4673, allocations: 1.034 MB / 1.374 GB, free: 1.078 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.002966/0.4703, allocations: 2.077 MB / 1.376 GB, free: 15 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.003936/0.4742, allocations: 1.762 MB / 1.377 GB, free: 13.23 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.01029/0.4845, allocations: 7.347 MB / 1.385 GB, free: 5.855 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 8.696e-06/0.4845, allocations: 0 / 1.385 GB, free: 5.855 MB / 1.076 GB Notification: Performance of FrontEnd: time 3.476e-06/0.4845, allocations: 0 / 1.385 GB, free: 5.855 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0002343/0.4848, allocations: 4 kB / 1.385 GB, free: 5.852 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 913 * Number of variables: 913 Notification: Performance of Generate backend data structure: time 0.01014/0.4949, allocations: 3.841 MB / 1.388 GB, free: 1.961 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.965e-05/0.495, allocations: 12.03 kB / 1.388 GB, free: 1.949 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006546/0.5015, allocations: 1.223 MB / 1.39 GB, free: 0.7227 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00639/0.5079, allocations: 2.316 MB / 1.392 GB, free: 14.36 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002582/0.5081, allocations: 234.4 kB / 1.392 GB, free: 14.12 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001516/0.5097, allocations: 315.9 kB / 1.392 GB, free: 13.82 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01372/0.5234, allocations: 6.446 MB / 1.399 GB, free: 7.059 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.415e-05/0.5235, allocations: 15.88 kB / 1.399 GB, free: 7.043 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004749/0.5239, allocations: 143.9 kB / 1.399 GB, free: 6.902 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005557/0.5245, allocations: 402.3 kB / 1.399 GB, free: 6.508 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01016/0.5347, allocations: 4.654 MB / 1.404 GB, free: 1.844 MB / 1.092 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03343/0.5681, allocations: 18.08 MB / 1.421 GB, free: 15.27 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002577/0.5707, allocations: 1.357 MB / 1.423 GB, free: 13.89 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002289/0.573, allocations: 1.441 MB / 1.424 GB, free: 12.45 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000106/0.5731, allocations: 16.98 kB / 1.424 GB, free: 12.44 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.542e-05/0.5731, allocations: 51.48 kB / 1.424 GB, free: 12.38 MB / 1.123 GB Notification: Performance of pre-optimization done (n=110): time 3.978e-06/0.5731, allocations: 0 / 1.424 GB, free: 12.38 MB / 1.123 GB Notification: Performance of matching and sorting (n=179): time 0.1528/0.7259, allocations: 37.06 MB / 1.46 GB, free: 7.258 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.11e-05/0.726, allocations: 69.41 kB / 1.46 GB, free: 7.176 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002186/0.7282, allocations: 1.367 MB / 1.462 GB, free: 5.797 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0003154/0.7285, allocations: 53.64 kB / 1.462 GB, free: 5.738 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.001332/0.7298, allocations: 1.586 MB / 1.463 GB, free: 4.141 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008231/0.7306, allocations: 0.6429 MB / 1.464 GB, free: 3.492 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007846/0.7314, allocations: 383.5 kB / 1.464 GB, free: 3.109 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.000153/0.7316, allocations: 305.1 kB / 1.465 GB, free: 2.809 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002931/0.7345, allocations: 1.788 MB / 1.466 GB, free: 1.016 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003426/0.7379, allocations: 2.35 MB / 1.469 GB, free: 14.42 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006587/0.7445, allocations: 4.391 MB / 1.473 GB, free: 9.785 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.361e-05/0.7445, allocations: 8 kB / 1.473 GB, free: 9.777 MB / 1.17 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01961/0.7641, allocations: 8.416 MB / 1.481 GB, free: 1.324 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 4.41e-05/0.7642, allocations: 15.94 kB / 1.481 GB, free: 1.309 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.248e-05/0.7642, allocations: 16 kB / 1.481 GB, free: 1.293 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01564/0.7798, allocations: 4.607 MB / 1.486 GB, free: 12.67 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001309/0.7812, allocations: 311.4 kB / 1.486 GB, free: 12.36 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05261/0.8338, allocations: 31.42 MB / 1.517 GB, free: 12.32 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002366/0.8361, allocations: 159.7 kB / 1.517 GB, free: 12.17 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002506/0.8364, allocations: 91.92 kB / 1.517 GB, free: 12.08 MB / 1.217 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (157): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(11,13,90.1%), (11,13,91.7%), (6,12,100.0%), (6,12,100.0%), (6,6,100.0%), (6,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002628/0.839, allocations: 1.321 MB / 1.518 GB, free: 10.75 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004991/0.8395, allocations: 198.8 kB / 1.518 GB, free: 10.55 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01865/0.8582, allocations: 8.292 MB / 1.527 GB, free: 2.211 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.943e-05/0.8582, allocations: 20 kB / 1.527 GB, free: 2.191 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.617e-05/0.8583, allocations: 28 kB / 1.527 GB, free: 2.164 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.698e-05/0.8583, allocations: 7.969 kB / 1.527 GB, free: 2.156 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02576/0.8841, allocations: 11.65 MB / 1.538 GB, free: 6.352 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.296e-05/0.8841, allocations: 7.984 kB / 1.538 GB, free: 6.344 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007836/0.8849, allocations: 167.7 kB / 1.538 GB, free: 6.18 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01482/0.8997, allocations: 4.469 MB / 1.543 GB, free: 1.695 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003409/0.9, allocations: 39.94 kB / 1.543 GB, free: 1.656 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05019/0.9502, allocations: 31.03 MB / 1.573 GB, free: 2.004 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.188e-05/0.9502, allocations: 11.94 kB / 1.573 GB, free: 1.992 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.018/0.9682, allocations: 8.096 MB / 1.581 GB, free: 9.762 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001828/0.9701, allocations: 0.5453 MB / 1.581 GB, free: 9.215 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004256/0.9705, allocations: 43.94 kB / 1.581 GB, free: 9.172 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001524/0.972, allocations: 135.8 kB / 1.581 GB, free: 9.039 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007873/0.9728, allocations: 180.8 kB / 1.582 GB, free: 8.863 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001465/0.9729, allocations: 48 kB / 1.582 GB, free: 8.816 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.001336/0.9743, allocations: 0.8937 MB / 1.583 GB, free: 7.926 MB / 1.279 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9743, allocations: 0 / 1.583 GB, free: 7.926 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.003492/0.9778, allocations: 1.117 MB / 1.584 GB, free: 6.809 MB / 1.279 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(6,6,100.0%), (6,12,100.0%), (11,13,91.7%), (6,6,100.0%), (6,12,100.0%), (11,13,91.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000348/0.9781, allocations: 152.7 kB / 1.584 GB, free: 6.648 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.01339/0.9915, allocations: 6.305 MB / 1.59 GB, free: 272 kB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 1.539e-05/0.9915, allocations: 7.938 kB / 1.59 GB, free: 264 kB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.009963/1.001, allocations: 4.189 MB / 1.594 GB, free: 11.98 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002745/1.004, allocations: 0.5092 MB / 1.595 GB, free: 11.49 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01363/1.018, allocations: 7.513 MB / 1.602 GB, free: 3.871 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003357/1.021, allocations: 2.239 MB / 1.604 GB, free: 1.586 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004325/1.022, allocations: 103.4 kB / 1.604 GB, free: 1.484 MB / 1.295 GB Notification: Performance of SimCode: time 1.182e-06/1.022, allocations: 0 / 1.604 GB, free: 1.484 MB / 1.295 GB Notification: Performance of Templates: time 0.8384/1.86, allocations: 155.3 MB / 1.756 GB, free: 137.5 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.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: 22.127773435786366]