Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.ACLine_RLC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RLCLine_1.terminal_n.phase.1..i.1.|RLCLine_1.terminal_n.phase.1..i.2.|RLCLine_sc.terminal_n.phase.1..i.1.|RLCLine_sc.terminal_n.phase.1..i.2.|RLCLine_2a.terminal_n.phase.1..i.1.|RLCLine_2a.terminal_n.phase.1..i.2.|RLCLine_3a.terminal_n.phase.1..i.1.|RLCLine_3a.terminal_n.phase.1..i.2.|RLCLine_3b.terminal_n.phase.1..i.1.|RLCLine_3b.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RLCLine_1.terminal_n.phase.1..i.1.|RLCLine_1.terminal_n.phase.1..i.2.|RLCLine_sc.terminal_n.phase.1..i.1.|RLCLine_sc.terminal_n.phase.1..i.2.|RLCLine_2a.terminal_n.phase.1..i.1.|RLCLine_2a.terminal_n.phase.1..i.2.|RLCLine_3a.terminal_n.phase.1..i.1.|RLCLine_3a.terminal_n.phase.1..i.2.|RLCLine_3b.terminal_n.phase.1..i.1.|RLCLine_3b.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001369/0.001369, allocations: 115.3 kB / 16.81 MB, free: 5.766 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.001409/0.001409, allocations: 199.2 kB / 17.77 MB, free: 5.117 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.452/1.452, allocations: 225.6 MB / 244.2 MB, free: 13.89 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.87/2.87, allocations: 476.7 MB / 0.7556 GB, free: 11.29 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001933/0.001933, allocations: 72.55 kB / 1.097 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3944/0.3964, allocations: 168.7 MB / 1.262 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.05004/0.4464, allocations: 38.17 MB / 1.299 GB, free: 6.613 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.02806/0.4745, allocations: 13.21 MB / 1.312 GB, free: 9.371 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005312/0.4798, allocations: 171.1 kB / 1.312 GB, free: 9.203 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.01222/0.492, allocations: 3.955 MB / 1.316 GB, free: 5.238 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0106/0.5026, allocations: 2.608 MB / 1.319 GB, free: 2.617 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.009769/0.5124, allocations: 2.774 MB / 1.322 GB, free: 15.84 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.01598/0.5284, allocations: 9.571 MB / 1.331 GB, free: 6.246 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01698/0.5453, allocations: 7.688 MB / 1.338 GB, free: 14.42 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009293/0.5546, allocations: 4.074 MB / 1.342 GB, free: 10.34 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01/0.5646, allocations: 4.673 MB / 1.347 GB, free: 5.648 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.003464/0.5681, allocations: 0.7734 MB / 1.348 GB, free: 4.875 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007796/0.5759, allocations: 1.806 MB / 1.349 GB, free: 3.066 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.007746/0.5836, allocations: 3.11 MB / 1.352 GB, free: 15.95 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.01087/0.5945, allocations: 3.583 MB / 1.356 GB, free: 12.35 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.02399/0.6185, allocations: 11.89 MB / 1.368 GB, free: 432 kB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 1.069e-05/0.6185, allocations: 3.984 kB / 1.368 GB, free: 428 kB / 1.076 GB Notification: Performance of FrontEnd: time 2.936e-06/0.6185, allocations: 0 / 1.368 GB, free: 428 kB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0005841/0.6191, allocations: 4 kB / 1.368 GB, free: 424 kB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1394 * Number of variables: 1394 Notification: Performance of Generate backend data structure: time 0.02753/0.6466, allocations: 6.515 MB / 1.374 GB, free: 9.812 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 7.173e-05/0.6467, allocations: 12.03 kB / 1.374 GB, free: 9.801 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01098/0.6577, allocations: 1.328 MB / 1.375 GB, free: 8.469 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01118/0.6689, allocations: 3.813 MB / 1.379 GB, free: 4.582 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005916/0.6695, allocations: 382.5 kB / 1.379 GB, free: 4.207 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003068/0.6725, allocations: 0.4924 MB / 1.38 GB, free: 3.715 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02709/0.6996, allocations: 8.887 MB / 1.389 GB, free: 10.48 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003746/0.7, allocations: 39.73 kB / 1.389 GB, free: 10.44 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002486/0.7025, allocations: 223.9 kB / 1.389 GB, free: 10.22 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002811/0.7053, allocations: 0.6265 MB / 1.389 GB, free: 9.59 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02024/0.7255, allocations: 7.014 MB / 1.396 GB, free: 2.562 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06949/0.795, allocations: 40.11 MB / 1.435 GB, free: 7.219 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00539/0.8004, allocations: 2.658 MB / 1.438 GB, free: 4.551 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004842/0.8052, allocations: 2.413 MB / 1.44 GB, free: 2.133 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004652/0.8057, allocations: 30.03 kB / 1.44 GB, free: 2.102 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001086/0.8058, allocations: 68.59 kB / 1.44 GB, free: 2.023 MB / 1.154 GB Notification: Performance of pre-optimization done (n=265): time 9.398e-06/0.8058, allocations: 4 kB / 1.44 GB, free: 2.02 MB / 1.154 GB Notification: Performance of matching and sorting (n=424): time 0.3246/1.13, allocations: 74.6 MB / 1.513 GB, free: 6.766 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001058/1.131, allocations: 94.73 kB / 1.513 GB, free: 6.66 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004844/1.135, allocations: 2.356 MB / 1.516 GB, free: 4.293 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.001135/1.137, allocations: 101.7 kB / 1.516 GB, free: 4.188 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.00218/1.139, allocations: 2.399 MB / 1.518 GB, free: 1.77 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.002429/1.141, allocations: 1.506 MB / 1.52 GB, free: 256 kB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002474/1.144, allocations: 0.7257 MB / 1.52 GB, free: 15.51 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.000149/1.144, allocations: 305.1 kB / 1.521 GB, free: 15.21 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00519/1.149, allocations: 2.995 MB / 1.524 GB, free: 12.2 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00596/1.155, allocations: 3.847 MB / 1.527 GB, free: 8.023 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01214/1.167, allocations: 7.384 MB / 1.534 GB, free: 324 kB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.628e-05/1.167, allocations: 8 kB / 1.535 GB, free: 316 kB / 1.248 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.03688/1.204, allocations: 12.39 MB / 1.547 GB, free: 3.82 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 4.883e-05/1.204, allocations: 16 kB / 1.547 GB, free: 3.805 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.396e-05/1.204, allocations: 24 kB / 1.547 GB, free: 3.781 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.7568/1.961, allocations: 6.019 MB / 1.553 GB, free: 264.6 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002424/1.963, allocations: 497 kB / 1.553 GB, free: 264.6 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08346/2.047, allocations: 73.05 MB / 1.624 GB, free: 214.4 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004651/2.051, allocations: 219.6 kB / 1.625 GB, free: 214.3 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001052/2.052, allocations: 149.2 kB / 1.625 GB, free: 214.3 MB / 1.264 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (269): * Single equations (assignments): 245 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 24 systems {(2,2,100.0%), (1,1,100.0%), (2,2,100.0%), (1,1,100.0%), (2,2,100.0%), (1,1,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004437/2.057, allocations: 1.994 MB / 1.627 GB, free: 213.3 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001489/2.058, allocations: 410.5 kB / 1.627 GB, free: 213.2 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02803/2.086, allocations: 12.04 MB / 1.639 GB, free: 208.3 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001064/2.086, allocations: 25.8 kB / 1.639 GB, free: 208.3 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.197e-05/2.086, allocations: 3.469 kB / 1.639 GB, free: 208.3 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003164/2.09, allocations: 1.109 MB / 1.64 GB, free: 207.6 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001574/2.091, allocations: 74.02 kB / 1.64 GB, free: 207.6 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003741/2.095, allocations: 179.2 kB / 1.64 GB, free: 207.5 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001566/2.097, allocations: 0.5118 MB / 1.641 GB, free: 207.2 MB / 1.264 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02974/2.126, allocations: 12.62 MB / 1.653 GB, free: 194.7 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0153/2.142, allocations: 10.73 MB / 1.663 GB, free: 183.9 MB / 1.264 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004089/2.146, allocations: 3.374 MB / 1.667 GB, free: 180.5 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.002538/2.148, allocations: 1.556 MB / 1.668 GB, free: 179 MB / 1.264 GB Notification: Performance of Backend: time 3.71e-07/2.148, allocations: 3.938 kB / 1.668 GB, free: 179 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.02273/2.171, allocations: 9.784 MB / 1.678 GB, free: 169 MB / 1.264 GB Notification: Performance of SimCode: time 0.02544/2.196, allocations: 14.33 MB / 1.692 GB, free: 154.7 MB / 1.264 GB Notification: Performance of Templates: time 0.158/2.354, allocations: 111.7 MB / 1.801 GB, free: 44.21 MB / 1.264 GB make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.makefile (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches