Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.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.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load_sc_1.load1.v.1.|load_sc_1.load1.v.2.|load_sc_2.load1.v.1.|load_sc_2.load1.v.2.|load_sc_3.load1.v.1.|load_sc_3.load1.v.2.|load_sc_1.load1.i.1.|load_sc_1.load1.i.2.|load_sc_2.load1.i.1.|load_sc_2.load1.i.2.|load_sc_3.load1.i.1.|load_sc_3.load1.i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load_sc_1.load1.v.1.|load_sc_1.load1.v.2.|load_sc_2.load1.v.1.|load_sc_2.load1.v.2.|load_sc_3.load1.v.1.|load_sc_3.load1.v.2.|load_sc_1.load1.i.1.|load_sc_1.load1.i.2.|load_sc_2.load1.i.1.|load_sc_2.load1.i.2.|load_sc_3.load1.i.1.|load_sc_3.load1.i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.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.001816/0.001816, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001987/0.001987, allocations: 197.8 kB / 16.26 MB, free: 6.629 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.512/1.512, allocations: 222.9 MB / 239.9 MB, free: 4.551 MB / 190.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.812/2.812, allocations: 437 MB / 0.7101 GB, free: 5.203 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001987/0.001987, allocations: 67.89 kB / 0.8688 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.719/0.7211, allocations: 151.6 MB / 1.017 GB, free: 2.688 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.03326/0.7543, allocations: 26.43 MB / 1.043 GB, free: 8.172 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.01641/0.7708, allocations: 8.013 MB / 1.05 GB, free: 140 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003452/0.7743, allocations: 107.4 kB / 1.051 GB, free: 32 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.007911/0.7823, allocations: 2.576 MB / 1.053 GB, free: 13.45 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.005494/0.7878, allocations: 1.462 MB / 1.055 GB, free: 11.98 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.005443/0.7933, allocations: 1.533 MB / 1.056 GB, free: 10.45 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.009801/0.8031, allocations: 6.162 MB / 1.062 GB, free: 4.27 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01812/0.8213, allocations: 8.957 MB / 1.071 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005464/0.8268, allocations: 2.613 MB / 1.073 GB, free: 8.594 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005814/0.8326, allocations: 2.971 MB / 1.076 GB, free: 5.613 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.001996/0.8346, allocations: 0.5078 MB / 1.077 GB, free: 5.105 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004625/0.8393, allocations: 1.287 MB / 1.078 GB, free: 3.816 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.004268/0.8436, allocations: 2.05 MB / 1.08 GB, free: 1.762 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.006772/0.8504, allocations: 2.381 MB / 1.082 GB, free: 15.37 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.01357/0.864, allocations: 8.067 MB / 1.09 GB, free: 7.281 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 9.218e-06/0.864, allocations: 0 / 1.09 GB, free: 7.281 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.184e-06/0.864, allocations: 0 / 1.09 GB, free: 7.281 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.0003487/0.8644, allocations: 0 / 1.09 GB, free: 7.281 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.01588/0.8803, allocations: 4.236 MB / 1.094 GB, free: 2.98 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 6.803e-05/0.8804, allocations: 8.031 kB / 1.094 GB, free: 2.973 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006354/0.8867, allocations: 0.7961 MB / 1.095 GB, free: 2.172 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006605/0.8934, allocations: 2.428 MB / 1.097 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002856/0.8937, allocations: 275.6 kB / 1.098 GB, free: 15.42 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001592/0.8953, allocations: 372.6 kB / 1.098 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01529/0.9106, allocations: 5.992 MB / 1.104 GB, free: 8.812 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001308/0.9108, allocations: 19.88 kB / 1.104 GB, free: 8.793 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000486/0.9113, allocations: 156 kB / 1.104 GB, free: 8.641 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007611/0.9121, allocations: 290.9 kB / 1.104 GB, free: 8.355 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01067/0.9228, allocations: 4.524 MB / 1.109 GB, free: 3.824 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04332/0.9661, allocations: 27.65 MB / 1.136 GB, free: 5.668 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002229/0.9684, allocations: 1.123 MB / 1.137 GB, free: 4.535 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001713/0.9701, allocations: 1.02 MB / 1.138 GB, free: 3.512 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001319/0.9703, allocations: 16.98 kB / 1.138 GB, free: 3.496 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.55e-05/0.9704, allocations: 47.55 kB / 1.138 GB, free: 3.441 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=110): time 3.186e-06/0.9704, allocations: 0 / 1.138 GB, free: 3.441 MB / 0.8887 GB Notification: Performance of matching and sorting (n=131): time 0.02506/0.9954, allocations: 9.676 MB / 1.147 GB, free: 9.555 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.311e-05/0.9955, allocations: 68.72 kB / 1.147 GB, free: 9.473 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003043/0.9986, allocations: 1.494 MB / 1.149 GB, free: 7.98 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0002223/0.9988, allocations: 45.7 kB / 1.149 GB, free: 7.93 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.001542/1, allocations: 1.667 MB / 1.151 GB, free: 6.238 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006269/1.001, allocations: 473.2 kB / 1.151 GB, free: 5.77 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007448/1.002, allocations: 331.2 kB / 1.151 GB, free: 5.441 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001368/1.002, allocations: 305.1 kB / 1.152 GB, free: 5.141 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001535/1.003, allocations: 0.9135 MB / 1.153 GB, free: 4.227 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002019/1.006, allocations: 1.463 MB / 1.154 GB, free: 2.523 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003753/1.009, allocations: 2.546 MB / 1.156 GB, free: 15.74 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-05/1.009, allocations: 16 kB / 1.156 GB, free: 15.72 MB / 0.92 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.00693/1.016, allocations: 3.286 MB / 1.16 GB, free: 12.4 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.925e-05/1.016, allocations: 12 kB / 1.16 GB, free: 12.39 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.739e-05/1.016, allocations: 20 kB / 1.16 GB, free: 12.37 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002527/1.019, allocations: 0.7415 MB / 1.16 GB, free: 11.6 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001779/1.021, allocations: 383.4 kB / 1.161 GB, free: 11.22 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01974/1.04, allocations: 17.05 MB / 1.177 GB, free: 8.898 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001807/1.042, allocations: 99.91 kB / 1.178 GB, free: 8.801 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001517/1.042, allocations: 72 kB / 1.178 GB, free: 8.73 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (193): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (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.002458/1.045, allocations: 1.313 MB / 1.179 GB, free: 7.406 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004727/1.045, allocations: 197.7 kB / 1.179 GB, free: 7.211 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005364/1.051, allocations: 2.796 MB / 1.182 GB, free: 4.375 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.955e-05/1.051, allocations: 15.94 kB / 1.182 GB, free: 4.359 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.572e-05/1.051, allocations: 12 kB / 1.182 GB, free: 4.348 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.58e-05/1.051, allocations: 7.969 kB / 1.182 GB, free: 4.34 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01449/1.065, allocations: 6.213 MB / 1.188 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.834e-05/1.065, allocations: 8 kB / 1.188 GB, free: 13.95 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001403/1.067, allocations: 228.3 kB / 1.188 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002241/1.069, allocations: 0.6789 MB / 1.189 GB, free: 13.02 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001772/1.069, allocations: 32 kB / 1.189 GB, free: 12.99 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01749/1.087, allocations: 16.79 MB / 1.205 GB, free: 10.94 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.847e-06/1.087, allocations: 8 kB / 1.205 GB, free: 10.93 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007104/1.094, allocations: 4.008 MB / 1.209 GB, free: 6.816 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001227/1.095, allocations: 450.7 kB / 1.21 GB, free: 6.355 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002821/1.096, allocations: 35.92 kB / 1.21 GB, free: 6.32 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009047/1.096, allocations: 87.89 kB / 1.21 GB, free: 6.234 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003661/1.097, allocations: 112.7 kB / 1.21 GB, free: 6.125 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001059/1.097, allocations: 36 kB / 1.21 GB, free: 6.09 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001524/1.098, allocations: 0.9903 MB / 1.211 GB, free: 5.109 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.775e-06/1.098, allocations: 0 / 1.211 GB, free: 5.109 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.002916/1.101, allocations: 0.6953 MB / 1.212 GB, free: 4.414 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.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 (101): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,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.0003694/1.102, allocations: 155.3 kB / 1.212 GB, free: 4.258 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.007986/1.11, allocations: 4.104 MB / 1.216 GB, free: 36 kB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.362e-05/1.11, allocations: 4 kB / 1.216 GB, free: 32 kB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.003885/1.114, allocations: 2.296 MB / 1.218 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003452/1.117, allocations: 0.6613 MB / 1.219 GB, free: 12.97 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01375/1.131, allocations: 8.12 MB / 1.226 GB, free: 4.77 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003418/1.134, allocations: 2.664 MB / 1.229 GB, free: 2.074 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.001948/1.136, allocations: 493.4 kB / 1.23 GB, free: 1.59 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003449/1.137, allocations: 115.4 kB / 1.23 GB, free: 1.477 MB / 0.9825 GB Notification: Performance of SimCode: time 4.919e-06/1.137, allocations: 0 / 1.23 GB, free: 1.477 MB / 0.9825 GB Notification: Performance of Templates: time 0.6877/1.824, allocations: 33.82 MB / 1.263 GB, free: 206.4 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches