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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.00167/0.00167, allocations: 108.7 kB / 16.41 MB, free: 6.027 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.001736/0.001736, allocations: 186.2 kB / 17.34 MB, free: 5.633 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.395/1.395, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.635/2.635, allocations: 461.9 MB / 0.7355 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001542/0.001542, allocations: 63.89 kB / 1.055 GB, free: 7.625 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9229/0.9245, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.0262/0.9507, allocations: 22.61 MB / 1.231 GB, free: 6.926 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01232/0.9631, allocations: 6.217 MB / 1.237 GB, free: 0.6953 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002581/0.9657, allocations: 99.5 kB / 1.237 GB, free: 0.5977 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.004718/0.9705, allocations: 1.539 MB / 1.238 GB, free: 15.05 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.005042/0.9756, allocations: 1.622 MB / 1.24 GB, free: 13.42 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.004272/0.9799, allocations: 1.352 MB / 1.241 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.007996/0.9879, allocations: 5.928 MB / 1.247 GB, free: 6.129 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009469/0.9974, allocations: 6.052 MB / 1.253 GB, free: 16 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004752/1.002, allocations: 2.446 MB / 1.255 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005404/1.008, allocations: 2.87 MB / 1.258 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.00185/1.01, allocations: 456 kB / 1.258 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004064/1.014, allocations: 1.096 MB / 1.259 GB, free: 9.121 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.004224/1.018, allocations: 2.031 MB / 1.261 GB, free: 7.086 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.006102/1.024, allocations: 2.167 MB / 1.264 GB, free: 4.91 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.01217/1.036, allocations: 7.297 MB / 1.271 GB, free: 13.59 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.214e-06/1.036, allocations: 0 / 1.271 GB, free: 13.59 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.825e-06/1.036, allocations: 0 / 1.271 GB, free: 13.59 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0002944/1.037, allocations: 3.938 kB / 1.271 GB, free: 13.59 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.01317/1.05, allocations: 3.828 MB / 1.274 GB, free: 9.699 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.782e-05/1.05, allocations: 8.031 kB / 1.274 GB, free: 9.691 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00714/1.057, allocations: 1.21 MB / 1.276 GB, free: 8.477 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005098/1.062, allocations: 2.336 MB / 1.278 GB, free: 6.082 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002547/1.062, allocations: 242.4 kB / 1.278 GB, free: 5.844 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001182/1.064, allocations: 319.8 kB / 1.278 GB, free: 5.531 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01276/1.076, allocations: 6.212 MB / 1.285 GB, free: 15.06 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001041/1.076, allocations: 15.88 kB / 1.285 GB, free: 15.05 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006026/1.077, allocations: 136 kB / 1.285 GB, free: 14.91 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005194/1.078, allocations: 410.3 kB / 1.285 GB, free: 14.51 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008498/1.086, allocations: 4.662 MB / 1.29 GB, free: 9.84 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.03419/1.12, allocations: 28.95 MB / 1.318 GB, free: 10.18 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002167/1.123, allocations: 1.415 MB / 1.319 GB, free: 8.754 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00199/1.125, allocations: 1.491 MB / 1.321 GB, free: 7.262 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001402/1.125, allocations: 13 kB / 1.321 GB, free: 7.25 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.295e-05/1.125, allocations: 47.5 kB / 1.321 GB, free: 7.195 MB / 1.045 GB Notification: Performance of pre-optimization done (n=110): time 3.397e-06/1.125, allocations: 0 / 1.321 GB, free: 7.195 MB / 1.045 GB Notification: Performance of matching and sorting (n=179): time 0.1527/1.277, allocations: 37.24 MB / 1.357 GB, free: 1.871 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.029e-05/1.278, allocations: 73.41 kB / 1.357 GB, free: 1.789 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002386/1.28, allocations: 1.423 MB / 1.359 GB, free: 368 kB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0003361/1.28, allocations: 57.7 kB / 1.359 GB, free: 304 kB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.001123/1.281, allocations: 1.535 MB / 1.36 GB, free: 14.74 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.000765/1.282, allocations: 0.6084 MB / 1.361 GB, free: 14.12 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000903/1.283, allocations: 383.3 kB / 1.361 GB, free: 13.74 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001063/1.283, allocations: 305.1 kB / 1.361 GB, free: 13.44 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00268/1.286, allocations: 1.784 MB / 1.363 GB, free: 11.65 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003013/1.289, allocations: 2.35 MB / 1.365 GB, free: 9.051 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005773/1.295, allocations: 4.383 MB / 1.37 GB, free: 4.43 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.026e-05/1.295, allocations: 12 kB / 1.37 GB, free: 4.418 MB / 1.092 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01848/1.313, allocations: 8.567 MB / 1.378 GB, free: 11.81 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 4.247e-05/1.313, allocations: 16 kB / 1.378 GB, free: 11.8 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.274e-05/1.313, allocations: 19.94 kB / 1.378 GB, free: 11.78 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01515/1.329, allocations: 4.638 MB / 1.383 GB, free: 7.125 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001288/1.33, allocations: 303.4 kB / 1.383 GB, free: 6.828 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04947/1.379, allocations: 32.58 MB / 1.415 GB, free: 5.387 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002342/1.382, allocations: 159.8 kB / 1.415 GB, free: 5.23 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003856/1.382, allocations: 80 kB / 1.415 GB, free: 5.152 MB / 1.139 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.002597/1.385, allocations: 1.336 MB / 1.416 GB, free: 3.805 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006377/1.385, allocations: 197.7 kB / 1.416 GB, free: 3.609 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01878/1.404, allocations: 8.433 MB / 1.425 GB, free: 11.12 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-05/1.404, allocations: 19.94 kB / 1.425 GB, free: 11.1 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.939e-05/1.404, allocations: 27.94 kB / 1.425 GB, free: 11.07 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.652e-05/1.404, allocations: 15.95 kB / 1.425 GB, free: 11.05 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02693/1.431, allocations: 12.83 MB / 1.437 GB, free: 14.05 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.213e-05/1.431, allocations: 8 kB / 1.437 GB, free: 14.04 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008072/1.432, allocations: 164.5 kB / 1.437 GB, free: 13.88 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01508/1.447, allocations: 4.488 MB / 1.442 GB, free: 9.375 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003793/1.448, allocations: 36 kB / 1.442 GB, free: 9.34 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04927/1.497, allocations: 32.2 MB / 1.473 GB, free: 8.277 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.083e-05/1.497, allocations: 11.94 kB / 1.473 GB, free: 8.266 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0181/1.515, allocations: 8.233 MB / 1.481 GB, free: 15.91 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001642/1.517, allocations: 0.6195 MB / 1.482 GB, free: 15.27 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006911/1.518, allocations: 32.38 kB / 1.482 GB, free: 15.24 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001951/1.52, allocations: 143.8 kB / 1.482 GB, free: 15.1 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008998/1.521, allocations: 172.8 kB / 1.482 GB, free: 14.93 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00021/1.521, allocations: 59.98 kB / 1.482 GB, free: 14.87 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.001688/1.522, allocations: 0.951 MB / 1.483 GB, free: 13.92 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.8e-07/1.522, allocations: 0 / 1.483 GB, free: 13.92 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.004038/1.526, allocations: 1.121 MB / 1.484 GB, free: 12.8 MB / 1.217 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.0004427/1.527, allocations: 155 kB / 1.485 GB, free: 12.64 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.01339/1.54, allocations: 6.527 MB / 1.491 GB, free: 6.035 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 1.112e-05/1.54, allocations: 3.938 kB / 1.491 GB, free: 6.031 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.01039/1.551, allocations: 4.359 MB / 1.495 GB, free: 1.594 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003653/1.555, allocations: 0.5252 MB / 1.496 GB, free: 1.082 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01566/1.57, allocations: 7.319 MB / 1.503 GB, free: 9.652 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004307/1.575, allocations: 2.805 MB / 1.506 GB, free: 6.812 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000476/1.575, allocations: 99.44 kB / 1.506 GB, free: 6.719 MB / 1.232 GB Notification: Performance of SimCode: time 1.323e-06/1.575, allocations: 0 / 1.506 GB, free: 6.719 MB / 1.232 GB Notification: Performance of Templates: time 0.855/2.43, allocations: 154.2 MB / 1.656 GB, free: 254.6 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/jenkins1/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