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.008695/0.008695, allocations: 102.7 kB / 15.74 MB, free: 5.551 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.001757/0.001757, allocations: 194.6 kB / 16.67 MB, free: 5.48 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.458/1.458, allocations: 222.9 MB / 240.4 MB, free: 15.15 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.564/2.564, allocations: 437 MB / 0.7105 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 67.88 kB / 1.019 GB, free: 9.406 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.018/1.02, allocations: 151.6 MB / 1.167 GB, free: 3.836 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.02999/1.05, allocations: 26.67 MB / 1.193 GB, free: 9.078 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.01638/1.066, allocations: 8.075 MB / 1.201 GB, free: 0.9805 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004065/1.07, allocations: 115.4 kB / 1.201 GB, free: 0.8672 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.01042/1.081, allocations: 2.762 MB / 1.203 GB, free: 14.1 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.006727/1.087, allocations: 1.664 MB / 1.205 GB, free: 12.43 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.006321/1.094, allocations: 1.686 MB / 1.207 GB, free: 10.74 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.01015/1.104, allocations: 6.169 MB / 1.213 GB, free: 4.551 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01232/1.116, allocations: 7.3 MB / 1.22 GB, free: 13.15 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005698/1.122, allocations: 2.625 MB / 1.222 GB, free: 10.52 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00659/1.129, allocations: 2.823 MB / 1.225 GB, free: 7.688 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.001662/1.13, allocations: 0.5078 MB / 1.226 GB, free: 7.18 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004307/1.135, allocations: 1.287 MB / 1.227 GB, free: 5.891 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.003361/1.138, allocations: 2.05 MB / 1.229 GB, free: 3.836 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.004915/1.143, allocations: 2.385 MB / 1.231 GB, free: 1.441 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.01265/1.156, allocations: 8.068 MB / 1.239 GB, free: 9.352 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/1.156, allocations: 0 / 1.239 GB, free: 9.352 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.334e-06/1.156, allocations: 0 / 1.239 GB, free: 9.352 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 0.0002364/1.156, allocations: 3.984 kB / 1.239 GB, free: 9.348 MB / 0.9669 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.01342/1.169, allocations: 4.336 MB / 1.243 GB, free: 4.941 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.452e-05/1.169, allocations: 8.922 kB / 1.243 GB, free: 4.934 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007771/1.177, allocations: 0.8257 MB / 1.244 GB, free: 4.105 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007435/1.185, allocations: 2.586 MB / 1.247 GB, free: 1.465 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003115/1.185, allocations: 275.6 kB / 1.247 GB, free: 1.195 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001375/1.186, allocations: 376.6 kB / 1.247 GB, free: 0.8281 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0169/1.203, allocations: 5.988 MB / 1.253 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001631/1.204, allocations: 23.81 kB / 1.253 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006716/1.204, allocations: 160 kB / 1.253 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009829/1.205, allocations: 286.9 kB / 1.254 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01288/1.218, allocations: 4.52 MB / 1.258 GB, free: 5.598 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04296/1.261, allocations: 27.51 MB / 1.285 GB, free: 7.586 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002034/1.263, allocations: 1.127 MB / 1.286 GB, free: 6.453 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001476/1.265, allocations: 1.011 MB / 1.287 GB, free: 5.441 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 9.137e-05/1.265, allocations: 16.98 kB / 1.287 GB, free: 5.422 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.023e-05/1.265, allocations: 47.56 kB / 1.287 GB, free: 5.367 MB / 1.014 GB Notification: Performance of pre-optimization done (n=110): time 3.105e-06/1.265, allocations: 4 kB / 1.287 GB, free: 5.363 MB / 1.014 GB Notification: Performance of matching and sorting (n=131): time 0.02334/1.288, allocations: 9.718 MB / 1.296 GB, free: 11.43 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.027e-05/1.288, allocations: 68.66 kB / 1.297 GB, free: 11.36 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002604/1.291, allocations: 1.494 MB / 1.298 GB, free: 9.863 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0001497/1.291, allocations: 53.69 kB / 1.298 GB, free: 9.805 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.001399/1.293, allocations: 1.711 MB / 1.3 GB, free: 8.074 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004894/1.293, allocations: 0.4919 MB / 1.3 GB, free: 7.578 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006317/1.294, allocations: 331.4 kB / 1.301 GB, free: 7.246 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001723/1.294, allocations: 305.1 kB / 1.301 GB, free: 6.945 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00142/1.295, allocations: 0.9135 MB / 1.302 GB, free: 6.031 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001865/1.297, allocations: 1.467 MB / 1.303 GB, free: 4.328 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003549/1.301, allocations: 2.546 MB / 1.306 GB, free: 1.539 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.775e-05/1.301, allocations: 8 kB / 1.306 GB, free: 1.531 MB / 1.029 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.006615/1.307, allocations: 3.295 MB / 1.309 GB, free: 14.2 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 4.845e-05/1.307, allocations: 12 kB / 1.309 GB, free: 14.19 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.974e-05/1.308, allocations: 16 kB / 1.309 GB, free: 14.17 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002952/1.31, allocations: 0.7338 MB / 1.31 GB, free: 13.41 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001671/1.312, allocations: 383.4 kB / 1.31 GB, free: 13.04 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01968/1.332, allocations: 17.06 MB / 1.327 GB, free: 10.71 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002147/1.334, allocations: 108 kB / 1.327 GB, free: 10.61 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003992/1.334, allocations: 79.98 kB / 1.327 GB, free: 10.53 MB / 1.061 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.003132/1.338, allocations: 1.308 MB / 1.328 GB, free: 9.215 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006642/1.338, allocations: 214.7 kB / 1.328 GB, free: 9.004 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00578/1.344, allocations: 2.784 MB / 1.331 GB, free: 6.184 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.581e-05/1.344, allocations: 12 kB / 1.331 GB, free: 6.172 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.803e-05/1.344, allocations: 8 kB / 1.331 GB, free: 6.164 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.33e-05/1.344, allocations: 7.969 kB / 1.331 GB, free: 6.156 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01218/1.356, allocations: 6.229 MB / 1.337 GB, free: 15.77 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.281e-05/1.356, allocations: 8.125 kB / 1.337 GB, free: 15.76 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001223/1.358, allocations: 231.7 kB / 1.337 GB, free: 15.53 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002141/1.36, allocations: 0.6633 MB / 1.338 GB, free: 14.84 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001311/1.36, allocations: 36 kB / 1.338 GB, free: 14.8 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01682/1.377, allocations: 16.78 MB / 1.354 GB, free: 12.76 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.418e-06/1.377, allocations: 11.94 kB / 1.354 GB, free: 12.75 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006971/1.384, allocations: 4.009 MB / 1.358 GB, free: 8.633 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001409/1.385, allocations: 459.7 kB / 1.359 GB, free: 8.164 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007068/1.386, allocations: 47.86 kB / 1.359 GB, free: 8.117 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001311/1.387, allocations: 83.89 kB / 1.359 GB, free: 8.035 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000354/1.388, allocations: 108.9 kB / 1.359 GB, free: 7.926 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001117/1.388, allocations: 40 kB / 1.359 GB, free: 7.887 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.00183/1.39, allocations: 0.9981 MB / 1.36 GB, free: 6.898 MB / 1.092 GB Notification: Performance of sort global known variables: time 2.4e-07/1.39, allocations: 0 / 1.36 GB, free: 6.898 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.003323/1.393, allocations: 0.6836 MB / 1.361 GB, free: 6.215 MB / 1.092 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.0003457/1.393, allocations: 159 kB / 1.361 GB, free: 6.047 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.006562/1.4, allocations: 3.534 MB / 1.364 GB, free: 2.398 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 1.339e-05/1.4, allocations: 4.25 kB / 1.364 GB, free: 2.395 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.003827/1.404, allocations: 2.295 MB / 1.367 GB, free: 15.98 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004033/1.408, allocations: 0.664 MB / 1.367 GB, free: 15.33 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01428/1.422, allocations: 6.562 MB / 1.374 GB, free: 8.68 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003467/1.426, allocations: 2.668 MB / 1.376 GB, free: 5.98 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.001733/1.427, allocations: 489.4 kB / 1.377 GB, free: 5.5 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003078/1.428, allocations: 115.4 kB / 1.377 GB, free: 5.387 MB / 1.107 GB Notification: Performance of SimCode: time 3.146e-06/1.428, allocations: 0 / 1.377 GB, free: 5.387 MB / 1.107 GB Notification: Performance of Templates: time 0.06605/1.494, allocations: 34.15 MB / 1.41 GB, free: 3.727 MB / 1.139 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