Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.007671/0.007671, allocations: 101.7 kB / 15.73 MB, free: 5.59 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.001686/0.001686, allocations: 191.7 kB / 16.67 MB, free: 5.523 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.357/1.357, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.761/2.761, allocations: 461.9 MB / 0.7348 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 67.89 kB / 1.054 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7787/0.78, allocations: 157.4 MB / 1.208 GB, free: 13.67 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.0314/0.8114, allocations: 26.67 MB / 1.234 GB, free: 2.918 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01418/0.8256, allocations: 8.071 MB / 1.242 GB, free: 10.82 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002481/0.8281, allocations: 115.4 kB / 1.242 GB, free: 10.71 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.007437/0.8356, allocations: 2.763 MB / 1.244 GB, free: 7.941 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.004912/0.8406, allocations: 1.586 MB / 1.246 GB, free: 6.348 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.004681/0.8453, allocations: 1.675 MB / 1.248 GB, free: 4.676 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.007419/0.8527, allocations: 6.146 MB / 1.254 GB, free: 14.51 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0102/0.8629, allocations: 7.311 MB / 1.261 GB, free: 7.094 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005756/0.8687, allocations: 2.621 MB / 1.263 GB, free: 4.465 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005498/0.8743, allocations: 2.835 MB / 1.266 GB, free: 1.621 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.001705/0.876, allocations: 0.5078 MB / 1.267 GB, free: 1.113 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003937/0.88, allocations: 1.283 MB / 1.268 GB, free: 15.83 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.003547/0.8835, allocations: 2.051 MB / 1.27 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.005988/0.8895, allocations: 2.377 MB / 1.272 GB, free: 11.39 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01111/0.9007, allocations: 8.053 MB / 1.28 GB, free: 3.312 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.9007, allocations: 0 / 1.28 GB, free: 3.312 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.617e-06/0.9007, allocations: 0 / 1.28 GB, free: 3.312 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0002601/0.901, allocations: 3.938 kB / 1.28 GB, free: 3.309 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.01108/0.9121, allocations: 4.228 MB / 1.284 GB, free: 15.02 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.9122, allocations: 8.031 kB / 1.284 GB, free: 15.01 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004895/0.9171, allocations: 0.8078 MB / 1.285 GB, free: 14.2 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005997/0.9231, allocations: 2.569 MB / 1.287 GB, free: 11.57 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002903/0.9234, allocations: 279.6 kB / 1.288 GB, free: 11.3 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001661/0.9251, allocations: 376.6 kB / 1.288 GB, free: 10.93 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01451/0.9396, allocations: 5.996 MB / 1.294 GB, free: 4.68 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001852/0.9398, allocations: 23.77 kB / 1.294 GB, free: 4.656 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001294/0.9412, allocations: 156 kB / 1.294 GB, free: 4.504 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007273/0.9419, allocations: 282.9 kB / 1.294 GB, free: 4.227 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00981/0.9517, allocations: 4.52 MB / 1.299 GB, free: 15.7 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03414/0.9859, allocations: 27.46 MB / 1.326 GB, free: 1.734 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00167/0.9876, allocations: 1.123 MB / 1.327 GB, free: 0.6016 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001362/0.989, allocations: 1.015 MB / 1.328 GB, free: 15.59 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 8.54e-05/0.9891, allocations: 13 kB / 1.328 GB, free: 15.57 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.426e-05/0.9891, allocations: 43.56 kB / 1.328 GB, free: 15.52 MB / 1.061 GB Notification: Performance of pre-optimization done (n=110): time 2.815e-06/0.9892, allocations: 0 / 1.328 GB, free: 15.52 MB / 1.061 GB Notification: Performance of matching and sorting (n=131): time 0.02278/1.012, allocations: 9.669 MB / 1.337 GB, free: 5.637 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.73e-05/1.012, allocations: 68.72 kB / 1.337 GB, free: 5.559 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002689/1.015, allocations: 1.506 MB / 1.339 GB, free: 4.055 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0001588/1.015, allocations: 49.7 kB / 1.339 GB, free: 4 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.001346/1.016, allocations: 1.663 MB / 1.34 GB, free: 2.312 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005247/1.017, allocations: 469.3 kB / 1.341 GB, free: 1.848 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000654/1.017, allocations: 331.2 kB / 1.341 GB, free: 1.52 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001062/1.018, allocations: 305.1 kB / 1.341 GB, free: 1.219 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001405/1.019, allocations: 0.9174 MB / 1.342 GB, free: 308 kB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001739/1.021, allocations: 1.459 MB / 1.344 GB, free: 14.6 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003382/1.024, allocations: 2.55 MB / 1.346 GB, free: 11.8 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.337e-05/1.024, allocations: 4 kB / 1.346 GB, free: 11.8 MB / 1.076 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.006032/1.03, allocations: 3.286 MB / 1.35 GB, free: 8.477 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.562e-05/1.03, allocations: 13.88 kB / 1.35 GB, free: 8.465 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.824e-05/1.03, allocations: 24.11 kB / 1.35 GB, free: 8.441 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002321/1.033, allocations: 0.7334 MB / 1.35 GB, free: 7.68 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001489/1.034, allocations: 391.3 kB / 1.351 GB, free: 7.297 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02096/1.055, allocations: 17.03 MB / 1.367 GB, free: 5.004 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002357/1.058, allocations: 103.9 kB / 1.367 GB, free: 4.902 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003442/1.058, allocations: 72 kB / 1.367 GB, free: 4.832 MB / 1.092 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.003142/1.061, allocations: 1.313 MB / 1.369 GB, free: 3.508 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006983/1.062, allocations: 205.6 kB / 1.369 GB, free: 3.305 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005426/1.067, allocations: 2.777 MB / 1.372 GB, free: 0.4922 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.419e-05/1.067, allocations: 16 kB / 1.372 GB, free: 488 kB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.35e-05/1.067, allocations: 8 kB / 1.372 GB, free: 480 kB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.412e-05/1.067, allocations: 7.969 kB / 1.372 GB, free: 472 kB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01446/1.082, allocations: 6.232 MB / 1.378 GB, free: 10.06 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.077e-05/1.082, allocations: 4 kB / 1.378 GB, free: 10.06 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001661/1.084, allocations: 235.6 kB / 1.378 GB, free: 9.828 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002935/1.086, allocations: 0.6678 MB / 1.379 GB, free: 9.133 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001675/1.087, allocations: 31.98 kB / 1.379 GB, free: 9.102 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01836/1.105, allocations: 16.78 MB / 1.395 GB, free: 7.059 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.004e-05/1.105, allocations: 11.94 kB / 1.395 GB, free: 7.047 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006471/1.112, allocations: 4.008 MB / 1.399 GB, free: 2.93 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001019/1.113, allocations: 458.5 kB / 1.399 GB, free: 2.461 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003857/1.113, allocations: 39.88 kB / 1.399 GB, free: 2.422 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001067/1.114, allocations: 79.89 kB / 1.4 GB, free: 2.344 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003093/1.114, allocations: 120.7 kB / 1.4 GB, free: 2.227 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001018/1.114, allocations: 40 kB / 1.4 GB, free: 2.188 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001606/1.116, allocations: 0.9903 MB / 1.401 GB, free: 1.207 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.1e-07/1.116, allocations: 0 / 1.401 GB, free: 1.207 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.002658/1.119, allocations: 0.6836 MB / 1.401 GB, free: 0.5234 MB / 1.123 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.000329/1.119, allocations: 155 kB / 1.401 GB, free: 368 kB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.005289/1.124, allocations: 3.522 MB / 1.405 GB, free: 12.71 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/1.124, allocations: 0 / 1.405 GB, free: 12.71 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.003216/1.128, allocations: 2.296 MB / 1.407 GB, free: 10.31 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002956/1.131, allocations: 0.6707 MB / 1.408 GB, free: 9.656 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01146/1.142, allocations: 6.44 MB / 1.414 GB, free: 3.137 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003269/1.145, allocations: 2.668 MB / 1.417 GB, free: 444 kB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.00151/1.147, allocations: 493.5 kB / 1.417 GB, free: 15.95 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003798/1.147, allocations: 115.4 kB / 1.417 GB, free: 15.83 MB / 1.154 GB Notification: Performance of SimCode: time 8.22e-07/1.147, allocations: 0 / 1.417 GB, free: 15.83 MB / 1.154 GB Notification: Performance of Templates: time 0.05917/1.207, allocations: 34.16 MB / 1.451 GB, free: 14.19 MB / 1.186 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches