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.001532/0.001532, allocations: 113.2 kB / 16.41 MB, free: 6.492 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.001769/0.001769, allocations: 183 kB / 17.34 MB, free: 5.762 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.353/1.353, allocations: 222.9 MB / 241 MB, free: 15.15 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.315/2.315, allocations: 390.3 MB / 0.6655 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001438/0.001438, allocations: 71.88 kB / 0.9516 GB, free: 7.625 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8394/0.8409, allocations: 140.4 MB / 1.089 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.05002/0.8909, allocations: 41.18 MB / 1.129 GB, free: 9.508 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02892/0.9199, allocations: 15.09 MB / 1.144 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007111/0.927, allocations: 186.8 kB / 1.144 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.01271/0.9398, allocations: 4.466 MB / 1.148 GB, free: 12.51 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.01151/0.9513, allocations: 2.789 MB / 1.151 GB, free: 10.79 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.01179/0.9632, allocations: 3.154 MB / 1.154 GB, free: 9.043 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.01937/0.9826, allocations: 11.4 MB / 1.165 GB, free: 3.59 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01975/1.002, allocations: 12.47 MB / 1.177 GB, free: 13.66 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01132/1.014, allocations: 4.91 MB / 1.182 GB, free: 10.82 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0135/1.027, allocations: 5.384 MB / 1.187 GB, free: 7.535 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.004593/1.032, allocations: 0.9493 MB / 1.188 GB, free: 7.535 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009317/1.041, allocations: 2.043 MB / 1.19 GB, free: 5.918 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.008474/1.05, allocations: 3.692 MB / 1.194 GB, free: 2.219 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.01335/1.063, allocations: 4.295 MB / 1.198 GB, free: 13.91 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.02355/1.087, allocations: 14.29 MB / 1.212 GB, free: 15.58 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 7.164e-06/1.087, allocations: 4 kB / 1.212 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.405e-06/1.087, allocations: 0 / 1.212 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 0.00055/1.087, allocations: 0 / 1.212 GB, free: 15.57 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.03974/1.127, allocations: 7.6 MB / 1.219 GB, free: 7.895 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 6.516e-05/1.127, allocations: 16.03 kB / 1.219 GB, free: 7.879 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01281/1.14, allocations: 1.518 MB / 1.221 GB, free: 6.352 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0125/1.153, allocations: 4.439 MB / 1.225 GB, free: 1.836 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006008/1.153, allocations: 452.5 kB / 1.226 GB, free: 1.391 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003441/1.157, allocations: 0.5978 MB / 1.226 GB, free: 0.793 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0314/1.188, allocations: 10.69 MB / 1.237 GB, free: 5.727 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004595/1.189, allocations: 19.78 kB / 1.237 GB, free: 5.707 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002939/1.192, allocations: 271.9 kB / 1.237 GB, free: 5.441 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003424/1.195, allocations: 0.7729 MB / 1.238 GB, free: 4.664 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02122/1.216, allocations: 8.565 MB / 1.246 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07393/1.29, allocations: 46.54 MB / 1.292 GB, free: 9.781 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007028/1.297, allocations: 4.311 MB / 1.296 GB, free: 5.461 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00661/1.304, allocations: 3.709 MB / 1.299 GB, free: 1.738 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005522/1.305, allocations: 34.78 kB / 1.299 GB, free: 1.703 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001006/1.305, allocations: 77.34 kB / 1.299 GB, free: 1.617 MB / 1.029 GB Notification: Performance of pre-optimization done (n=353): time 9.668e-06/1.305, allocations: 0 / 1.299 GB, free: 1.617 MB / 1.029 GB Notification: Performance of matching and sorting (n=578): time 0.5273/1.832, allocations: 122.8 MB / 1.419 GB, free: 5.977 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000108/1.832, allocations: 111.9 kB / 1.419 GB, free: 5.852 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005234/1.837, allocations: 2.685 MB / 1.422 GB, free: 3.168 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.001435/1.839, allocations: 121.7 kB / 1.422 GB, free: 3.043 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.002028/1.841, allocations: 2.679 MB / 1.425 GB, free: 340 kB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.003058/1.844, allocations: 1.956 MB / 1.427 GB, free: 14.35 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003536/1.848, allocations: 0.9248 MB / 1.428 GB, free: 13.41 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001038/1.848, allocations: 301.1 kB / 1.428 GB, free: 13.12 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006558/1.854, allocations: 4.079 MB / 1.432 GB, free: 9.031 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007346/1.862, allocations: 5.019 MB / 1.437 GB, free: 3.691 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01485/1.876, allocations: 9.844 MB / 1.446 GB, free: 9.465 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.407e-05/1.877, allocations: 8 kB / 1.446 GB, free: 9.457 MB / 1.186 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.04589/1.922, allocations: 17 MB / 1.463 GB, free: 8.324 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 6.995e-05/1.923, allocations: 16 kB / 1.463 GB, free: 8.309 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.245e-05/1.923, allocations: 20 kB / 1.463 GB, free: 8.289 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03287/1.955, allocations: 9.09 MB / 1.472 GB, free: 15.16 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002747/1.958, allocations: 0.5148 MB / 1.472 GB, free: 14.65 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1251/2.083, allocations: 76.96 MB / 1.548 GB, free: 92 kB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006077/2.089, allocations: 279.8 kB / 1.548 GB, free: 15.82 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001536/2.091, 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.00669/2.098, allocations: 2.427 MB / 1.55 GB, free: 13.2 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002126/2.1, allocations: 470.5 kB / 1.551 GB, free: 12.73 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04625/2.146, allocations: 16.82 MB / 1.567 GB, free: 11.77 MB / 1.311 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.81e-05/2.146, allocations: 55.98 kB / 1.567 GB, free: 11.71 MB / 1.311 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0003289/2.147, allocations: 72 kB / 1.567 GB, free: 11.64 MB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001618/2.147, allocations: 23.91 kB / 1.567 GB, free: 11.62 MB / 1.311 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.808/2.955, allocations: 25.66 MB / 1.592 GB, free: 414 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.457e-05/2.955, allocations: 10.22 kB / 1.592 GB, free: 414 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002006/2.957, allocations: 326 kB / 1.593 GB, free: 414 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03079/2.988, allocations: 8.271 MB / 1.601 GB, free: 413.5 MB / 1.311 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00121/2.989, allocations: 107.1 kB / 1.601 GB, free: 413.5 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09649/3.086, allocations: 73.82 MB / 1.673 GB, free: 371.8 MB / 1.311 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/3.086, allocations: 11.56 kB / 1.673 GB, free: 371.8 MB / 1.311 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03562/3.121, allocations: 21.58 MB / 1.694 GB, free: 362.8 MB / 1.311 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00305/3.124, allocations: 1.356 MB / 1.695 GB, free: 362 MB / 1.311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001044/3.125, allocations: 110.5 kB / 1.696 GB, free: 361.9 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003412/3.129, allocations: 284.9 kB / 1.696 GB, free: 361.8 MB / 1.311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002151/3.131, allocations: 0.5246 MB / 1.696 GB, free: 361.7 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004275/3.131, allocations: 151.4 kB / 1.697 GB, free: 361.7 MB / 1.311 GB Notification: Performance of sorting global known variables: time 0.002122/3.134, allocations: 1.775 MB / 1.698 GB, free: 360.9 MB / 1.311 GB Notification: Performance of sort global known variables: time 1.9e-07/3.134, allocations: 4 kB / 1.698 GB, free: 360.9 MB / 1.311 GB Notification: Performance of remove unused functions: time 0.007324/3.141, allocations: 2.465 MB / 1.701 GB, free: 358.4 MB / 1.311 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 8 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[2],RLCLine_sc.neutral.Vc[1],RLCLine_sc.neutral.Vc[2]) * 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 (142): * Single equations (assignments): 131 * 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 {(6,40,77.8%), (8,70,70.3%), (14,72,51.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (5,17,84.0%), (6,40,83.3%), (8,70,70.3%), (14,72,51.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007921/3.142, allocations: 234.4 kB / 1.701 GB, free: 358.2 MB / 1.311 GB Notification: Performance of simCode: created initialization part: time 0.0223/3.164, allocations: 14.53 MB / 1.715 GB, free: 344.2 MB / 1.311 GB Notification: Performance of simCode: created event and clocks part: time 2.185e-05/3.164, allocations: 4 kB / 1.715 GB, free: 344.2 MB / 1.311 GB Notification: Performance of simCode: created simulation system equations: time 0.01755/3.182, allocations: 9.37 MB / 1.724 GB, free: 334.7 MB / 1.311 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007105/3.189, allocations: 1.38 MB / 1.726 GB, free: 333.3 MB / 1.311 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02771/3.216, allocations: 16.48 MB / 1.742 GB, free: 316.8 MB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007177/3.224, allocations: 4.991 MB / 1.747 GB, free: 311.8 MB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001226/3.225, allocations: 219.4 kB / 1.747 GB, free: 311.5 MB / 1.311 GB Notification: Performance of SimCode: time 6.81e-07/3.225, allocations: 0 / 1.747 GB, free: 311.5 MB / 1.311 GB Notification: Performance of Templates: time 0.9181/4.143, allocations: 475 MB / 2.211 GB, free: 381.6 MB / 1.357 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