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.008753/0.008752, allocations: 95.61 kB / 15.73 MB, free: 6.047 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.001959/0.001959, allocations: 197.7 kB / 16.67 MB, free: 5.973 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.487/1.487, allocations: 222.9 MB / 240.4 MB, free: 4.324 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.968/2.968, allocations: 437 MB / 0.7105 GB, free: 5.07 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001526/0.001526, allocations: 67.88 kB / 1.019 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3332/0.3348, allocations: 151.6 MB / 1.167 GB, free: 6.805 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.03395/0.3688, allocations: 26.67 MB / 1.193 GB, free: 12.04 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01683/0.3857, allocations: 8.067 MB / 1.201 GB, free: 3.953 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003346/0.389, allocations: 111.4 kB / 1.201 GB, free: 3.844 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.007687/0.3968, allocations: 2.763 MB / 1.203 GB, free: 1.074 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.005186/0.402, allocations: 1.586 MB / 1.205 GB, free: 15.48 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.005052/0.4071, allocations: 1.683 MB / 1.207 GB, free: 13.8 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.008434/0.4155, allocations: 6.154 MB / 1.213 GB, free: 7.625 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01128/0.4268, allocations: 7.312 MB / 1.22 GB, free: 216 kB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005139/0.432, allocations: 2.574 MB / 1.222 GB, free: 13.63 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005423/0.4375, allocations: 2.827 MB / 1.225 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.002088/0.4396, allocations: 0.5078 MB / 1.225 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004207/0.4438, allocations: 1.287 MB / 1.227 GB, free: 8.996 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.003551/0.4474, allocations: 2.054 MB / 1.229 GB, free: 6.938 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.00505/0.4525, allocations: 2.377 MB / 1.231 GB, free: 4.551 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.01018/0.4627, allocations: 8.075 MB / 1.239 GB, free: 12.45 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.4627, allocations: 0 / 1.239 GB, free: 12.45 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.343e-06/0.4627, allocations: 0 / 1.239 GB, free: 12.45 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0003402/0.4631, allocations: 0 / 1.239 GB, free: 12.45 MB / 0.9981 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.01268/0.4757, allocations: 4.342 MB / 1.243 GB, free: 8.039 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/0.4758, allocations: 8.031 kB / 1.243 GB, free: 8.031 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004374/0.4802, allocations: 0.8219 MB / 1.244 GB, free: 7.207 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00498/0.4852, allocations: 2.59 MB / 1.247 GB, free: 4.562 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002078/0.4854, allocations: 275.6 kB / 1.247 GB, free: 4.293 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008758/0.4863, allocations: 380.5 kB / 1.247 GB, free: 3.922 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.8429/1.329, allocations: 5.984 MB / 1.253 GB, free: 73.12 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001243/1.329, allocations: 17.89 kB / 1.253 GB, free: 73.12 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004336/1.33, allocations: 156.3 kB / 1.253 GB, free: 73.12 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000764/1.331, allocations: 282 kB / 1.253 GB, free: 73.11 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01177/1.342, allocations: 4.526 MB / 1.258 GB, free: 71.78 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03576/1.378, allocations: 27.5 MB / 1.285 GB, free: 49.52 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001639/1.38, allocations: 1.124 MB / 1.286 GB, free: 49.09 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001388/1.381, allocations: 1.025 MB / 1.287 GB, free: 48.7 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.92e-05/1.381, allocations: 12.69 kB / 1.287 GB, free: 48.7 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.488e-05/1.381, allocations: 44.5 kB / 1.287 GB, free: 48.66 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=110): time 3.216e-06/1.381, allocations: 0 / 1.287 GB, free: 48.66 MB / 0.9981 GB Notification: Performance of matching and sorting (n=131): time 0.02215/1.404, allocations: 9.716 MB / 1.296 GB, free: 44.43 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.46e-05/1.404, allocations: 69.83 kB / 1.296 GB, free: 44.37 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002399/1.406, allocations: 1.496 MB / 1.298 GB, free: 43.82 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001119/1.406, allocations: 47.83 kB / 1.298 GB, free: 43.77 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001135/1.407, allocations: 1.716 MB / 1.3 GB, free: 42.66 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004395/1.408, allocations: 499.1 kB / 1.3 GB, free: 42.28 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006282/1.408, allocations: 325 kB / 1.3 GB, free: 42.12 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.281e-05/1.409, allocations: 306.8 kB / 1.301 GB, free: 41.82 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001547/1.41, allocations: 0.9194 MB / 1.302 GB, free: 41.47 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001833/1.412, allocations: 1.457 MB / 1.303 GB, free: 40.44 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003241/1.415, allocations: 2.554 MB / 1.305 GB, free: 38.84 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.225e-05/1.415, allocations: 7.281 kB / 1.305 GB, free: 38.84 MB / 0.9981 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.006583/1.422, allocations: 3.296 MB / 1.309 GB, free: 37.46 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.478e-05/1.422, allocations: 12.56 kB / 1.309 GB, free: 37.46 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.097e-05/1.422, allocations: 21.8 kB / 1.309 GB, free: 37.46 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002433/1.424, allocations: 0.7341 MB / 1.309 GB, free: 37.21 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001705/1.426, allocations: 383.6 kB / 1.31 GB, free: 37.18 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01432/1.44, allocations: 17.06 MB / 1.326 GB, free: 22.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00212/1.443, allocations: 98.86 kB / 1.327 GB, free: 22.47 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001772/1.443, allocations: 71.94 kB / 1.327 GB, free: 22.46 MB / 0.9981 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.002452/1.445, allocations: 1.31 MB / 1.328 GB, free: 21.86 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005783/1.446, allocations: 208.2 kB / 1.328 GB, free: 21.75 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004972/1.451, allocations: 2.791 MB / 1.331 GB, free: 20.09 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.877e-05/1.451, allocations: 13 kB / 1.331 GB, free: 20.09 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.487e-05/1.451, allocations: 10.91 kB / 1.331 GB, free: 20.09 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.253e-05/1.451, allocations: 7.969 kB / 1.331 GB, free: 20.08 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01017/1.461, allocations: 6.216 MB / 1.337 GB, free: 16.29 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.189e-05/1.461, allocations: 5.531 kB / 1.337 GB, free: 16.29 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001206/1.462, allocations: 233.6 kB / 1.337 GB, free: 16.22 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001883/1.464, allocations: 0.6645 MB / 1.338 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001066/1.464, allocations: 38.2 kB / 1.338 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01215/1.476, allocations: 16.79 MB / 1.354 GB, free: 256 kB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.454e-06/1.476, allocations: 7.812 kB / 1.354 GB, free: 256 kB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007905/1.484, allocations: 4.022 MB / 1.358 GB, free: 13.82 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001483/1.486, allocations: 469.5 kB / 1.359 GB, free: 13.47 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002728/1.486, allocations: 31.38 kB / 1.359 GB, free: 13.45 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009623/1.487, allocations: 86.05 kB / 1.359 GB, free: 13.4 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003698/1.488, allocations: 113.8 kB / 1.359 GB, free: 13.34 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.347e-05/1.488, allocations: 38.53 kB / 1.359 GB, free: 13.33 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001339/1.489, allocations: 0.9884 MB / 1.36 GB, free: 12.8 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.1e-07/1.489, allocations: 0 / 1.36 GB, free: 12.8 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.003076/1.492, allocations: 0.6867 MB / 1.361 GB, free: 12.75 MB / 1.014 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.0002876/1.492, allocations: 158.3 kB / 1.361 GB, free: 12.62 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.005602/1.498, allocations: 3.535 MB / 1.364 GB, free: 9.785 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 7.595e-06/1.498, allocations: 0 / 1.364 GB, free: 9.785 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.003441/1.501, allocations: 2.296 MB / 1.366 GB, free: 7.375 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004411/1.506, allocations: 0.6632 MB / 1.367 GB, free: 6.746 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01554/1.521, allocations: 6.563 MB / 1.373 GB, free: 104 kB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004528/1.526, allocations: 2.66 MB / 1.376 GB, free: 13.41 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.002265/1.528, allocations: 497.4 kB / 1.377 GB, free: 12.92 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005172/1.529, allocations: 119.4 kB / 1.377 GB, free: 12.8 MB / 1.029 GB Notification: Performance of SimCode: time 1.122e-06/1.529, allocations: 0 / 1.377 GB, free: 12.8 MB / 1.029 GB Notification: Performance of Templates: time 0.06696/1.596, allocations: 34.14 MB / 1.41 GB, free: 11.19 MB / 1.061 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=480 -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