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.001105/0.001105, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001189/0.001189, allocations: 191.5 kB / 16.14 MB, free: 6.711 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.391/1.391, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.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.391/2.391, allocations: 390.2 MB / 0.6642 GB, free: 0.5977 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 63.91 kB / 0.8119 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8022/0.8034, allocations: 140.4 MB / 0.9489 GB, free: 9.207 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.02357/0.827, allocations: 22.42 MB / 0.9708 GB, free: 7.969 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01237/0.8395, allocations: 6.253 MB / 0.9769 GB, free: 2.98 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003099/0.8426, allocations: 80.91 kB / 0.977 GB, free: 2.953 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.004455/0.8471, allocations: 1.416 MB / 0.9784 GB, free: 1.848 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.006054/0.8532, allocations: 1.541 MB / 0.9799 GB, free: 0.6367 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.004198/0.8574, allocations: 1.227 MB / 0.9811 GB, free: 15.67 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.01196/0.8694, allocations: 8.848 MB / 0.9897 GB, free: 8.254 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01076/0.8802, allocations: 6.736 MB / 0.9963 GB, free: 1.445 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004166/0.8844, allocations: 2.051 MB / 0.9983 GB, free: 15.39 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005198/0.8896, allocations: 2.968 MB / 1.001 GB, free: 12.41 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0009631/0.8906, allocations: 316 kB / 1.002 GB, free: 12.1 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002872/0.8935, allocations: 1.135 MB / 1.003 GB, free: 10.96 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.002464/0.896, allocations: 1.894 MB / 1.004 GB, free: 9.066 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.003172/0.8991, allocations: 2.006 MB / 1.006 GB, free: 7.051 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.007741/0.9069, allocations: 7.182 MB / 1.013 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/0.9069, allocations: 0 / 1.013 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.693e-06/0.907, allocations: 0 / 1.013 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 0.0002147/0.9072, allocations: 4 kB / 1.013 GB, free: 15.84 MB / 0.7794 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.008902/0.9161, allocations: 3.816 MB / 1.017 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.371e-05/0.9162, allocations: 12.03 kB / 1.017 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006325/0.9225, allocations: 1.206 MB / 1.018 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00506/0.9276, allocations: 2.223 MB / 1.021 GB, free: 8.461 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002038/0.9278, allocations: 242.4 kB / 1.021 GB, free: 8.223 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001052/0.9289, allocations: 315.9 kB / 1.021 GB, free: 7.914 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01252/0.9414, allocations: 6.216 MB / 1.027 GB, free: 1.441 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.421e-05/0.9416, allocations: 15.78 kB / 1.027 GB, free: 1.426 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004052/0.942, allocations: 143.9 kB / 1.027 GB, free: 1.285 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000531/0.9425, allocations: 402.3 kB / 1.028 GB, free: 0.8906 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009027/0.9515, allocations: 4.666 MB / 1.032 GB, free: 12.21 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.03602/0.9876, allocations: 29.14 MB / 1.061 GB, free: 12.36 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002349/0.99, allocations: 1.416 MB / 1.062 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002088/0.9921, allocations: 1.479 MB / 1.064 GB, free: 9.449 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001792/0.9923, allocations: 16.98 kB / 1.064 GB, free: 9.434 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.581e-05/0.9924, allocations: 43.56 kB / 1.064 GB, free: 9.383 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=110): time 3.666e-06/0.9924, allocations: 0 / 1.064 GB, free: 9.383 MB / 0.8262 GB Notification: Performance of matching and sorting (n=179): time 0.1347/1.127, allocations: 37.23 MB / 1.1 GB, free: 4.074 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.551e-05/1.127, allocations: 77.39 kB / 1.1 GB, free: 3.988 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002704/1.13, allocations: 1.423 MB / 1.101 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0003989/1.13, allocations: 49.7 kB / 1.101 GB, free: 2.504 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.001439/1.132, allocations: 1.546 MB / 1.103 GB, free: 0.9375 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009656/1.133, allocations: 0.6123 MB / 1.104 GB, free: 324 kB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001072/1.134, allocations: 379.3 kB / 1.104 GB, free: 15.94 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001246/1.134, allocations: 301.1 kB / 1.104 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002877/1.137, allocations: 1.788 MB / 1.106 GB, free: 13.85 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00327/1.14, allocations: 2.346 MB / 1.108 GB, free: 11.25 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006364/1.147, allocations: 4.391 MB / 1.113 GB, free: 6.617 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.472e-05/1.147, allocations: 8 kB / 1.113 GB, free: 6.609 MB / 0.8731 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01858/1.165, allocations: 8.567 MB / 1.121 GB, free: 14 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 4.297e-05/1.165, allocations: 13.41 kB / 1.121 GB, free: 13.99 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.396e-05/1.165, allocations: 16 kB / 1.121 GB, free: 13.98 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01501/1.18, allocations: 4.641 MB / 1.125 GB, free: 9.32 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001254/1.182, allocations: 299.4 kB / 1.126 GB, free: 9.027 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04626/1.228, allocations: 29.67 MB / 1.155 GB, free: 10.54 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003149/1.231, allocations: 151.8 kB / 1.155 GB, free: 10.39 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007029/1.232, allocations: 80.25 kB / 1.155 GB, free: 10.31 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.002873/1.235, allocations: 1.329 MB / 1.156 GB, free: 8.973 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008558/1.236, allocations: 197.9 kB / 1.156 GB, free: 8.777 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01836/1.254, allocations: 8.445 MB / 1.165 GB, free: 292 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.24e-05/1.254, allocations: 19.98 kB / 1.165 GB, free: 272 kB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001307/1.254, allocations: 28 kB / 1.165 GB, free: 244 kB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.716e-05/1.254, allocations: 11.95 kB / 1.165 GB, free: 232 kB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02822/1.283, allocations: 12.84 MB / 1.177 GB, free: 3.219 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-05/1.283, allocations: 8 kB / 1.177 GB, free: 3.211 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007923/1.283, allocations: 163.7 kB / 1.177 GB, free: 3.051 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01504/1.298, allocations: 4.487 MB / 1.182 GB, free: 14.55 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004377/1.299, allocations: 36 kB / 1.182 GB, free: 14.51 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04692/1.346, allocations: 29.27 MB / 1.21 GB, free: 432 kB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.041e-05/1.346, allocations: 8 kB / 1.21 GB, free: 424 kB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01843/1.364, allocations: 8.244 MB / 1.218 GB, free: 8.039 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001817/1.366, allocations: 0.6079 MB / 1.219 GB, free: 7.41 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007586/1.367, allocations: 43.98 kB / 1.219 GB, free: 7.367 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001846/1.369, allocations: 135.7 kB / 1.219 GB, free: 7.234 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001216/1.37, allocations: 172.9 kB / 1.219 GB, free: 7.066 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002781/1.37, allocations: 48.38 kB / 1.219 GB, free: 7.02 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.002165/1.373, allocations: 0.9665 MB / 1.22 GB, free: 6.059 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9.42e-07/1.373, allocations: 4 kB / 1.22 GB, free: 6.055 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.005101/1.378, allocations: 1.113 MB / 1.222 GB, free: 4.941 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.0004816/1.378, allocations: 143.1 kB / 1.222 GB, free: 4.793 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.01322/1.391, allocations: 6.512 MB / 1.228 GB, free: 14.2 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.198e-05/1.392, allocations: 4 kB / 1.228 GB, free: 14.2 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.009765/1.401, allocations: 4.37 MB / 1.232 GB, free: 9.75 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003777/1.405, allocations: 487.7 kB / 1.233 GB, free: 9.277 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01565/1.421, allocations: 8.446 MB / 1.241 GB, free: 0.7383 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004115/1.425, allocations: 2.723 MB / 1.244 GB, free: 13.98 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001577/1.427, allocations: 388.5 kB / 1.244 GB, free: 13.6 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003968/1.427, allocations: 95.38 kB / 1.244 GB, free: 13.5 MB / 1.014 GB Notification: Performance of SimCode: time 1.573e-06/1.427, allocations: 4 kB / 1.244 GB, free: 13.5 MB / 1.014 GB Notification: Performance of Templates: time 0.5582/1.985, allocations: 58.84 MB / 1.302 GB, free: 263.2 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/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