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.001339/0.001339, allocations: 114.6 kB / 16.42 MB, free: 6.465 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.001387/0.001387, allocations: 189.5 kB / 17.35 MB, free: 5.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.383/1.383, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.662/2.662, allocations: 472.7 MB / 0.746 GB, free: 404 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001883/0.001883, allocations: 67.91 kB / 1.07 GB, free: 9.539 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8893/0.8912, allocations: 159.9 MB / 1.226 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.02474/0.916, allocations: 22.6 MB / 1.248 GB, free: 6.82 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0115/0.9276, allocations: 6.236 MB / 1.255 GB, free: 0.5703 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003458/0.9311, allocations: 95.5 kB / 1.255 GB, free: 488 kB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.004378/0.9355, allocations: 1.546 MB / 1.256 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.004358/0.9399, allocations: 1.723 MB / 1.258 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.003692/0.9436, allocations: 1.345 MB / 1.259 GB, free: 11.85 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.007588/0.9512, allocations: 5.955 MB / 1.265 GB, free: 5.883 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009112/0.9604, allocations: 6.041 MB / 1.271 GB, free: 15.76 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005637/0.966, allocations: 2.446 MB / 1.273 GB, free: 13.3 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005381/0.9715, allocations: 2.866 MB / 1.276 GB, free: 10.43 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001132/0.9726, allocations: 456 kB / 1.276 GB, free: 9.984 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002821/0.9754, allocations: 1.1 MB / 1.278 GB, free: 8.883 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.002661/0.9781, allocations: 2.035 MB / 1.28 GB, free: 6.844 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.003878/0.982, allocations: 2.163 MB / 1.282 GB, free: 4.672 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.008941/0.991, allocations: 7.321 MB / 1.289 GB, free: 13.33 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/0.991, allocations: 0 / 1.289 GB, free: 13.33 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.573e-06/0.991, allocations: 0 / 1.289 GB, free: 13.33 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0001934/0.9912, allocations: 0 / 1.289 GB, free: 13.33 MB / 1.014 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.007931/0.9991, allocations: 3.917 MB / 1.293 GB, free: 9.348 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.9992, allocations: 8.031 kB / 1.293 GB, free: 9.34 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005892/1.005, allocations: 1.231 MB / 1.294 GB, free: 8.105 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004968/1.01, allocations: 2.353 MB / 1.296 GB, free: 5.695 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002814/1.01, allocations: 238.4 kB / 1.296 GB, free: 5.461 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001018/1.011, allocations: 315.9 kB / 1.297 GB, free: 5.152 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0124/1.024, allocations: 6.212 MB / 1.303 GB, free: 14.68 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.831e-05/1.024, allocations: 11.88 kB / 1.303 GB, free: 14.67 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004556/1.024, allocations: 151.9 kB / 1.303 GB, free: 14.52 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005037/1.025, allocations: 406.3 kB / 1.303 GB, free: 14.12 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00951/1.034, allocations: 4.658 MB / 1.308 GB, free: 9.457 MB / 1.029 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.03709/1.072, allocations: 29 MB / 1.336 GB, free: 9.746 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002492/1.074, allocations: 1.414 MB / 1.337 GB, free: 8.324 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002144/1.076, allocations: 1.491 MB / 1.339 GB, free: 6.832 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001526/1.076, allocations: 9 kB / 1.339 GB, free: 6.82 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.544e-05/1.076, allocations: 55.48 kB / 1.339 GB, free: 6.758 MB / 1.061 GB Notification: Performance of pre-optimization done (n=110): time 3.597e-06/1.076, allocations: 0 / 1.339 GB, free: 6.758 MB / 1.061 GB Notification: Performance of matching and sorting (n=179): time 0.1367/1.213, allocations: 37.29 MB / 1.375 GB, free: 1.395 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.856e-05/1.213, allocations: 69.41 kB / 1.375 GB, free: 1.312 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002327/1.216, allocations: 1.427 MB / 1.377 GB, free: 15.88 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0002619/1.216, allocations: 57.7 kB / 1.377 GB, free: 15.82 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.00107/1.217, allocations: 1.583 MB / 1.378 GB, free: 14.22 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.000698/1.218, allocations: 0.639 MB / 1.379 GB, free: 13.57 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000833/1.219, allocations: 383.5 kB / 1.379 GB, free: 13.19 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001124/1.219, allocations: 305.1 kB / 1.38 GB, free: 12.89 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002696/1.221, allocations: 1.792 MB / 1.382 GB, free: 11.09 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003005/1.224, allocations: 2.346 MB / 1.384 GB, free: 8.5 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005881/1.23, allocations: 4.387 MB / 1.388 GB, free: 3.875 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-05/1.23, allocations: 8 kB / 1.388 GB, free: 3.867 MB / 1.107 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01777/1.248, allocations: 8.576 MB / 1.396 GB, free: 11.25 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 3.448e-05/1.248, allocations: 16.25 kB / 1.396 GB, free: 11.23 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.045e-05/1.248, allocations: 20 kB / 1.397 GB, free: 11.21 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01509/1.263, allocations: 4.632 MB / 1.401 GB, free: 6.566 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001221/1.265, allocations: 311.5 kB / 1.401 GB, free: 6.262 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05017/1.315, allocations: 32.62 MB / 1.433 GB, free: 4.793 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002165/1.317, allocations: 155.8 kB / 1.433 GB, free: 4.641 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003635/1.317, allocations: 84 kB / 1.433 GB, free: 4.559 MB / 1.154 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.002616/1.32, allocations: 1.333 MB / 1.435 GB, free: 3.215 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005466/1.321, allocations: 210.7 kB / 1.435 GB, free: 3.008 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01825/1.339, allocations: 8.437 MB / 1.443 GB, free: 10.52 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.394e-05/1.339, allocations: 7.969 kB / 1.443 GB, free: 10.52 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/1.339, allocations: 0 / 1.443 GB, free: 10.52 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001533/1.34, allocations: 0.6361 MB / 1.444 GB, free: 9.859 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000577/1.341, allocations: 28 kB / 1.444 GB, free: 9.832 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001534/1.343, allocations: 123.8 kB / 1.444 GB, free: 9.711 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007802/1.343, allocations: 285.4 kB / 1.444 GB, free: 9.43 MB / 1.17 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01723/1.361, allocations: 7.268 MB / 1.451 GB, free: 2.141 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.009505/1.37, allocations: 6.124 MB / 1.457 GB, free: 11.98 MB / 1.186 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002747/1.373, allocations: 1.83 MB / 1.459 GB, free: 10.15 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.001616/1.375, allocations: 0.9588 MB / 1.46 GB, free: 9.195 MB / 1.186 GB Notification: Performance of Backend: time 6.82e-07/1.375, allocations: 0 / 1.46 GB, free: 9.195 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.01312/1.388, allocations: 5.256 MB / 1.465 GB, free: 3.855 MB / 1.186 GB Notification: Performance of SimCode: time 0.01443/1.402, allocations: 7.445 MB / 1.472 GB, free: 12.38 MB / 1.201 GB Notification: Performance of Templates: time 0.09278/1.495, allocations: 57.96 MB / 1.529 GB, free: 2.723 MB / 1.248 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