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.001354/0.001354, allocations: 115.7 kB / 18.89 MB, free: 2.898 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.001499/0.001499, allocations: 199.6 kB / 22.17 MB, free: 5.211 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 / 250.9 MB, free: 13.25 MB / 206.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.758/2.758, allocations: 476.7 MB / 0.7645 GB, free: 10.08 MB / 0.6231 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.002037/0.002037, allocations: 67.88 kB / 1.109 GB, free: 6.516 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7793/0.7813, allocations: 168.7 MB / 1.274 GB, free: 4.547 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.02864/0.8099, allocations: 23.63 MB / 1.297 GB, free: 12.84 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01235/0.8223, allocations: 6.401 MB / 1.303 GB, free: 6.426 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002292/0.8246, allocations: 91.56 kB / 1.303 GB, free: 6.336 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.004603/0.8292, allocations: 1.594 MB / 1.305 GB, free: 4.734 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004601/0.8338, allocations: 1.731 MB / 1.307 GB, free: 2.996 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003568/0.8374, allocations: 1.396 MB / 1.308 GB, free: 1.602 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.007619/0.845, allocations: 5.932 MB / 1.314 GB, free: 11.66 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005135/0.8501, allocations: 2.977 MB / 1.317 GB, free: 8.602 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004095/0.8542, allocations: 2.45 MB / 1.319 GB, free: 6.145 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005001/0.8592, allocations: 3.065 MB / 1.322 GB, free: 3.07 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0009388/0.8601, allocations: 460 kB / 1.323 GB, free: 2.621 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002441/0.8626, allocations: 1.116 MB / 1.324 GB, free: 1.504 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.002364/0.865, allocations: 2.081 MB / 1.326 GB, free: 15.42 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.003021/0.868, allocations: 2.174 MB / 1.328 GB, free: 13.23 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.008578/0.8766, allocations: 7.319 MB / 1.335 GB, free: 5.895 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.8766, allocations: 0 / 1.335 GB, free: 5.895 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.803e-06/0.8766, allocations: 0 / 1.335 GB, free: 5.895 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0002149/0.8768, allocations: 0 / 1.335 GB, free: 5.895 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.008669/0.8854, allocations: 3.917 MB / 1.339 GB, free: 1.91 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.8855, allocations: 8.031 kB / 1.339 GB, free: 1.902 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00637/0.8919, allocations: 1.231 MB / 1.34 GB, free: 0.668 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005801/0.8977, allocations: 2.349 MB / 1.342 GB, free: 14.26 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000226/0.8979, allocations: 242.4 kB / 1.343 GB, free: 14.02 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009132/0.8988, allocations: 315.9 kB / 1.343 GB, free: 13.71 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01126/0.9101, allocations: 6.212 MB / 1.349 GB, free: 7.246 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.117e-05/0.9101, allocations: 15.88 kB / 1.349 GB, free: 7.23 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003944/0.9105, allocations: 139.9 kB / 1.349 GB, free: 7.094 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000519/0.9111, allocations: 410.3 kB / 1.349 GB, free: 6.691 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008293/0.9193, allocations: 4.654 MB / 1.354 GB, free: 2.027 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.03461/0.954, allocations: 29 MB / 1.382 GB, free: 2.32 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002441/0.9564, allocations: 1.368 MB / 1.384 GB, free: 0.9414 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002429/0.9588, allocations: 1.444 MB / 1.385 GB, free: 15.5 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001117/0.9589, allocations: 24.92 kB / 1.385 GB, free: 15.47 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.625e-05/0.959, allocations: 51.44 kB / 1.385 GB, free: 15.41 MB / 1.092 GB Notification: Performance of pre-optimization done (n=110): time 4.158e-06/0.959, allocations: 0 / 1.385 GB, free: 15.41 MB / 1.092 GB Notification: Performance of matching and sorting (n=179): time 0.1547/1.114, allocations: 37.14 MB / 1.421 GB, free: 10.2 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.409e-05/1.114, allocations: 85.33 kB / 1.422 GB, free: 10.11 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002036/1.116, allocations: 1.419 MB / 1.423 GB, free: 8.68 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0002875/1.116, allocations: 53.7 kB / 1.423 GB, free: 8.621 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.001171/1.117, allocations: 1.583 MB / 1.424 GB, free: 7.023 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006684/1.118, allocations: 0.639 MB / 1.425 GB, free: 6.379 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007569/1.119, allocations: 383.5 kB / 1.425 GB, free: 5.996 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001212/1.119, allocations: 301.1 kB / 1.426 GB, free: 5.699 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002679/1.121, allocations: 1.788 MB / 1.428 GB, free: 3.906 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00311/1.125, allocations: 2.354 MB / 1.43 GB, free: 1.305 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006088/1.131, allocations: 4.391 MB / 1.434 GB, free: 12.67 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.334e-05/1.131, allocations: 8 kB / 1.434 GB, free: 12.66 MB / 1.139 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.0185/1.149, allocations: 8.42 MB / 1.442 GB, free: 4.207 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 3.918e-05/1.149, allocations: 13.72 kB / 1.442 GB, free: 4.195 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.885e-05/1.149, allocations: 28.09 kB / 1.442 GB, free: 4.168 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01538/1.165, allocations: 4.623 MB / 1.447 GB, free: 15.53 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001252/1.166, allocations: 303.4 kB / 1.447 GB, free: 15.23 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05084/1.217, allocations: 32.61 MB / 1.479 GB, free: 13.76 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002226/1.219, allocations: 155.8 kB / 1.479 GB, free: 13.61 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002206/1.219, allocations: 84 kB / 1.479 GB, free: 13.53 MB / 1.186 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.00228/1.221, allocations: 1.332 MB / 1.481 GB, free: 12.18 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005407/1.222, allocations: 210.7 kB / 1.481 GB, free: 11.98 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0183/1.24, allocations: 8.292 MB / 1.489 GB, free: 3.637 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.282e-05/1.24, allocations: 16 kB / 1.489 GB, free: 3.621 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.014e-05/1.24, allocations: 27.94 kB / 1.489 GB, free: 3.594 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.163e-05/1.24, allocations: 7.969 kB / 1.489 GB, free: 3.586 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02634/1.267, allocations: 12.7 MB / 1.501 GB, free: 6.715 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.975e-05/1.267, allocations: 8 kB / 1.501 GB, free: 6.707 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007943/1.268, allocations: 163.7 kB / 1.501 GB, free: 6.547 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01492/1.283, allocations: 4.49 MB / 1.506 GB, free: 2.043 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003041/1.283, allocations: 36 kB / 1.506 GB, free: 2.008 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05084/1.334, allocations: 32.23 MB / 1.537 GB, free: 0.9219 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.869e-06/1.334, allocations: 11.94 kB / 1.537 GB, free: 0.9102 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01791/1.352, allocations: 8.101 MB / 1.545 GB, free: 8.676 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002059/1.354, allocations: 0.6206 MB / 1.546 GB, free: 8.035 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000406/1.354, allocations: 40 kB / 1.546 GB, free: 7.996 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001556/1.356, allocations: 132.2 kB / 1.546 GB, free: 7.867 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007802/1.356, allocations: 172.9 kB / 1.546 GB, free: 7.699 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001525/1.357, allocations: 52 kB / 1.546 GB, free: 7.648 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.001407/1.358, allocations: 0.9665 MB / 1.547 GB, free: 6.688 MB / 1.248 GB Notification: Performance of sort global known variables: time 1.1e-07/1.358, allocations: 3.938 kB / 1.547 GB, free: 6.684 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.00374/1.362, allocations: 1.113 MB / 1.548 GB, free: 5.57 MB / 1.248 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.0003569/1.362, allocations: 149.6 kB / 1.548 GB, free: 5.414 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.01348/1.376, allocations: 6.32 MB / 1.555 GB, free: 15.02 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 1.435e-05/1.376, allocations: 3.938 kB / 1.555 GB, free: 15.02 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.0101/1.386, allocations: 4.178 MB / 1.559 GB, free: 10.76 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00293/1.389, allocations: 0.5254 MB / 1.559 GB, free: 10.24 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01328/1.402, allocations: 7.007 MB / 1.566 GB, free: 3.129 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003487/1.405, allocations: 2.719 MB / 1.569 GB, free: 380 kB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.001202/1.407, allocations: 388.6 kB / 1.569 GB, free: 15.98 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002443/1.407, allocations: 99.44 kB / 1.569 GB, free: 15.89 MB / 1.279 GB Notification: Performance of SimCode: time 9.52e-07/1.407, allocations: 0 / 1.569 GB, free: 15.89 MB / 1.279 GB Notification: Performance of Templates: time 0.6976/2.104, allocations: 62.79 MB / 1.631 GB, free: 293.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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.794394354801625]