Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load_sc_1.v.1.|load_sc_1.v.2.|load_sc_2.v.1.|load_sc_2.v.2.|load_sc_3.v.1.|load_sc_3.v.2.|load_sc_1.i.1.|load_sc_1.i.2.|load_sc_2.i.1.|load_sc_2.i.2.|load_sc_3.i.1.|load_sc_3.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load_sc_1.v.1.|load_sc_1.v.2.|load_sc_2.v.1.|load_sc_2.v.2.|load_sc_3.v.1.|load_sc_3.v.2.|load_sc_1.i.1.|load_sc_1.i.2.|load_sc_2.i.1.|load_sc_2.i.2.|load_sc_3.i.1.|load_sc_3.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005807/0.005807, allocations: 101.1 kB / 15.88 MB, free: 6.328 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.001332/0.001332, allocations: 194.4 kB / 16.79 MB, free: 6.254 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.348/1.348, allocations: 222.9 MB / 240.5 MB, free: 4.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.338/2.338, allocations: 390.2 MB / 0.6649 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001434/0.001434, allocations: 67.89 kB / 0.8125 GB, free: 14.84 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6574/0.6588, allocations: 140.3 MB / 0.9496 GB, free: 9.188 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.006531/0.6654, allocations: 5.562 MB / 0.955 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003944/0.6694, allocations: 2.653 MB / 0.9576 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006571/0.6701, allocations: 19.28 kB / 0.9576 GB, free: 2.805 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.00194/0.6721, allocations: 0.6424 MB / 0.9583 GB, free: 2.316 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001247/0.6733, allocations: 391.1 kB / 0.9586 GB, free: 2.012 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009825/0.6743, allocations: 369.4 kB / 0.959 GB, free: 1.734 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.00133/0.6757, allocations: 1.249 MB / 0.9602 GB, free: 1.047 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008321/0.6765, allocations: 464.7 kB / 0.9606 GB, free: 0.8008 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000657/0.6772, allocations: 327 kB / 0.961 GB, free: 0.6328 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007133/0.6779, allocations: 408.7 kB / 0.9613 GB, free: 408 kB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001433/0.6781, allocations: 33.59 kB / 0.9614 GB, free: 408 kB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001054/0.6791, allocations: 446.7 kB / 0.9618 GB, free: 164 kB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003136/0.6794, allocations: 233.8 kB / 0.962 GB, free: 16 kB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0007602/0.6802, allocations: 327.1 kB / 0.9623 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0011/0.6813, allocations: 0.7495 MB / 0.9631 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.6813, allocations: 0 / 0.9631 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.223e-06/0.6813, allocations: 1.344 kB / 0.9631 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.702e-05/0.6814, allocations: 0 / 0.9631 GB, free: 15.3 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.002103/0.6835, allocations: 0.9707 MB / 0.964 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/0.6835, allocations: 13.92 kB / 0.964 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001486/0.685, allocations: 192 kB / 0.9642 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007277/0.6858, allocations: 491.4 kB / 0.9647 GB, free: 14.03 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.622e-05/0.6858, allocations: 40.7 kB / 0.9647 GB, free: 14 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001492/0.686, allocations: 58.62 kB / 0.9648 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001215/0.6872, allocations: 0.8287 MB / 0.9656 GB, free: 13.38 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.413e-05/0.6872, allocations: 2.281 kB / 0.9656 GB, free: 13.38 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.138e-05/0.6873, allocations: 31.48 kB / 0.9656 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001951/0.6875, allocations: 65.7 kB / 0.9657 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009284/0.6885, allocations: 0.5791 MB / 0.9662 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004552/0.693, allocations: 4.588 MB / 0.9707 GB, free: 8.758 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004747/0.6935, allocations: 292.6 kB / 0.971 GB, free: 8.602 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000311/0.6938, allocations: 226.1 kB / 0.9712 GB, free: 8.484 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.226e-05/0.6939, allocations: 2.969 kB / 0.9712 GB, free: 8.484 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.215e-05/0.6939, allocations: 41.5 kB / 0.9713 GB, free: 8.438 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=33): time 1.994e-06/0.6939, allocations: 4 kB / 0.9713 GB, free: 8.434 MB / 0.7325 GB Notification: Performance of matching and sorting (n=40): time 0.005863/0.6998, allocations: 2.632 MB / 0.9738 GB, free: 6.719 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.694e-05/0.6999, allocations: 55.34 kB / 0.9739 GB, free: 6.656 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00052/0.7004, allocations: 465.5 kB / 0.9743 GB, free: 6.367 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.876e-05/0.7004, allocations: 31.48 kB / 0.9744 GB, free: 6.332 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002366/0.7007, allocations: 348.6 kB / 0.9747 GB, free: 6.02 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001137/0.7008, allocations: 143.5 kB / 0.9748 GB, free: 5.895 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000178/0.701, allocations: 111.2 kB / 0.9749 GB, free: 5.824 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001387/0.7011, allocations: 362.2 kB / 0.9753 GB, free: 5.473 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003717/0.7015, allocations: 239.6 kB / 0.9755 GB, free: 5.355 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004857/0.702, allocations: 410.9 kB / 0.9759 GB, free: 5.012 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009118/0.7029, allocations: 0.6731 MB / 0.9766 GB, free: 4.531 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/0.7029, allocations: 1.25 kB / 0.9766 GB, free: 4.531 MB / 0.7325 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001747/0.7047, allocations: 0.9207 MB / 0.9775 GB, free: 4.02 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.277e-05/0.7047, allocations: 7.938 kB / 0.9775 GB, free: 4.02 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.246e-05/0.7047, allocations: 13.98 kB / 0.9775 GB, free: 4.012 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000822/0.7056, allocations: 226.1 kB / 0.9777 GB, free: 3.891 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005284/0.7061, allocations: 116 kB / 0.9778 GB, free: 3.859 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00499/0.7111, allocations: 4.931 MB / 0.9826 GB, free: 14.96 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005531/0.7117, allocations: 31.97 kB / 0.9827 GB, free: 14.93 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.51e-05/0.7117, allocations: 20 kB / 0.9827 GB, free: 14.91 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (58): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003518/0.7121, allocations: 227 kB / 0.9829 GB, free: 14.68 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001049/0.7122, allocations: 59.25 kB / 0.9829 GB, free: 14.62 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001549/0.7138, allocations: 0.7699 MB / 0.9837 GB, free: 13.83 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.7138, allocations: 11.92 kB / 0.9837 GB, free: 13.82 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.7138, allocations: 4 kB / 0.9837 GB, free: 13.82 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/0.7138, allocations: 7.984 kB / 0.9837 GB, free: 13.81 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002535/0.7164, allocations: 1.494 MB / 0.9852 GB, free: 12.23 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.7164, allocations: 192 / 0.9852 GB, free: 12.23 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003945/0.7168, allocations: 71.94 kB / 0.9853 GB, free: 12.16 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007321/0.7175, allocations: 206.5 kB / 0.9854 GB, free: 11.95 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.469e-05/0.7176, allocations: 8 kB / 0.9855 GB, free: 11.94 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00467/0.7222, allocations: 4.873 MB / 0.9902 GB, free: 6.664 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-06/0.7223, allocations: 7.938 kB / 0.9902 GB, free: 6.656 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0019/0.7242, allocations: 1.151 MB / 0.9913 GB, free: 5.457 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002665/0.7245, allocations: 164.4 kB / 0.9915 GB, free: 5.277 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001152/0.7246, allocations: 12 kB / 0.9915 GB, free: 5.266 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003712/0.725, allocations: 27.95 kB / 0.9915 GB, free: 5.238 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.559e-05/0.7251, allocations: 35.84 kB / 0.9916 GB, free: 5.203 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.197e-05/0.7251, allocations: 16 kB / 0.9916 GB, free: 5.188 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003625/0.7255, allocations: 314.9 kB / 0.9919 GB, free: 4.883 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7255, allocations: 4.062 kB / 0.9919 GB, free: 4.879 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0007865/0.7263, allocations: 168 kB / 0.9921 GB, free: 4.715 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[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 (30): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001655/0.7264, allocations: 115.2 kB / 0.9922 GB, free: 4.59 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001647/0.7281, allocations: 1.02 MB / 0.9932 GB, free: 3.531 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.7281, allocations: 0 / 0.9932 GB, free: 3.531 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.000961/0.7291, allocations: 0.6721 MB / 0.9938 GB, free: 2.82 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009367/0.73, allocations: 171.7 kB / 0.994 GB, free: 2.652 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002283/0.7323, allocations: 1.564 MB / 0.9955 GB, free: 1.035 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005328/0.7329, allocations: 0.9494 MB / 0.9964 GB, free: 60 kB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001416/0.733, allocations: 39.44 kB / 0.9965 GB, free: 24 kB / 0.7481 GB Notification: Performance of SimCode: time 6.91e-07/0.733, allocations: 3.938 kB / 0.9965 GB, free: 20 kB / 0.7481 GB Notification: Performance of Templates: time 0.01754/0.7506, allocations: 14.89 MB / 1.011 GB, free: 1.176 MB / 0.7637 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches