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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001586/0.001587, allocations: 103.1 kB / 16.39 MB, free: 6.379 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.001715/0.001715, allocations: 192.5 kB / 17.33 MB, free: 5.848 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.534/1.534, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.83/2.83, allocations: 474.5 MB / 0.7477 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001921/0.001921, allocations: 63.89 kB / 1.073 GB, free: 7.23 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.758/0.7599, allocations: 160.3 MB / 1.229 GB, free: 10.99 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.03349/0.7934, allocations: 26.66 MB / 1.255 GB, free: 240 kB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01475/0.8082, allocations: 8.086 MB / 1.263 GB, free: 8.125 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002035/0.8103, allocations: 119.4 kB / 1.263 GB, free: 8.008 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.007062/0.8174, allocations: 2.787 MB / 1.266 GB, free: 5.215 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.00442/0.8218, allocations: 1.668 MB / 1.268 GB, free: 3.539 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.004316/0.8262, allocations: 1.675 MB / 1.269 GB, free: 1.863 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.008299/0.8345, allocations: 6.158 MB / 1.275 GB, free: 11.69 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01007/0.8446, allocations: 7.319 MB / 1.282 GB, free: 4.266 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005766/0.8504, allocations: 2.617 MB / 1.285 GB, free: 1.641 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005575/0.856, allocations: 2.839 MB / 1.288 GB, free: 14.79 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.001599/0.8577, allocations: 0.5078 MB / 1.288 GB, free: 14.29 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003539/0.8612, allocations: 1.283 MB / 1.289 GB, free: 13 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.003411/0.8646, allocations: 2.043 MB / 1.291 GB, free: 10.95 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.004743/0.8694, allocations: 2.385 MB / 1.294 GB, free: 8.559 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.01103/0.8805, allocations: 8.08 MB / 1.302 GB, free: 468 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.8805, allocations: 4 kB / 1.302 GB, free: 464 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.974e-06/0.8805, allocations: 0 / 1.302 GB, free: 464 kB / 1.014 GB Notification: Performance of Transformations before backend: time 0.000173/0.8807, allocations: 0 / 1.302 GB, free: 464 kB / 1.014 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.008887/0.8896, allocations: 4.336 MB / 1.306 GB, free: 12.04 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.8896, allocations: 8.031 kB / 1.306 GB, free: 12.04 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004396/0.8941, allocations: 0.8218 MB / 1.307 GB, free: 11.21 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005108/0.8992, allocations: 2.59 MB / 1.309 GB, free: 8.566 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002346/0.8994, allocations: 271.7 kB / 1.309 GB, free: 8.301 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007898/0.9002, allocations: 376.5 kB / 1.31 GB, free: 7.934 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0114/0.9116, allocations: 5.998 MB / 1.316 GB, free: 1.684 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.384e-05/0.9118, allocations: 15.88 kB / 1.316 GB, free: 1.668 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004101/0.9122, allocations: 156 kB / 1.316 GB, free: 1.516 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000629/0.9128, allocations: 290.9 kB / 1.316 GB, free: 1.23 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009505/0.9223, allocations: 4.512 MB / 1.321 GB, free: 12.71 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03282/0.9552, allocations: 27.51 MB / 1.347 GB, free: 14.7 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00184/0.9571, allocations: 1.123 MB / 1.348 GB, free: 13.57 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001481/0.9586, allocations: 1.015 MB / 1.349 GB, free: 12.56 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 8.12e-05/0.9587, allocations: 13 kB / 1.35 GB, free: 12.54 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.81e-05/0.9587, allocations: 47.55 kB / 1.35 GB, free: 12.49 MB / 1.076 GB Notification: Performance of pre-optimization done (n=110): time 2.705e-06/0.9587, allocations: 3.938 kB / 1.35 GB, free: 12.48 MB / 1.076 GB Notification: Performance of matching and sorting (n=131): time 0.02333/0.9821, allocations: 9.723 MB / 1.359 GB, free: 2.551 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.54e-05/0.9822, allocations: 64.72 kB / 1.359 GB, free: 2.477 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002246/0.9844, allocations: 1.49 MB / 1.361 GB, free: 0.9883 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.000206/0.9846, allocations: 53.7 kB / 1.361 GB, free: 0.9297 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.001416/0.9861, allocations: 1.715 MB / 1.362 GB, free: 15.19 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005802/0.9866, allocations: 495.7 kB / 1.363 GB, free: 14.7 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005999/0.9873, allocations: 331.4 kB / 1.363 GB, free: 14.37 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001423/0.9874, allocations: 308.9 kB / 1.363 GB, free: 14.07 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001529/0.9889, allocations: 0.9135 MB / 1.364 GB, free: 13.16 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002067/0.991, allocations: 1.467 MB / 1.366 GB, free: 11.45 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003715/0.9947, allocations: 2.55 MB / 1.368 GB, free: 8.652 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.369e-05/0.9948, allocations: 4 kB / 1.368 GB, free: 8.648 MB / 1.092 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.006605/1.001, allocations: 3.306 MB / 1.371 GB, free: 5.305 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 3.266e-05/1.001, allocations: 12 kB / 1.371 GB, free: 5.293 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.841e-05/1.001, allocations: 16 kB / 1.371 GB, free: 5.277 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002482/1.004, allocations: 0.7374 MB / 1.372 GB, free: 4.512 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001677/1.006, allocations: 383.4 kB / 1.373 GB, free: 4.137 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01961/1.025, allocations: 17.04 MB / 1.389 GB, free: 1.832 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001866/1.027, allocations: 99.91 kB / 1.389 GB, free: 1.734 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001793/1.027, allocations: 76 kB / 1.389 GB, free: 1.66 MB / 1.107 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.002794/1.03, allocations: 1.31 MB / 1.391 GB, free: 352 kB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004573/1.031, allocations: 210.7 kB / 1.391 GB, free: 140 kB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005678/1.036, allocations: 2.792 MB / 1.394 GB, free: 13.3 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.76e-05/1.036, allocations: 12 kB / 1.394 GB, free: 13.29 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.226e-05/1.036, allocations: 8.188 kB / 1.394 GB, free: 13.28 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.493e-05/1.036, allocations: 11.97 kB / 1.394 GB, free: 13.27 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01153/1.048, allocations: 6.22 MB / 1.4 GB, free: 6.887 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.095e-05/1.048, allocations: 4.656 kB / 1.4 GB, free: 6.883 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001213/1.049, allocations: 231.6 kB / 1.4 GB, free: 6.656 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002126/1.051, allocations: 0.6749 MB / 1.401 GB, free: 5.953 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001185/1.051, allocations: 32 kB / 1.401 GB, free: 5.922 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01818/1.07, allocations: 16.79 MB / 1.417 GB, free: 3.867 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.975e-06/1.07, allocations: 8 kB / 1.417 GB, free: 3.859 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006997/1.077, allocations: 4.021 MB / 1.421 GB, free: 15.73 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001062/1.078, allocations: 455.7 kB / 1.421 GB, free: 15.27 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002673/1.078, allocations: 43.92 kB / 1.421 GB, free: 15.22 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009534/1.079, allocations: 79.89 kB / 1.421 GB, free: 15.14 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003452/1.079, allocations: 116.7 kB / 1.422 GB, free: 15.03 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.356e-05/1.08, allocations: 40 kB / 1.422 GB, free: 14.99 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.001493/1.081, allocations: 0.9942 MB / 1.423 GB, free: 14 MB / 1.154 GB Notification: Performance of sort global known variables: time 2.3e-07/1.081, allocations: 4 kB / 1.423 GB, free: 14 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.002249/1.083, allocations: 0.6836 MB / 1.423 GB, free: 13.32 MB / 1.154 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.0002846/1.084, allocations: 158.9 kB / 1.423 GB, free: 13.15 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.006142/1.09, allocations: 3.526 MB / 1.427 GB, free: 9.508 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 9.468e-06/1.09, allocations: 0.875 kB / 1.427 GB, free: 9.508 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.003804/1.094, allocations: 2.303 MB / 1.429 GB, free: 7.09 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003446/1.097, allocations: 0.6718 MB / 1.43 GB, free: 6.438 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01199/1.109, allocations: 6.56 MB / 1.436 GB, free: 15.79 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003325/1.112, allocations: 2.668 MB / 1.439 GB, free: 13.09 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.001536/1.114, allocations: 489.4 kB / 1.439 GB, free: 12.61 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003633/1.114, allocations: 115.4 kB / 1.439 GB, free: 12.49 MB / 1.17 GB Notification: Performance of SimCode: time 5.01e-07/1.114, allocations: 0 / 1.439 GB, free: 12.49 MB / 1.17 GB Notification: Performance of Templates: time 0.06431/1.179, allocations: 34.28 MB / 1.473 GB, free: 10.7 MB / 1.201 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 -s gbode -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/jenkins1/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