Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001385/0.001385, allocations: 99.66 kB / 18.94 MB, free: 2.84 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.00164/0.00164, allocations: 220.5 kB / 22.24 MB, free: 5.105 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.516/1.516, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.861/2.861, allocations: 476 MB / 0.7699 GB, free: 4.77 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.002134/0.002134, allocations: 67.8 kB / 1.117 GB, free: 41.02 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.332/0.3341, allocations: 170 MB / 1.283 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.02806/0.3622, allocations: 21.55 MB / 1.304 GB, free: 6.352 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01227/0.3745, allocations: 6.186 MB / 1.31 GB, free: 156 kB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002117/0.3766, allocations: 123.1 kB / 1.31 GB, free: 32 kB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.004656/0.3812, allocations: 1.558 MB / 1.312 GB, free: 14.47 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.004552/0.3858, allocations: 1.727 MB / 1.313 GB, free: 12.73 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.004554/0.3903, allocations: 1.354 MB / 1.315 GB, free: 11.38 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.008083/0.3984, allocations: 5.94 MB / 1.321 GB, free: 5.43 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006945/0.4054, allocations: 3.193 MB / 1.324 GB, free: 2.145 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005033/0.4104, allocations: 2.493 MB / 1.326 GB, free: 15.64 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005776/0.4162, allocations: 2.924 MB / 1.329 GB, free: 12.71 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.001616/0.4178, allocations: 464 kB / 1.329 GB, free: 12.26 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003398/0.4212, allocations: 1.026 MB / 1.33 GB, free: 11.23 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.003721/0.4249, allocations: 2.085 MB / 1.332 GB, free: 9.141 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.004974/0.4299, allocations: 1.751 MB / 1.334 GB, free: 7.383 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.01147/0.4414, allocations: 7.355 MB / 1.341 GB, free: 4 kB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.674e-06/0.4414, allocations: 0 / 1.341 GB, free: 4 kB / 1.029 GB Notification: Performance of FrontEnd: time 2.394e-06/0.4414, allocations: 4 kB / 1.341 GB, free: 0 / 1.029 GB Notification: Performance of Transformations before backend: time 0.0002614/0.4416, allocations: 0 / 1.341 GB, free: 0 / 1.029 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.01267/0.4543, allocations: 3.843 MB / 1.345 GB, free: 12.11 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.616e-05/0.4543, allocations: 8.031 kB / 1.345 GB, free: 12.1 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006965/0.4613, allocations: 1.231 MB / 1.346 GB, free: 10.87 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005653/0.467, allocations: 2.305 MB / 1.349 GB, free: 8.516 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002497/0.4672, allocations: 238.4 kB / 1.349 GB, free: 8.281 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001008/0.4682, allocations: 315.9 kB / 1.349 GB, free: 7.973 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01264/0.4809, allocations: 6.442 MB / 1.355 GB, free: 1.219 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.467e-05/0.4809, allocations: 15.88 kB / 1.355 GB, free: 1.203 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003804/0.4813, allocations: 139.9 kB / 1.356 GB, free: 1.066 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005371/0.4819, allocations: 406.3 kB / 1.356 GB, free: 0.668 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009868/0.4917, allocations: 4.658 MB / 1.36 GB, free: 12 MB / 1.061 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.03083/0.5226, allocations: 18.08 MB / 1.378 GB, free: 9.422 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002313/0.5249, allocations: 1.369 MB / 1.379 GB, free: 8.039 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002113/0.527, allocations: 1.44 MB / 1.381 GB, free: 6.598 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 9.433e-05/0.5271, allocations: 13 kB / 1.381 GB, free: 6.586 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.221e-05/0.5271, allocations: 43.56 kB / 1.381 GB, free: 6.531 MB / 1.076 GB Notification: Performance of pre-optimization done (n=110): time 3.456e-06/0.5271, allocations: 0 / 1.381 GB, free: 6.531 MB / 1.076 GB Notification: Performance of matching and sorting (n=179): time 0.1502/0.6773, allocations: 37.05 MB / 1.417 GB, free: 1.43 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.115e-05/0.6774, allocations: 73.41 kB / 1.417 GB, free: 1.344 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002166/0.6796, allocations: 1.368 MB / 1.419 GB, free: 15.96 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0002846/0.6798, allocations: 53.7 kB / 1.419 GB, free: 15.9 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.001292/0.6811, allocations: 1.59 MB / 1.42 GB, free: 14.3 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007136/0.6818, allocations: 0.6391 MB / 1.421 GB, free: 13.65 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007321/0.6826, allocations: 379.5 kB / 1.421 GB, free: 13.27 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001444/0.6827, allocations: 309.1 kB / 1.421 GB, free: 12.97 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00274/0.6855, allocations: 1.784 MB / 1.423 GB, free: 11.18 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003294/0.6888, allocations: 2.35 MB / 1.425 GB, free: 8.574 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006331/0.6951, allocations: 4.391 MB / 1.43 GB, free: 3.945 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.311e-05/0.6951, allocations: 4 kB / 1.43 GB, free: 3.941 MB / 1.123 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01927/0.7144, allocations: 8.416 MB / 1.438 GB, free: 11.49 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 3.835e-05/0.7144, allocations: 15.94 kB / 1.438 GB, free: 11.47 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.2e-05/0.7144, allocations: 20 kB / 1.438 GB, free: 11.45 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01534/0.7298, allocations: 4.618 MB / 1.442 GB, free: 6.824 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00128/0.7311, allocations: 307.4 kB / 1.443 GB, free: 6.523 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05123/0.7823, allocations: 31.43 MB / 1.473 GB, free: 6.473 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002221/0.7845, allocations: 152 kB / 1.474 GB, free: 6.324 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000213/0.7847, allocations: 83.98 kB / 1.474 GB, free: 6.242 MB / 1.17 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.002414/0.7871, allocations: 1.325 MB / 1.475 GB, free: 4.906 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004607/0.7876, allocations: 206.7 kB / 1.475 GB, free: 4.703 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01868/0.8063, allocations: 8.292 MB / 1.483 GB, free: 12.36 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.203e-05/0.8063, allocations: 16 kB / 1.483 GB, free: 12.34 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-05/0.8064, allocations: 27.94 kB / 1.483 GB, free: 12.32 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.248e-05/0.8064, allocations: 15.95 kB / 1.483 GB, free: 12.3 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02571/0.8321, allocations: 11.64 MB / 1.495 GB, free: 0.5039 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-05/0.8321, allocations: 8 kB / 1.495 GB, free: 0.4961 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007502/0.8329, allocations: 163.7 kB / 1.495 GB, free: 344 kB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.015/0.8479, allocations: 4.472 MB / 1.499 GB, free: 11.85 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000362/0.8482, allocations: 43.94 kB / 1.499 GB, free: 11.8 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05075/0.899, allocations: 31.03 MB / 1.53 GB, free: 12.15 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.141e-05/0.899, allocations: 11.94 kB / 1.53 GB, free: 12.14 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01869/0.9177, allocations: 8.089 MB / 1.537 GB, free: 3.922 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002257/0.9199, allocations: 0.5415 MB / 1.538 GB, free: 3.379 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000463/0.9204, allocations: 35.94 kB / 1.538 GB, free: 3.344 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001552/0.922, allocations: 139.8 kB / 1.538 GB, free: 3.207 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008203/0.9228, allocations: 180.7 kB / 1.538 GB, free: 3.031 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001478/0.9229, allocations: 52 kB / 1.538 GB, free: 2.98 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.001357/0.9243, allocations: 0.8976 MB / 1.539 GB, free: 2.086 MB / 1.232 GB Notification: Performance of sort global known variables: time 1e-07/0.9243, allocations: 4 kB / 1.539 GB, free: 2.082 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.003935/0.9282, allocations: 1.113 MB / 1.54 GB, free: 0.9688 MB / 1.232 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.0003513/0.9286, allocations: 147 kB / 1.541 GB, free: 0.8125 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.01364/0.9422, allocations: 6.323 MB / 1.547 GB, free: 10.41 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 1.116e-05/0.9422, allocations: 0 / 1.547 GB, free: 10.41 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.0101/0.9523, allocations: 4.174 MB / 1.551 GB, free: 6.156 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002671/0.955, allocations: 0.5025 MB / 1.551 GB, free: 5.664 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01267/0.9677, allocations: 7.014 MB / 1.558 GB, free: 14.55 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003124/0.9708, allocations: 2.162 MB / 1.56 GB, free: 12.34 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.001113/0.9719, allocations: 383.6 kB / 1.561 GB, free: 11.96 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002426/0.9721, allocations: 87.44 kB / 1.561 GB, free: 11.88 MB / 1.264 GB Notification: Performance of SimCode: time 1.032e-06/0.9721, allocations: 0 / 1.561 GB, free: 11.88 MB / 1.264 GB Notification: Performance of Templates: time 0.7817/1.754, allocations: 67.6 MB / 1.627 GB, free: 289.7 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 11.715054374188185]