Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.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.ACLine_RLC_N,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_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,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_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001685/0.001685, allocations: 111.3 kB / 16.42 MB, free: 6.445 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.001604/0.001604, allocations: 186.6 kB / 17.35 MB, free: 5.742 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.388/1.388, 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 9.1.3-maint.9.1.x/package.mo): time 2.313/2.313, allocations: 390.3 MB / 0.6655 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001454/0.001454, allocations: 63.91 kB / 0.9516 GB, free: 7.617 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8281/0.8295, allocations: 140.4 MB / 1.089 GB, free: 5.762 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.04894/0.8785, allocations: 41.17 MB / 1.129 GB, free: 9.766 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.03039/0.9089, allocations: 15.08 MB / 1.144 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007789/0.9168, allocations: 191.9 kB / 1.144 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.01278/0.9297, allocations: 4.473 MB / 1.148 GB, free: 12.76 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.009469/0.9391, allocations: 2.925 MB / 1.151 GB, free: 10.95 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.009854/0.949, allocations: 3.157 MB / 1.154 GB, free: 9.199 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.02246/0.9715, allocations: 11.41 MB / 1.165 GB, free: 3.727 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01964/0.9912, allocations: 12.49 MB / 1.177 GB, free: 13.78 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01012/1.001, allocations: 4.905 MB / 1.182 GB, free: 10.95 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01097/1.012, allocations: 5.388 MB / 1.187 GB, free: 7.656 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.003532/1.016, allocations: 0.9492 MB / 1.188 GB, free: 7.656 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007183/1.023, allocations: 2.043 MB / 1.19 GB, free: 5.914 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.006374/1.03, allocations: 3.688 MB / 1.194 GB, free: 2.219 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.01191/1.041, allocations: 4.303 MB / 1.198 GB, free: 13.9 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.02264/1.064, allocations: 14.27 MB / 1.212 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 9.198e-06/1.064, allocations: 3.938 kB / 1.212 GB, free: 15.58 MB / 0.9512 GB Notification: Performance of FrontEnd: time 4.108e-06/1.064, allocations: 3.984 kB / 1.212 GB, free: 15.58 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 0.0005592/1.065, allocations: 0 / 1.212 GB, free: 15.58 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1668 * Number of variables: 1668 Notification: Performance of Generate backend data structure: time 0.02485/1.09, allocations: 7.596 MB / 1.22 GB, free: 7.898 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.415e-05/1.09, allocations: 12.03 kB / 1.22 GB, free: 7.887 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01165/1.101, allocations: 1.526 MB / 1.221 GB, free: 6.352 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01131/1.113, allocations: 4.435 MB / 1.225 GB, free: 1.84 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004969/1.113, allocations: 460.5 kB / 1.226 GB, free: 1.387 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002506/1.116, allocations: 0.5939 MB / 1.226 GB, free: 0.793 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02651/1.142, allocations: 10.69 MB / 1.237 GB, free: 5.727 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003114/1.143, allocations: 27.77 kB / 1.237 GB, free: 5.699 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001977/1.145, allocations: 263.9 kB / 1.237 GB, free: 5.441 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003154/1.148, allocations: 0.7768 MB / 1.238 GB, free: 4.66 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.018/1.166, allocations: 8.561 MB / 1.246 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07101/1.237, allocations: 46.53 MB / 1.292 GB, free: 9.785 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007455/1.244, allocations: 4.321 MB / 1.296 GB, free: 5.457 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006485/1.251, allocations: 3.701 MB / 1.3 GB, free: 1.742 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004534/1.251, allocations: 38.77 kB / 1.3 GB, free: 1.703 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.975e-05/1.252, allocations: 81.33 kB / 1.3 GB, free: 1.613 MB / 1.029 GB Notification: Performance of pre-optimization done (n=353): time 7.444e-06/1.252, allocations: 0 / 1.3 GB, free: 1.613 MB / 1.029 GB Notification: Performance of matching and sorting (n=578): time 0.5379/1.789, allocations: 122.8 MB / 1.42 GB, free: 5.98 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001038/1.79, allocations: 115.9 kB / 1.42 GB, free: 5.852 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005124/1.795, allocations: 2.677 MB / 1.422 GB, free: 3.176 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.00133/1.796, allocations: 125.7 kB / 1.422 GB, free: 3.047 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.002174/1.798, allocations: 2.683 MB / 1.425 GB, free: 340 kB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.002927/1.801, allocations: 1.948 MB / 1.427 GB, free: 14.35 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003236/1.804, allocations: 0.9248 MB / 1.428 GB, free: 13.42 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001053/1.805, allocations: 305.1 kB / 1.428 GB, free: 13.12 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007078/1.812, allocations: 4.083 MB / 1.432 GB, free: 9.027 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007799/1.819, allocations: 5.011 MB / 1.437 GB, free: 3.695 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01658/1.836, allocations: 9.844 MB / 1.447 GB, free: 9.473 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.093e-05/1.836, allocations: 8 kB / 1.447 GB, free: 9.465 MB / 1.186 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.04417/1.88, allocations: 17 MB / 1.463 GB, free: 8.332 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 5.81e-05/1.88, allocations: 12 kB / 1.463 GB, free: 8.32 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.009e-05/1.881, allocations: 24 kB / 1.463 GB, free: 8.297 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03309/1.914, allocations: 9.086 MB / 1.472 GB, free: 15.18 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002771/1.916, allocations: 0.5265 MB / 1.473 GB, free: 14.65 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1145/2.031, allocations: 76.95 MB / 1.548 GB, free: 88 kB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005541/2.037, allocations: 279.8 kB / 1.548 GB, free: 15.81 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001348/2.038, allocations: 188 kB / 1.548 GB, free: 15.63 MB / 1.295 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 (274): * Single equations (assignments): 263 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(5,17,84.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (14,72,59.2%), (14,72,59.2%), (6,40,77.8%), (8,70,73.4%), (8,70,70.3%), (6,40,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007846/2.046, allocations: 2.427 MB / 1.551 GB, free: 13.19 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001849/2.048, allocations: 470.5 kB / 1.551 GB, free: 12.73 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04311/2.091, allocations: 16.82 MB / 1.567 GB, free: 11.76 MB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001333/2.091, allocations: 23.91 kB / 1.567 GB, free: 11.74 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.659e-05/2.091, allocations: 7.984 kB / 1.567 GB, free: 11.73 MB / 1.311 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004566/2.096, allocations: 1.425 MB / 1.569 GB, free: 10.28 MB / 1.311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002044/2.098, allocations: 99.94 kB / 1.569 GB, free: 10.18 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004593/2.102, allocations: 255.7 kB / 1.569 GB, free: 9.934 MB / 1.311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002129/2.104, allocations: 0.7218 MB / 1.57 GB, free: 9.207 MB / 1.311 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.6707/2.775, allocations: 17.73 MB / 1.587 GB, free: 413.4 MB / 1.311 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0224/2.798, allocations: 14.64 MB / 1.602 GB, free: 409.2 MB / 1.311 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.008072/2.806, allocations: 4.91 MB / 1.606 GB, free: 407.2 MB / 1.311 GB Notification: Performance of sorting global known variables: time 0.00414/2.81, allocations: 1.777 MB / 1.608 GB, free: 406.6 MB / 1.311 GB Notification: Performance of Backend: time 1.012e-06/2.81, allocations: 3.844 kB / 1.608 GB, free: 406.6 MB / 1.311 GB Notification: Performance of simCode: created initialization part: time 0.02841/2.838, allocations: 11.8 MB / 1.62 GB, free: 401.2 MB / 1.311 GB Notification: Performance of SimCode: time 0.03389/2.872, allocations: 17.83 MB / 1.637 GB, free: 393.5 MB / 1.311 GB Notification: Performance of Templates: time 0.195/3.067, allocations: 140.6 MB / 1.774 GB, free: 287.2 MB / 1.311 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches