Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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=5000,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_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009477/0.009477, allocations: 105.2 kB / 15.74 MB, free: 6.02 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001818/0.001818, allocations: 192 kB / 16.67 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.557/1.557, allocations: 222.9 MB / 240.4 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.286/2.286, allocations: 390.2 MB / 0.6648 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 67.89 kB / 0.9509 GB, free: 7.629 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.043/1.044, allocations: 140.4 MB / 1.088 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.03206/1.076, allocations: 22.58 MB / 1.11 GB, free: 6.156 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01725/1.093, allocations: 6.232 MB / 1.116 GB, free: 1.836 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004357/1.098, allocations: 95.31 kB / 1.116 GB, free: 1.805 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.006181/1.104, allocations: 1.541 MB / 1.118 GB, free: 0.8711 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.007877/1.112, allocations: 1.719 MB / 1.119 GB, free: 15.87 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.006352/1.118, allocations: 1.358 MB / 1.121 GB, free: 15.11 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.01161/1.13, allocations: 5.95 MB / 1.126 GB, free: 12.5 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01293/1.143, allocations: 6.043 MB / 1.132 GB, free: 10.1 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006829/1.15, allocations: 2.452 MB / 1.135 GB, free: 8.992 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007736/1.157, allocations: 2.864 MB / 1.138 GB, free: 7.785 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.003723/1.161, allocations: 458 kB / 1.138 GB, free: 7.785 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006865/1.168, allocations: 1.098 MB / 1.139 GB, free: 7.539 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.007513/1.176, allocations: 2.026 MB / 1.141 GB, free: 6.77 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.01037/1.186, allocations: 2.172 MB / 1.143 GB, free: 5.379 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.01939/1.206, allocations: 7.315 MB / 1.15 GB, free: 2.523 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 1.006e-05/1.206, allocations: 4 kB / 1.15 GB, free: 2.52 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.054e-06/1.206, allocations: 0 / 1.15 GB, free: 2.52 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0003483/1.206, allocations: 0 / 1.15 GB, free: 2.52 MB / 0.8887 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.01837/1.224, allocations: 3.916 MB / 1.154 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 6.317e-05/1.224, allocations: 8.812 kB / 1.154 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00876/1.233, allocations: 1.226 MB / 1.155 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008128/1.241, allocations: 2.355 MB / 1.158 GB, free: 13.63 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002879/1.242, allocations: 242.6 kB / 1.158 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002235/1.244, allocations: 318.2 kB / 1.158 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01825/1.262, allocations: 6.21 MB / 1.164 GB, free: 9.617 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001186/1.262, allocations: 14.31 kB / 1.164 GB, free: 9.609 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007917/1.263, allocations: 137.5 kB / 1.164 GB, free: 9.508 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007081/1.264, allocations: 403.9 kB / 1.165 GB, free: 9.383 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01267/1.277, allocations: 4.662 MB / 1.169 GB, free: 6.996 MB / 0.9044 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.04364/1.32, allocations: 29 MB / 1.198 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002188/1.322, allocations: 1.416 MB / 1.199 GB, free: 9.215 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002028/1.324, allocations: 1.495 MB / 1.201 GB, free: 7.715 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 8.742e-05/1.325, allocations: 9 kB / 1.201 GB, free: 7.707 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.722e-05/1.325, allocations: 43.56 kB / 1.201 GB, free: 7.656 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=110): time 2.585e-06/1.325, allocations: 0 / 1.201 GB, free: 7.656 MB / 0.9356 GB Notification: Performance of matching and sorting (n=179): time 0.1524/1.477, allocations: 37.3 MB / 1.237 GB, free: 2.289 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.87e-05/1.477, allocations: 73.41 kB / 1.237 GB, free: 2.207 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002181/1.479, allocations: 1.423 MB / 1.238 GB, free: 0.7773 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0003602/1.48, allocations: 57.7 kB / 1.239 GB, free: 0.7148 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.001176/1.481, allocations: 1.583 MB / 1.24 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007075/1.482, allocations: 0.639 MB / 1.241 GB, free: 14.47 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000743/1.482, allocations: 383.5 kB / 1.241 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001802/1.483, allocations: 305.1 kB / 1.241 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002594/1.485, allocations: 1.78 MB / 1.243 GB, free: 12 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003079/1.488, allocations: 2.354 MB / 1.245 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006242/1.494, allocations: 4.387 MB / 1.25 GB, free: 4.766 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.086e-05/1.495, allocations: 4 kB / 1.25 GB, free: 4.762 MB / 0.9825 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01882/1.513, allocations: 8.58 MB / 1.258 GB, free: 12.14 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.057e-05/1.513, allocations: 15.94 kB / 1.258 GB, free: 12.13 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.548e-05/1.513, allocations: 20 kB / 1.258 GB, free: 12.11 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01579/1.529, allocations: 4.639 MB / 1.263 GB, free: 7.453 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001318/1.531, allocations: 299.5 kB / 1.263 GB, free: 7.16 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05225/1.583, allocations: 32.63 MB / 1.295 GB, free: 5.68 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002865/1.586, allocations: 151.8 kB / 1.295 GB, free: 5.531 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005655/1.586, allocations: 84 kB / 1.295 GB, free: 5.449 MB / 1.029 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.003539/1.59, allocations: 1.336 MB / 1.296 GB, free: 4.102 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007463/1.591, allocations: 206.7 kB / 1.296 GB, free: 3.898 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01936/1.61, allocations: 8.433 MB / 1.305 GB, free: 11.42 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.02e-05/1.61, allocations: 20 kB / 1.305 GB, free: 11.4 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.597e-05/1.61, allocations: 27.94 kB / 1.305 GB, free: 11.38 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.561e-05/1.61, allocations: 11.95 kB / 1.305 GB, free: 11.36 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02905/1.639, allocations: 12.85 MB / 1.317 GB, free: 14.35 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-05/1.639, allocations: 8 kB / 1.317 GB, free: 14.34 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007978/1.64, allocations: 159.8 kB / 1.317 GB, free: 14.18 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01544/1.656, allocations: 4.493 MB / 1.322 GB, free: 9.676 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003338/1.656, allocations: 36 kB / 1.322 GB, free: 9.641 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07158/1.728, allocations: 32.22 MB / 1.353 GB, free: 8.562 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.959e-06/1.728, allocations: 11.94 kB / 1.353 GB, free: 8.551 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0187/1.746, allocations: 8.249 MB / 1.361 GB, free: 180 kB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002/1.748, allocations: 0.6247 MB / 1.362 GB, free: 15.53 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000712/1.749, allocations: 36.38 kB / 1.362 GB, free: 15.49 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001914/1.751, allocations: 139.8 kB / 1.362 GB, free: 15.36 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008119/1.752, allocations: 168.7 kB / 1.362 GB, free: 15.19 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001849/1.752, allocations: 59.92 kB / 1.362 GB, free: 15.13 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.001645/1.754, allocations: 0.9549 MB / 1.363 GB, free: 14.18 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.61e-07/1.754, allocations: 0 / 1.363 GB, free: 14.18 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.004208/1.758, allocations: 1.117 MB / 1.364 GB, free: 13.07 MB / 1.107 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.0003635/1.758, allocations: 156.1 kB / 1.365 GB, free: 12.91 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.01325/1.772, allocations: 6.539 MB / 1.371 GB, free: 6.293 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 9.418e-06/1.772, allocations: 8.062 kB / 1.371 GB, free: 6.285 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.01007/1.782, allocations: 4.381 MB / 1.375 GB, free: 1.82 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003448/1.785, allocations: 0.5256 MB / 1.376 GB, free: 1.309 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01527/1.8, allocations: 6.908 MB / 1.383 GB, free: 10.29 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003712/1.804, allocations: 2.731 MB / 1.385 GB, free: 7.527 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.001168/1.805, allocations: 384.6 kB / 1.386 GB, free: 7.148 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002443/1.806, allocations: 99.44 kB / 1.386 GB, free: 7.051 MB / 1.123 GB Notification: Performance of SimCode: time 1.302e-06/1.806, allocations: 0 / 1.386 GB, free: 7.051 MB / 1.123 GB Notification: Performance of Templates: time 0.1017/1.907, allocations: 61.14 MB / 1.445 GB, free: 10.19 MB / 1.186 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches