Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001694/0.001694, allocations: 104 kB / 16.27 MB, free: 5.98 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.001942/0.001942, allocations: 189.8 kB / 17.2 MB, free: 5.605 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.439/1.439, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.648/2.648, allocations: 437.1 MB / 0.711 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001961/0.001961, allocations: 68.34 kB / 0.8699 GB, free: 2.137 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3081/0.3101, allocations: 151.6 MB / 1.018 GB, free: 10.59 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.008202/0.3183, allocations: 5.543 MB / 1.023 GB, free: 5.031 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.005002/0.3234, allocations: 2.654 MB / 1.026 GB, free: 2.367 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005156/0.3239, allocations: 23.81 kB / 1.026 GB, free: 2.344 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.001949/0.3259, allocations: 0.6819 MB / 1.027 GB, free: 1.66 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.001222/0.3272, allocations: 413.7 kB / 1.027 GB, free: 1.254 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.001196/0.3284, allocations: 409.2 kB / 1.027 GB, free: 0.8555 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.001284/0.3297, allocations: 0.9514 MB / 1.028 GB, free: 15.89 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007561/0.3304, allocations: 478.6 kB / 1.029 GB, free: 15.43 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005381/0.331, allocations: 366.6 kB / 1.029 GB, free: 15.07 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005583/0.3316, allocations: 410.4 kB / 1.03 GB, free: 14.67 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 8.462e-05/0.3316, allocations: 48 kB / 1.03 GB, free: 14.62 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007393/0.3324, allocations: 363.3 kB / 1.03 GB, free: 14.27 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0002853/0.3327, allocations: 243.3 kB / 1.03 GB, free: 14.03 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0003811/0.3331, allocations: 350.2 kB / 1.031 GB, free: 13.68 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.001218/0.3343, allocations: 0.9656 MB / 1.031 GB, free: 12.71 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.3343, allocations: 0 / 1.031 GB, free: 12.71 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.593e-06/0.3343, allocations: 0 / 1.031 GB, free: 12.71 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.591e-05/0.3344, allocations: 0 / 1.031 GB, free: 12.71 MB / 0.8106 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.0018/0.3362, allocations: 0.9777 MB / 1.032 GB, free: 11.69 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/0.3362, allocations: 12.56 kB / 1.032 GB, free: 11.68 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001369/0.3376, allocations: 191.8 kB / 1.033 GB, free: 11.49 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007937/0.3384, allocations: 0.4906 MB / 1.033 GB, free: 10.96 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.612e-05/0.3384, allocations: 37.38 kB / 1.033 GB, free: 10.92 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001653/0.3386, allocations: 52.55 kB / 1.033 GB, free: 10.87 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001268/0.3399, allocations: 0.8363 MB / 1.034 GB, free: 9.949 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.889e-05/0.3399, allocations: 11.91 kB / 1.034 GB, free: 9.938 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.988e-05/0.34, allocations: 16 kB / 1.034 GB, free: 9.922 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002066/0.3402, allocations: 72.88 kB / 1.034 GB, free: 9.852 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009158/0.3411, allocations: 0.5658 MB / 1.035 GB, free: 9.285 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004945/0.3461, allocations: 4.585 MB / 1.039 GB, free: 4.352 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004934/0.3466, allocations: 299.2 kB / 1.039 GB, free: 4.051 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003251/0.3469, allocations: 225.2 kB / 1.04 GB, free: 3.828 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.896e-05/0.347, allocations: 8.281 kB / 1.04 GB, free: 3.82 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.952e-05/0.347, allocations: 38.84 kB / 1.04 GB, free: 3.773 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=33): time 1.714e-06/0.347, allocations: 0 / 1.04 GB, free: 3.773 MB / 0.8106 GB Notification: Performance of matching and sorting (n=40): time 0.005864/0.3529, allocations: 2.631 MB / 1.042 GB, free: 1.016 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.648e-05/0.353, allocations: 59.41 kB / 1.042 GB, free: 0.9453 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005546/0.3535, allocations: 462 kB / 1.043 GB, free: 496 kB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.98e-05/0.3536, allocations: 33.7 kB / 1.043 GB, free: 456 kB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002802/0.3539, allocations: 343.6 kB / 1.043 GB, free: 104 kB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001455/0.354, allocations: 149.9 kB / 1.043 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001825/0.3542, allocations: 98.16 kB / 1.043 GB, free: 15.85 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000194/0.3544, allocations: 370.8 kB / 1.044 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003785/0.3548, allocations: 237 kB / 1.044 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005122/0.3553, allocations: 410.4 kB / 1.044 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009305/0.3563, allocations: 0.6779 MB / 1.045 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.3563, allocations: 4 kB / 1.045 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001739/0.358, allocations: 0.9173 MB / 1.046 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/0.358, allocations: 8 kB / 1.046 GB, free: 13.08 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.652e-05/0.3581, allocations: 11.98 kB / 1.046 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008055/0.3589, allocations: 222.6 kB / 1.046 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005264/0.3594, allocations: 115.8 kB / 1.046 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005754/0.3652, allocations: 5.337 MB / 1.051 GB, free: 6.961 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004851/0.3657, allocations: 31.97 kB / 1.051 GB, free: 6.93 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.22e-05/0.3657, allocations: 23.98 kB / 1.051 GB, free: 6.906 MB / 0.8262 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.0003469/0.3661, allocations: 225.7 kB / 1.052 GB, free: 6.676 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001057/0.3662, allocations: 63.27 kB / 1.052 GB, free: 6.613 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001625/0.3678, allocations: 0.7773 MB / 1.053 GB, free: 5.82 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.3679, allocations: 8 kB / 1.053 GB, free: 5.812 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.568e-06/0.3679, allocations: 3.984 kB / 1.053 GB, free: 5.809 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.3679, allocations: 0 / 1.053 GB, free: 5.809 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002639/0.3705, allocations: 1.503 MB / 1.054 GB, free: 4.219 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.3705, allocations: 0 / 1.054 GB, free: 4.219 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003879/0.3709, allocations: 71.88 kB / 1.054 GB, free: 4.148 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007106/0.3717, allocations: 198.5 kB / 1.054 GB, free: 3.945 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.63e-05/0.3717, allocations: 12 kB / 1.054 GB, free: 3.934 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005649/0.3774, allocations: 5.274 MB / 1.059 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.3774, allocations: 4.031 kB / 1.059 GB, free: 14.24 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001967/0.3794, allocations: 1.139 MB / 1.061 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003044/0.3797, allocations: 168.4 kB / 1.061 GB, free: 12.87 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001122/0.3798, allocations: 19.92 kB / 1.061 GB, free: 12.85 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003592/0.3802, allocations: 23.97 kB / 1.061 GB, free: 12.83 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.107e-05/0.3803, allocations: 35.91 kB / 1.061 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.319e-05/0.3803, allocations: 11.98 kB / 1.061 GB, free: 12.78 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0004255/0.3807, allocations: 314.9 kB / 1.061 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of sort global known variables: time 4.01e-07/0.3808, allocations: 8 kB / 1.061 GB, free: 12.47 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.000786/0.3815, allocations: 172 kB / 1.061 GB, free: 12.3 MB / 0.8419 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.0001862/0.3817, allocations: 108.9 kB / 1.061 GB, free: 12.19 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.002025/0.3838, allocations: 1.059 MB / 1.062 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 5.84e-06/0.3838, allocations: 0 / 1.062 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.001113/0.3849, allocations: 0.6876 MB / 1.063 GB, free: 10.36 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001019/0.3859, allocations: 179.5 kB / 1.063 GB, free: 10.19 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002451/0.3884, allocations: 1.332 MB / 1.065 GB, free: 8.801 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007543/0.3892, allocations: 0.9533 MB / 1.065 GB, free: 7.82 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001362/0.3893, allocations: 39.44 kB / 1.066 GB, free: 7.781 MB / 0.8419 GB Notification: Performance of SimCode: time 6.81e-07/0.3893, allocations: 0 / 1.066 GB, free: 7.781 MB / 0.8419 GB Notification: Performance of Templates: time 0.4759/0.8653, allocations: 14.9 MB / 1.08 GB, free: 59.9 MB / 0.8419 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches