Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001352/0.001352, allocations: 111.8 kB / 17.08 MB, free: 6.012 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.001382/0.001382, allocations: 193.2 kB / 20.03 MB, free: 3.082 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.483/1.483, allocations: 222.9 MB / 245.7 MB, free: 4.238 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.148/3.148, allocations: 489.2 MB / 0.7687 GB, free: 3.742 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001976/0.001976, allocations: 71.91 kB / 1.103 GB, free: 0.7656 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.158/1.16, allocations: 163.8 MB / 1.263 GB, free: 8.18 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.02805/1.188, allocations: 22.6 MB / 1.285 GB, free: 8.824 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01395/1.202, allocations: 6.234 MB / 1.291 GB, free: 4.5 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0034/1.206, allocations: 92.31 kB / 1.291 GB, free: 4.473 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.005416/1.211, allocations: 1.543 MB / 1.292 GB, free: 3.531 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.006462/1.218, allocations: 1.637 MB / 1.294 GB, free: 2.582 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.005029/1.223, allocations: 1.341 MB / 1.295 GB, free: 1.848 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.01103/1.234, allocations: 5.937 MB / 1.301 GB, free: 15.24 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01013/1.244, allocations: 6.037 MB / 1.307 GB, free: 12.84 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006134/1.25, allocations: 2.417 MB / 1.309 GB, free: 11.75 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007154/1.258, allocations: 2.868 MB / 1.312 GB, free: 10.54 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.00194/1.259, allocations: 458.1 kB / 1.313 GB, free: 10.54 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004507/1.264, allocations: 1.097 MB / 1.314 GB, free: 10.29 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.004207/1.268, allocations: 2.027 MB / 1.316 GB, free: 9.523 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.006519/1.275, allocations: 2.171 MB / 1.318 GB, free: 8.133 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.01524/1.29, allocations: 7.312 MB / 1.325 GB, free: 5.816 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 8.636e-06/1.29, allocations: 0.75 kB / 1.325 GB, free: 5.816 MB / 1.029 GB Notification: Performance of FrontEnd: time 3.516e-06/1.29, allocations: 0 / 1.325 GB, free: 5.816 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0003082/1.29, allocations: 0 / 1.325 GB, free: 5.816 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.01469/1.305, allocations: 3.919 MB / 1.329 GB, free: 3.473 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.272e-05/1.305, allocations: 8.656 kB / 1.329 GB, free: 3.473 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007644/1.313, allocations: 1.228 MB / 1.33 GB, free: 3.219 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006684/1.32, allocations: 2.357 MB / 1.332 GB, free: 2.012 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003006/1.32, allocations: 234.8 kB / 1.332 GB, free: 1.906 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001345/1.321, allocations: 319 kB / 1.333 GB, free: 1.797 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01648/1.338, allocations: 6.219 MB / 1.339 GB, free: 14.21 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001623/1.338, allocations: 13.81 kB / 1.339 GB, free: 14.21 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008612/1.339, allocations: 145.9 kB / 1.339 GB, free: 14.1 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006679/1.339, allocations: 404.7 kB / 1.339 GB, free: 13.97 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01206/1.352, allocations: 4.661 MB / 1.344 GB, free: 11.59 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.04497/1.397, allocations: 29 MB / 1.372 GB, free: 0.9414 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002664/1.399, allocations: 1.421 MB / 1.374 GB, free: 188 kB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002517/1.402, allocations: 1.493 MB / 1.375 GB, free: 15.44 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001905/1.402, allocations: 12.31 kB / 1.375 GB, free: 15.44 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.624e-05/1.402, allocations: 43.12 kB / 1.375 GB, free: 15.39 MB / 1.076 GB Notification: Performance of pre-optimization done (n=110): time 4.017e-06/1.402, allocations: 1.156 kB / 1.375 GB, free: 15.39 MB / 1.076 GB Notification: Performance of matching and sorting (n=179): time 0.1563/1.558, allocations: 37.31 MB / 1.412 GB, free: 12.96 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.643e-05/1.558, allocations: 69.41 kB / 1.412 GB, free: 12.88 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002976/1.561, allocations: 1.423 MB / 1.413 GB, free: 11.45 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0004172/1.562, allocations: 53.7 kB / 1.413 GB, free: 11.39 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.001414/1.563, allocations: 1.586 MB / 1.415 GB, free: 9.793 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.001001/1.564, allocations: 0.6351 MB / 1.415 GB, free: 9.152 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001136/1.565, allocations: 383.5 kB / 1.416 GB, free: 8.77 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001451/1.566, allocations: 305.1 kB / 1.416 GB, free: 8.469 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00298/1.569, allocations: 1.788 MB / 1.418 GB, free: 6.676 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003515/1.572, allocations: 2.346 MB / 1.42 GB, free: 4.082 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006801/1.579, allocations: 4.391 MB / 1.424 GB, free: 15.45 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.916e-05/1.579, allocations: 4 kB / 1.424 GB, free: 15.45 MB / 1.123 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.02035/1.599, allocations: 8.576 MB / 1.433 GB, free: 6.836 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 4.614e-05/1.599, allocations: 16.03 kB / 1.433 GB, free: 6.82 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.124e-05/1.6, allocations: 20 kB / 1.433 GB, free: 6.801 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01673/1.616, allocations: 4.631 MB / 1.437 GB, free: 2.152 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001392/1.618, allocations: 311.4 kB / 1.437 GB, free: 1.848 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05682/1.675, allocations: 32.61 MB / 1.469 GB, free: 384 kB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003041/1.678, allocations: 147.8 kB / 1.469 GB, free: 236 kB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006546/1.678, allocations: 88 kB / 1.469 GB, free: 148 kB / 1.154 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.003993/1.682, allocations: 1.325 MB / 1.471 GB, free: 14.81 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007872/1.683, allocations: 206.7 kB / 1.471 GB, free: 14.61 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01991/1.703, allocations: 8.441 MB / 1.479 GB, free: 6.117 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.645e-05/1.703, allocations: 20 kB / 1.479 GB, free: 6.098 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001063/1.703, allocations: 31.88 kB / 1.479 GB, free: 6.066 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.184e-05/1.703, allocations: 7.969 kB / 1.479 GB, free: 6.059 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02909/1.732, allocations: 12.84 MB / 1.492 GB, free: 9.039 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.607e-05/1.732, allocations: 12 kB / 1.492 GB, free: 9.027 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008266/1.733, allocations: 167.7 kB / 1.492 GB, free: 8.863 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01589/1.749, allocations: 4.494 MB / 1.496 GB, free: 4.355 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003693/1.75, allocations: 36 kB / 1.496 GB, free: 4.32 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05368/1.803, allocations: 32.22 MB / 1.528 GB, free: 3.246 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.421e-05/1.803, allocations: 15.92 kB / 1.528 GB, free: 3.23 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01937/1.823, allocations: 8.242 MB / 1.536 GB, free: 10.86 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001876/1.825, allocations: 0.6245 MB / 1.537 GB, free: 10.22 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004167/1.825, allocations: 40 kB / 1.537 GB, free: 10.18 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00153/1.827, allocations: 135.8 kB / 1.537 GB, free: 10.05 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009353/1.828, allocations: 168.9 kB / 1.537 GB, free: 9.879 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001696/1.828, allocations: 48 kB / 1.537 GB, free: 9.832 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.001625/1.829, allocations: 0.9627 MB / 1.538 GB, free: 8.875 MB / 1.232 GB Notification: Performance of sort global known variables: time 1.51e-07/1.829, allocations: 0 / 1.538 GB, free: 8.875 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.004002/1.833, allocations: 1.117 MB / 1.539 GB, free: 7.758 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.0003708/1.834, allocations: 154.9 kB / 1.539 GB, free: 7.598 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.01414/1.848, allocations: 6.547 MB / 1.546 GB, free: 0.9805 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 1.157e-05/1.848, allocations: 0 / 1.546 GB, free: 0.9805 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.01056/1.859, allocations: 4.385 MB / 1.55 GB, free: 12.52 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003154/1.862, allocations: 0.5159 MB / 1.55 GB, free: 12.01 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01519/1.877, allocations: 7.425 MB / 1.558 GB, free: 4.465 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003877/1.881, allocations: 2.801 MB / 1.56 GB, free: 1.629 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004958/1.881, allocations: 107.4 kB / 1.56 GB, free: 1.523 MB / 1.248 GB Notification: Performance of SimCode: time 1.273e-06/1.881, allocations: 0 / 1.56 GB, free: 1.523 MB / 1.248 GB Notification: Performance of Templates: time 0.1855/2.067, allocations: 154.2 MB / 1.711 GB, free: 7.215 MB / 1.404 GB " [Timeout remaining time 298] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 21.05063655995764]