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.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.001857/0.001857, 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.002272/0.002272, 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.456/1.456, allocations: 225.6 MB / 249.4 MB, free: 3.148 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.744/2.744, allocations: 476.7 MB / 0.7628 GB, free: 15.16 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.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: Performance of FrontEnd - loaded program: time 0.002126/0.002126, allocations: 67.89 kB / 1.107 GB, free: 4.559 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9566/0.9587, allocations: 168.7 MB / 1.272 GB, free: 7.906 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.02574/0.9844, allocations: 23.63 MB / 1.295 GB, free: 8.188 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01219/0.9966, allocations: 6.387 MB / 1.301 GB, free: 3.824 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002451/0.9991, allocations: 96.28 kB / 1.301 GB, free: 3.793 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.005137/1.004, allocations: 1.602 MB / 1.303 GB, free: 2.863 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.005141/1.009, allocations: 1.725 MB / 1.305 GB, free: 1.855 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.004107/1.013, allocations: 1.386 MB / 1.306 GB, free: 1.082 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.008609/1.022, allocations: 5.943 MB / 1.312 GB, free: 14.47 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00537/1.027, allocations: 2.974 MB / 1.315 GB, free: 12.98 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006009/1.033, allocations: 2.444 MB / 1.317 GB, free: 11.88 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007954/1.041, allocations: 3.068 MB / 1.32 GB, free: 10.66 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.001898/1.043, allocations: 457.1 kB / 1.321 GB, free: 10.66 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004233/1.048, allocations: 1.122 MB / 1.322 GB, free: 10.41 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.004448/1.052, allocations: 2.082 MB / 1.324 GB, free: 9.586 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.00571/1.058, allocations: 2.171 MB / 1.326 GB, free: 8.195 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.01342/1.071, allocations: 7.315 MB / 1.333 GB, free: 5.879 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/1.071, allocations: 0 / 1.333 GB, free: 5.879 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.783e-06/1.071, allocations: 0 / 1.333 GB, free: 5.879 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0003174/1.071, allocations: 3.938 kB / 1.333 GB, free: 5.875 MB / 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.01423/1.086, allocations: 3.917 MB / 1.337 GB, free: 3.273 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/1.086, allocations: 8.656 kB / 1.337 GB, free: 3.273 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007327/1.093, allocations: 1.226 MB / 1.338 GB, free: 2.648 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007029/1.1, allocations: 2.355 MB / 1.34 GB, free: 1.105 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000264/1.1, allocations: 242.1 kB / 1.34 GB, free: 0.9922 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001654/1.102, allocations: 318.3 kB / 1.341 GB, free: 0.8828 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01493/1.117, allocations: 6.214 MB / 1.347 GB, free: 13.09 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-05/1.117, allocations: 17.41 kB / 1.347 GB, free: 13.08 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005128/1.117, allocations: 138.3 kB / 1.347 GB, free: 12.98 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005209/1.118, allocations: 408.5 kB / 1.347 GB, free: 12.85 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0103/1.128, allocations: 4.656 MB / 1.352 GB, free: 10.46 MB / 1.045 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.0471/1.175, allocations: 29 MB / 1.38 GB, free: 15.82 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00277/1.178, allocations: 1.37 MB / 1.382 GB, free: 15.09 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002333/1.181, allocations: 1.451 MB / 1.383 GB, free: 14.36 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000166/1.181, allocations: 11.41 kB / 1.383 GB, free: 14.36 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.834e-05/1.181, allocations: 43.03 kB / 1.383 GB, free: 14.31 MB / 1.076 GB Notification: Performance of pre-optimization done (n=110): time 3.406e-06/1.181, allocations: 1.219 kB / 1.383 GB, free: 14.31 MB / 1.076 GB Notification: Performance of matching and sorting (n=179): time 0.1374/1.318, allocations: 37.16 MB / 1.419 GB, free: 10.93 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.378e-05/1.318, allocations: 69.41 kB / 1.419 GB, free: 10.84 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002457/1.321, allocations: 1.423 MB / 1.421 GB, free: 9.414 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0002764/1.321, allocations: 49.7 kB / 1.421 GB, free: 9.359 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.001287/1.322, allocations: 1.59 MB / 1.422 GB, free: 7.758 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008178/1.323, allocations: 0.639 MB / 1.423 GB, free: 7.113 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009329/1.324, allocations: 383.5 kB / 1.423 GB, free: 6.73 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.000133/1.324, allocations: 305.1 kB / 1.424 GB, free: 6.43 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002853/1.327, allocations: 1.784 MB / 1.425 GB, free: 4.641 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003413/1.33, allocations: 2.346 MB / 1.428 GB, free: 2.047 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006482/1.337, allocations: 4.391 MB / 1.432 GB, free: 13.41 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.034e-05/1.337, allocations: 4 kB / 1.432 GB, free: 13.41 MB / 1.123 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01906/1.356, allocations: 8.432 MB / 1.44 GB, free: 4.938 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 5.516e-05/1.356, allocations: 12 kB / 1.44 GB, free: 4.926 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.301e-05/1.356, allocations: 19.98 kB / 1.44 GB, free: 4.906 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01537/1.371, allocations: 4.636 MB / 1.445 GB, free: 260 kB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001504/1.373, allocations: 299.5 kB / 1.445 GB, free: 15.96 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05471/1.428, allocations: 32.62 MB / 1.477 GB, free: 14.49 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002365/1.43, allocations: 151.8 kB / 1.477 GB, free: 14.34 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004029/1.43, allocations: 83.98 kB / 1.477 GB, free: 14.26 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.003032/1.433, allocations: 1.33 MB / 1.478 GB, free: 12.92 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000628/1.434, allocations: 210.7 kB / 1.479 GB, free: 12.71 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01877/1.453, allocations: 8.3 MB / 1.487 GB, free: 4.371 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.902e-05/1.453, allocations: 19.94 kB / 1.487 GB, free: 4.352 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.764e-05/1.453, allocations: 31.94 kB / 1.487 GB, free: 4.32 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.314e-05/1.453, allocations: 7.969 kB / 1.487 GB, free: 4.312 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02998/1.483, allocations: 12.69 MB / 1.499 GB, free: 7.445 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.159e-05/1.483, allocations: 8 kB / 1.499 GB, free: 7.438 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007919/1.484, allocations: 163.7 kB / 1.499 GB, free: 7.277 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01498/1.499, allocations: 4.495 MB / 1.504 GB, free: 2.766 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003615/1.499, allocations: 36 kB / 1.504 GB, free: 2.73 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05249/1.552, allocations: 32.23 MB / 1.535 GB, free: 1.648 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.147e-06/1.552, allocations: 8 kB / 1.535 GB, free: 1.641 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01831/1.57, allocations: 8.105 MB / 1.543 GB, free: 9.402 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001746/1.572, allocations: 0.6207 MB / 1.544 GB, free: 8.762 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006606/1.572, allocations: 43.94 kB / 1.544 GB, free: 8.719 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001674/1.574, allocations: 135.8 kB / 1.544 GB, free: 8.586 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009117/1.575, allocations: 169 kB / 1.544 GB, free: 8.418 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001964/1.575, allocations: 59.88 kB / 1.544 GB, free: 8.359 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.001667/1.577, allocations: 0.9549 MB / 1.545 GB, free: 7.41 MB / 1.232 GB Notification: Performance of sort global known variables: time 8.1e-08/1.577, allocations: 0 / 1.545 GB, free: 7.41 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.003971/1.581, allocations: 1.121 MB / 1.546 GB, free: 6.289 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.0003656/1.581, allocations: 151.6 kB / 1.546 GB, free: 6.133 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.01287/1.594, allocations: 6.304 MB / 1.553 GB, free: 15.75 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 8.597e-06/1.594, allocations: 4 kB / 1.553 GB, free: 15.75 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.009328/1.603, allocations: 4.183 MB / 1.557 GB, free: 11.48 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003204/1.607, allocations: 0.5301 MB / 1.557 GB, free: 10.97 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01495/1.621, allocations: 7.004 MB / 1.564 GB, free: 3.867 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0048/1.626, allocations: 2.723 MB / 1.567 GB, free: 1.109 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.001363/1.628, allocations: 392.5 kB / 1.567 GB, free: 0.7227 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003586/1.628, allocations: 95.44 kB / 1.567 GB, free: 0.6289 MB / 1.248 GB Notification: Performance of SimCode: time 1.573e-06/1.628, allocations: 0 / 1.567 GB, free: 0.6289 MB / 1.248 GB Notification: Performance of Templates: time 0.1056/1.734, allocations: 62.81 MB / 1.628 GB, free: 2.082 MB / 1.311 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: 10.566298867575824]