Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.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_latest_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_latest_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.00167/0.00167, allocations: 110.9 kB / 16.41 MB, free: 6.469 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.001915/0.001916, allocations: 192.2 kB / 17.35 MB, free: 5.719 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.376/1.376, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.633/2.633, allocations: 461.9 MB / 0.7355 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001538/0.001538, allocations: 63.89 kB / 1.055 GB, free: 7.648 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8767/0.8782, allocations: 157.4 MB / 1.208 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.04411/0.9224, allocations: 41.18 MB / 1.249 GB, free: 4.266 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.02843/0.9508, allocations: 15.07 MB / 1.263 GB, free: 5.152 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00613/0.957, allocations: 187.1 kB / 1.264 GB, free: 4.969 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.01284/0.9699, allocations: 4.467 MB / 1.268 GB, free: 0.4922 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.01117/0.9811, allocations: 2.79 MB / 1.271 GB, free: 13.69 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.01061/0.9918, allocations: 3.164 MB / 1.274 GB, free: 10.52 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01758/1.009, allocations: 11.4 MB / 1.285 GB, free: 15.09 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02455/1.034, allocations: 12.47 MB / 1.297 GB, free: 2.48 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0102/1.044, allocations: 4.904 MB / 1.302 GB, free: 13.56 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01058/1.055, allocations: 5.39 MB / 1.307 GB, free: 8.156 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.00427/1.059, allocations: 0.9492 MB / 1.308 GB, free: 7.207 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007367/1.067, allocations: 2.04 MB / 1.31 GB, free: 5.164 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.007363/1.074, allocations: 3.692 MB / 1.314 GB, free: 1.465 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.01183/1.086, allocations: 4.299 MB / 1.318 GB, free: 13.15 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.02227/1.108, allocations: 14.28 MB / 1.332 GB, free: 14.83 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 8.596e-06/1.108, allocations: 0 / 1.332 GB, free: 14.83 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.685e-06/1.108, allocations: 0 / 1.332 GB, free: 14.83 MB / 1.061 GB Notification: Performance of Transformations before backend: time 0.0005759/1.109, allocations: 0 / 1.332 GB, free: 14.83 MB / 1.061 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.02796/1.137, allocations: 7.612 MB / 1.339 GB, free: 7.137 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.666e-05/1.137, allocations: 8.031 kB / 1.339 GB, free: 7.129 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01176/1.149, allocations: 1.518 MB / 1.341 GB, free: 5.602 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01161/1.16, allocations: 4.439 MB / 1.345 GB, free: 1.086 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005311/1.161, allocations: 456.4 kB / 1.345 GB, free: 0.6367 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003035/1.164, allocations: 0.6016 MB / 1.346 GB, free: 36 kB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03157/1.195, allocations: 10.69 MB / 1.356 GB, free: 4.973 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003516/1.196, allocations: 23.78 kB / 1.357 GB, free: 4.949 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002384/1.198, allocations: 263.9 kB / 1.357 GB, free: 4.691 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00312/1.201, allocations: 0.7729 MB / 1.358 GB, free: 3.914 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02064/1.222, allocations: 8.561 MB / 1.366 GB, free: 11.33 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07366/1.296, allocations: 46.55 MB / 1.411 GB, free: 9.023 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007081/1.303, allocations: 4.319 MB / 1.416 GB, free: 4.691 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006823/1.31, allocations: 3.708 MB / 1.419 GB, free: 0.9766 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005873/1.31, allocations: 34.78 kB / 1.419 GB, free: 0.9414 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.044e-05/1.31, allocations: 81.28 kB / 1.419 GB, free: 0.8516 MB / 1.139 GB Notification: Performance of pre-optimization done (n=353): time 7.244e-06/1.311, allocations: 0 / 1.419 GB, free: 0.8516 MB / 1.139 GB Notification: Performance of matching and sorting (n=578): time 0.5247/1.835, allocations: 122.8 MB / 1.539 GB, free: 5.223 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.932e-05/1.835, allocations: 119.8 kB / 1.539 GB, free: 5.09 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00549/1.841, allocations: 2.677 MB / 1.542 GB, free: 2.414 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 0.001646/1.843, allocations: 121.7 kB / 1.542 GB, free: 2.289 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.002198/1.845, allocations: 2.683 MB / 1.545 GB, free: 15.58 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.003258/1.848, allocations: 1.952 MB / 1.547 GB, free: 13.6 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002985/1.851, allocations: 0.9248 MB / 1.547 GB, free: 12.66 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0001134/1.851, allocations: 301.1 kB / 1.548 GB, free: 12.37 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005873/1.857, allocations: 4.079 MB / 1.552 GB, free: 8.281 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006771/1.864, allocations: 5.015 MB / 1.557 GB, free: 2.938 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.7515/2.615, allocations: 9.843 MB / 1.566 GB, free: 318.6 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-05/2.615, allocations: 7.25 kB / 1.566 GB, free: 318.6 MB / 1.279 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.03974/2.655, allocations: 17 MB / 1.583 GB, free: 312.3 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 3.527e-05/2.655, allocations: 15.62 kB / 1.583 GB, free: 312.3 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.226e-05/2.655, allocations: 23.5 kB / 1.583 GB, free: 312.3 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03913/2.694, allocations: 9.081 MB / 1.592 GB, free: 310.1 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003953/2.698, allocations: 0.5257 MB / 1.592 GB, free: 310.1 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1646/2.863, allocations: 76.95 MB / 1.667 GB, free: 241.4 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008434/2.872, allocations: 291.8 kB / 1.668 GB, free: 241.1 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001635/2.873, allocations: 184 kB / 1.668 GB, free: 241 MB / 1.279 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.007131/2.88, allocations: 2.422 MB / 1.67 GB, free: 238.5 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002099/2.883, allocations: 470.5 kB / 1.671 GB, free: 238.1 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05938/2.942, allocations: 16.83 MB / 1.687 GB, free: 221.1 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001433/2.942, allocations: 23.91 kB / 1.687 GB, free: 221.1 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.066e-05/2.942, allocations: 0 / 1.687 GB, free: 221.1 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005521/2.948, allocations: 1.425 MB / 1.689 GB, free: 219.6 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00237/2.95, allocations: 107.9 kB / 1.689 GB, free: 219.5 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006956/2.957, allocations: 251.6 kB / 1.689 GB, free: 219.3 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003067/2.96, allocations: 0.7282 MB / 1.69 GB, free: 218.6 MB / 1.279 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.03969/3, allocations: 17.73 MB / 1.707 GB, free: 200.9 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01828/3.018, allocations: 14.64 MB / 1.721 GB, free: 186.1 MB / 1.279 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005634/3.024, allocations: 4.911 MB / 1.726 GB, free: 181.2 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.002192/3.026, allocations: 1.772 MB / 1.728 GB, free: 179.4 MB / 1.279 GB Notification: Performance of Backend: time 1.042e-06/3.026, allocations: 8 kB / 1.728 GB, free: 179.4 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.02237/3.049, allocations: 11.8 MB / 1.739 GB, free: 167.6 MB / 1.279 GB Notification: Performance of SimCode: time 0.02629/3.075, allocations: 17.84 MB / 1.757 GB, free: 149.7 MB / 1.279 GB Notification: Performance of Templates: time 0.1856/3.26, allocations: 143.6 MB / 1.897 GB, free: 7.551 MB / 1.279 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches