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) 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 12.0.0-master/package.mo", uses=false) 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=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_latest_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_latest_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.008045/0.008045, allocations: 96.7 kB / 15.73 MB, free: 6.051 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.001813/0.001813, allocations: 197.2 kB / 16.67 MB, free: 5.973 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.369/1.369, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.793/2.793, allocations: 472.6 MB / 0.7453 GB, free: 4.574 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001306, allocations: 67.89 kB / 1.069 GB, free: 9.191 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3428/0.3441, allocations: 159.9 MB / 1.226 GB, free: 9.18 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.02641/0.3706, allocations: 22.6 MB / 1.248 GB, free: 2.504 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.7484/1.119, allocations: 6.233 MB / 1.254 GB, free: 12.58 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002213/1.121, allocations: 93.19 kB / 1.254 GB, free: 12.58 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.00371/1.125, allocations: 1.544 MB / 1.255 GB, free: 12.55 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.00377/1.129, allocations: 1.625 MB / 1.257 GB, free: 12.25 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003372/1.132, allocations: 1.344 MB / 1.258 GB, free: 12.16 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00752/1.14, allocations: 5.94 MB / 1.264 GB, free: 11.49 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007837/1.148, allocations: 6.035 MB / 1.27 GB, free: 9.609 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005106/1.153, allocations: 2.422 MB / 1.272 GB, free: 8.652 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005336/1.158, allocations: 2.865 MB / 1.275 GB, free: 7.664 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001385/1.159, allocations: 456.6 kB / 1.276 GB, free: 7.664 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00358/1.163, allocations: 1.096 MB / 1.277 GB, free: 7.512 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.002767/1.166, allocations: 2.032 MB / 1.279 GB, free: 6.766 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.003572/1.169, allocations: 2.168 MB / 1.281 GB, free: 5.387 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01185/1.181, allocations: 7.317 MB / 1.288 GB, free: 3.195 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.311e-06/1.181, allocations: 0.75 kB / 1.288 GB, free: 3.195 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.553e-06/1.181, allocations: 5.188 kB / 1.288 GB, free: 3.191 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0002677/1.182, allocations: 0 / 1.288 GB, free: 3.191 MB / 0.9981 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.0119/1.193, allocations: 3.914 MB / 1.292 GB, free: 0.9062 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/1.194, allocations: 9.281 kB / 1.292 GB, free: 0.9062 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007065/1.201, allocations: 1.227 MB / 1.293 GB, free: 0.6562 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005729/1.206, allocations: 2.353 MB / 1.295 GB, free: 15.48 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002232/1.207, allocations: 245.6 kB / 1.295 GB, free: 15.38 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001058/1.208, allocations: 318.1 kB / 1.296 GB, free: 15.29 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01185/1.22, allocations: 6.21 MB / 1.302 GB, free: 12.75 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.54e-05/1.22, allocations: 17.83 kB / 1.302 GB, free: 12.74 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004358/1.22, allocations: 136.2 kB / 1.302 GB, free: 12.65 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006469/1.221, allocations: 415.8 kB / 1.302 GB, free: 12.59 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01066/1.231, allocations: 4.663 MB / 1.307 GB, free: 11.01 MB / 1.014 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.03707/1.269, allocations: 28.99 MB / 1.335 GB, free: 1.367 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002121/1.271, allocations: 1.415 MB / 1.337 GB, free: 0.6133 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001989/1.273, allocations: 1.503 MB / 1.338 GB, free: 15.87 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001192/1.273, allocations: 10.72 kB / 1.338 GB, free: 15.87 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.887e-05/1.273, allocations: 44.5 kB / 1.338 GB, free: 15.82 MB / 1.045 GB Notification: Performance of pre-optimization done (n=110): time 2.896e-06/1.273, allocations: 4 kB / 1.338 GB, free: 15.81 MB / 1.045 GB Notification: Performance of matching and sorting (n=179): time 0.1509/1.424, allocations: 37.29 MB / 1.375 GB, free: 3.051 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.659e-05/1.424, allocations: 73.41 kB / 1.375 GB, free: 2.965 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002959/1.427, allocations: 1.419 MB / 1.376 GB, free: 1.539 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0004418/1.427, allocations: 53.7 kB / 1.376 GB, free: 1.48 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.001262/1.429, allocations: 1.585 MB / 1.378 GB, free: 15.88 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008692/1.43, allocations: 0.6416 MB / 1.378 GB, free: 15.25 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009984/1.431, allocations: 379.5 kB / 1.379 GB, free: 14.87 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001081/1.431, allocations: 305.1 kB / 1.379 GB, free: 14.57 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002753/1.433, allocations: 1.792 MB / 1.381 GB, free: 12.77 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003206/1.437, allocations: 2.35 MB / 1.383 GB, free: 10.18 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006183/1.443, allocations: 4.393 MB / 1.387 GB, free: 5.551 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.776e-05/1.443, allocations: 4 kB / 1.387 GB, free: 5.547 MB / 1.076 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01843/1.461, allocations: 8.579 MB / 1.396 GB, free: 12.93 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 3.978e-05/1.461, allocations: 12 kB / 1.396 GB, free: 12.92 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.972e-05/1.461, allocations: 16 kB / 1.396 GB, free: 12.91 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01539/1.477, allocations: 4.628 MB / 1.4 GB, free: 8.266 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00127/1.478, allocations: 311.4 kB / 1.4 GB, free: 7.961 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04931/1.527, allocations: 32.62 MB / 1.432 GB, free: 6.52 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002458/1.53, allocations: 155.8 kB / 1.432 GB, free: 6.367 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003554/1.53, allocations: 80 kB / 1.432 GB, free: 6.289 MB / 1.123 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.002575/1.533, allocations: 1.333 MB / 1.434 GB, free: 4.945 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005571/1.533, allocations: 210.7 kB / 1.434 GB, free: 4.738 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01829/1.552, allocations: 8.434 MB / 1.442 GB, free: 12.26 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.11e-05/1.552, allocations: 16 kB / 1.442 GB, free: 12.24 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.044e-05/1.552, allocations: 32 kB / 1.442 GB, free: 12.21 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.185e-05/1.552, allocations: 11.91 kB / 1.442 GB, free: 12.2 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02803/1.58, allocations: 12.85 MB / 1.455 GB, free: 15.21 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.258e-05/1.58, allocations: 15.92 kB / 1.455 GB, free: 15.2 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007649/1.581, allocations: 163.8 kB / 1.455 GB, free: 15.04 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01499/1.596, allocations: 4.489 MB / 1.459 GB, free: 10.54 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003237/1.596, allocations: 44.12 kB / 1.459 GB, free: 10.49 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05052/1.647, allocations: 32.21 MB / 1.491 GB, free: 9.465 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.929e-06/1.647, allocations: 11.88 kB / 1.491 GB, free: 9.453 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01877/1.666, allocations: 8.253 MB / 1.499 GB, free: 1.074 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001566/1.667, allocations: 0.6323 MB / 1.5 GB, free: 432 kB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006215/1.668, allocations: 40 kB / 1.5 GB, free: 392 kB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001783/1.67, allocations: 131.8 kB / 1.5 GB, free: 260 kB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008508/1.67, allocations: 176.9 kB / 1.5 GB, free: 80 kB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002251/1.671, allocations: 48 kB / 1.5 GB, free: 32 kB / 1.186 GB Notification: Performance of sorting global known variables: time 0.001617/1.672, allocations: 0.9548 MB / 1.501 GB, free: 15.08 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.8e-07/1.672, allocations: 4 kB / 1.501 GB, free: 15.08 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.003833/1.676, allocations: 1.113 MB / 1.502 GB, free: 13.96 MB / 1.201 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.000418/1.677, allocations: 158.9 kB / 1.502 GB, free: 13.8 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.01349/1.69, allocations: 6.556 MB / 1.509 GB, free: 7.18 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 8.706e-06/1.69, allocations: 0.875 kB / 1.509 GB, free: 7.18 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.01036/1.7, allocations: 4.369 MB / 1.513 GB, free: 2.742 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004197/1.705, allocations: 0.5317 MB / 1.513 GB, free: 2.227 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01576/1.72, allocations: 6.889 MB / 1.52 GB, free: 11.23 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004084/1.725, allocations: 2.727 MB / 1.523 GB, free: 8.465 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.001271/1.726, allocations: 396.5 kB / 1.523 GB, free: 8.074 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002469/1.726, allocations: 91.44 kB / 1.523 GB, free: 7.984 MB / 1.217 GB Notification: Performance of SimCode: time 1.913e-06/1.726, allocations: 0 / 1.523 GB, free: 7.984 MB / 1.217 GB Notification: Performance of Templates: time 0.09525/1.821, allocations: 61.15 MB / 1.583 GB, free: 11.16 MB / 1.279 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1) 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches