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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001085/0.001085, allocations: 91.92 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009758/0.000976, allocations: 179.4 kB / 16.92 MB, free: 6.652 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.381/1.381, allocations: 223.3 MB / 241 MB, free: 5.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.358/2.358, allocations: 390.9 MB / 0.667 GB, free: 2.332 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003613/0.0003613, allocations: 12 kB / 0.8166 GB, free: 13.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6872/0.6876, allocations: 142.4 MB / 0.9557 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.02223/0.7099, allocations: 21.79 MB / 0.977 GB, free: 6.84 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0116/0.7215, allocations: 6.183 MB / 0.983 GB, free: 1.906 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002281/0.7239, allocations: 79.75 kB / 0.9831 GB, free: 1.875 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.00135/0.7252, allocations: 441.7 kB / 0.9835 GB, free: 1.496 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.004495/0.7297, allocations: 1.536 MB / 0.985 GB, free: 296 kB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.00337/0.7331, allocations: 1.109 MB / 0.9861 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.01073/0.7439, allocations: 8.855 MB / 0.9948 GB, free: 7.254 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01226/0.7562, allocations: 7.177 MB / 1.002 GB, free: 15.99 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00409/0.7603, allocations: 1.77 MB / 1.003 GB, free: 14.22 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004817/0.7652, allocations: 2.601 MB / 1.006 GB, free: 11.61 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.001156/0.7663, allocations: 200 kB / 1.006 GB, free: 11.41 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003188/0.7695, allocations: 1.026 MB / 1.007 GB, free: 10.39 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.002888/0.7725, allocations: 1.726 MB / 1.009 GB, free: 8.656 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.004029/0.7765, allocations: 1.825 MB / 1.011 GB, free: 6.816 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.006861/0.7834, allocations: 6.025 MB / 1.017 GB, free: 0.7773 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.7834, allocations: 0 / 1.017 GB, free: 0.7773 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.813e-06/0.7834, allocations: 0 / 1.017 GB, free: 0.7773 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 0.0002923/0.7837, allocations: 0 / 1.017 GB, free: 0.7773 MB / 0.7637 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.007922/0.7916, allocations: 3.072 MB / 1.02 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.867e-05/0.7917, allocations: 12.03 kB / 1.02 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006613/0.7983, allocations: 1.217 MB / 1.021 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004509/0.8029, allocations: 2.208 MB / 1.023 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002381/0.8031, allocations: 246.3 kB / 1.023 GB, free: 9.902 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009891/0.8041, allocations: 315.9 kB / 1.023 GB, free: 9.594 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01213/0.8163, allocations: 6.209 MB / 1.03 GB, free: 3.129 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001377/0.8164, allocations: 19.78 kB / 1.03 GB, free: 3.109 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000703/0.8172, allocations: 140 kB / 1.03 GB, free: 2.973 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005433/0.8177, allocations: 406.3 kB / 1.03 GB, free: 2.574 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008967/0.8267, allocations: 4.658 MB / 1.035 GB, free: 13.91 MB / 0.795 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.03557/0.8623, allocations: 29.08 MB / 1.063 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002126/0.8644, allocations: 1.42 MB / 1.064 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002073/0.8665, allocations: 1.483 MB / 1.066 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001239/0.8667, allocations: 16.98 kB / 1.066 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.277e-05/0.8667, allocations: 43.56 kB / 1.066 GB, free: 11.13 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=110): time 3.236e-06/0.8667, allocations: 4 kB / 1.066 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of matching and sorting (n=179): time 0.1492/1.016, allocations: 36.32 MB / 1.101 GB, free: 6.73 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.792e-05/1.016, allocations: 69.41 kB / 1.101 GB, free: 6.652 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002342/1.018, allocations: 1.423 MB / 1.103 GB, free: 5.223 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0003194/1.019, allocations: 57.7 kB / 1.103 GB, free: 5.16 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.001075/1.02, allocations: 1.535 MB / 1.104 GB, free: 3.605 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007702/1.021, allocations: 0.6161 MB / 1.105 GB, free: 2.98 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003901/1.021, allocations: 165.6 kB / 1.105 GB, free: 2.812 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.154e-05/1.021, allocations: 305.1 kB / 1.105 GB, free: 2.512 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00274/1.024, allocations: 1.788 MB / 1.107 GB, free: 0.7188 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003095/1.027, allocations: 2.342 MB / 1.109 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006099/1.033, allocations: 4.383 MB / 1.114 GB, free: 9.5 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-05/1.033, allocations: 4 kB / 1.114 GB, free: 9.496 MB / 0.8731 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01954/1.053, allocations: 8.583 MB / 1.122 GB, free: 0.875 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 5.436e-05/1.053, allocations: 12 kB / 1.122 GB, free: 0.8633 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.732e-05/1.053, allocations: 16 kB / 1.122 GB, free: 0.8477 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01633/1.069, allocations: 4.633 MB / 1.127 GB, free: 12.2 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001334/1.071, allocations: 303.5 kB / 1.127 GB, free: 11.9 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04694/1.118, allocations: 29.47 MB / 1.156 GB, free: 13.61 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002494/1.12, allocations: 151.8 kB / 1.156 GB, free: 13.46 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000341/1.12, allocations: 80 kB / 1.156 GB, free: 13.38 MB / 0.92 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.002748/1.123, allocations: 1.325 MB / 1.157 GB, free: 12.04 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006016/1.124, allocations: 201.6 kB / 1.157 GB, free: 11.84 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01949/1.143, allocations: 8.449 MB / 1.166 GB, free: 3.348 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-05/1.143, allocations: 16 kB / 1.166 GB, free: 3.332 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000114/1.143, allocations: 28 kB / 1.166 GB, free: 3.305 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.325e-05/1.144, allocations: 7.969 kB / 1.166 GB, free: 3.297 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02859/1.172, allocations: 12.85 MB / 1.178 GB, free: 6.281 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.344e-05/1.172, allocations: 4 kB / 1.178 GB, free: 6.277 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008208/1.173, allocations: 171.6 kB / 1.178 GB, free: 6.109 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0156/1.189, allocations: 4.487 MB / 1.183 GB, free: 1.605 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003747/1.189, allocations: 36 kB / 1.183 GB, free: 1.57 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04871/1.238, allocations: 29.09 MB / 1.211 GB, free: 3.66 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-05/1.238, allocations: 11.94 kB / 1.211 GB, free: 3.648 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01923/1.257, allocations: 8.24 MB / 1.219 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002108/1.259, allocations: 0.6118 MB / 1.22 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007626/1.26, allocations: 39.98 kB / 1.22 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001968/1.262, allocations: 135.8 kB / 1.22 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009772/1.263, allocations: 176.9 kB / 1.22 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002211/1.263, allocations: 52 kB / 1.22 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001888/1.265, allocations: 0.9588 MB / 1.221 GB, free: 9.293 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2e-07/1.265, allocations: 0 / 1.221 GB, free: 9.293 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.00469/1.27, allocations: 1.113 MB / 1.222 GB, free: 8.18 MB / 0.9825 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.0004611/1.27, allocations: 147.1 kB / 1.223 GB, free: 8.027 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.01358/1.284, allocations: 6.434 MB / 1.229 GB, free: 1.512 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.182e-05/1.284, allocations: 4.125 kB / 1.229 GB, free: 1.508 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.01025/1.294, allocations: 4.276 MB / 1.233 GB, free: 13.16 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005214/1.3, allocations: 0.4894 MB / 1.233 GB, free: 12.67 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0163/1.316, allocations: 8.959 MB / 1.242 GB, free: 3.613 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004408/1.32, allocations: 2.801 MB / 1.245 GB, free: 0.7773 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005229/1.321, allocations: 107.4 kB / 1.245 GB, free: 0.6719 MB / 0.9981 GB Notification: Performance of SimCode: time 4.328e-06/1.321, allocations: 0 / 1.245 GB, free: 0.6719 MB / 0.9981 GB Notification: Performance of Templates: time 0.6684/1.989, allocations: 153.6 MB / 1.395 GB, free: 167.5 MB / 1.014 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/jenkins1/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