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.001724/0.001724, allocations: 111.8 kB / 16.41 MB, free: 6.488 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.001855/0.001855, allocations: 189.6 kB / 17.34 MB, free: 5.762 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.404/1.404, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.646/2.646, allocations: 461.9 MB / 0.7355 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001533/0.001534, allocations: 68.11 kB / 1.055 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8831/0.8847, allocations: 157.4 MB / 1.208 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.0292/0.9139, allocations: 26.66 MB / 1.234 GB, free: 2.91 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01507/0.929, allocations: 8.075 MB / 1.242 GB, free: 10.81 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0035/0.9326, allocations: 115.4 kB / 1.242 GB, free: 10.7 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.007831/0.9405, allocations: 2.753 MB / 1.245 GB, free: 7.938 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.005525/0.9461, allocations: 1.586 MB / 1.247 GB, free: 6.344 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.005189/0.9513, allocations: 1.679 MB / 1.248 GB, free: 4.668 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.008827/0.9601, allocations: 6.138 MB / 1.254 GB, free: 14.51 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01074/0.9709, allocations: 7.315 MB / 1.261 GB, free: 7.09 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005063/0.976, allocations: 2.613 MB / 1.264 GB, free: 4.469 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005676/0.9817, allocations: 2.835 MB / 1.267 GB, free: 1.625 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.001917/0.9837, allocations: 0.5078 MB / 1.267 GB, free: 1.117 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003804/0.9875, allocations: 1.291 MB / 1.269 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.003516/0.9911, allocations: 2.047 MB / 1.271 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.004514/0.9956, allocations: 2.381 MB / 1.273 GB, free: 11.38 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.008988/1.005, allocations: 8.053 MB / 1.281 GB, free: 3.309 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/1.005, allocations: 0 / 1.281 GB, free: 3.309 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.733e-06/1.005, allocations: 0 / 1.281 GB, free: 3.309 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.000247/1.005, allocations: 4 kB / 1.281 GB, free: 3.305 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.01101/1.016, allocations: 4.228 MB / 1.285 GB, free: 15.01 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/1.016, allocations: 12.03 kB / 1.285 GB, free: 15 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004974/1.021, allocations: 0.8039 MB / 1.286 GB, free: 14.19 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005175/1.026, allocations: 2.573 MB / 1.288 GB, free: 11.56 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001955/1.026, allocations: 279.6 kB / 1.288 GB, free: 11.29 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009035/1.027, allocations: 372.6 kB / 1.289 GB, free: 10.92 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01076/1.038, allocations: 5.996 MB / 1.295 GB, free: 4.672 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001279/1.038, allocations: 19.78 kB / 1.295 GB, free: 4.652 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006685/1.039, allocations: 156 kB / 1.295 GB, free: 4.5 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006726/1.04, allocations: 286.9 kB / 1.295 GB, free: 4.219 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008943/1.049, allocations: 4.52 MB / 1.3 GB, free: 15.69 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03401/1.083, allocations: 27.46 MB / 1.326 GB, free: 1.727 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001813/1.084, allocations: 1.125 MB / 1.327 GB, free: 0.5938 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001408/1.086, allocations: 1.011 MB / 1.328 GB, free: 15.58 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 8.268e-05/1.086, allocations: 13 kB / 1.328 GB, free: 15.57 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.585e-05/1.086, allocations: 47.5 kB / 1.328 GB, free: 15.52 MB / 1.061 GB Notification: Performance of pre-optimization done (n=110): time 2.946e-06/1.086, allocations: 0 / 1.328 GB, free: 15.52 MB / 1.061 GB Notification: Performance of matching and sorting (n=131): time 0.02259/1.109, allocations: 9.672 MB / 1.338 GB, free: 5.629 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.24e-05/1.109, allocations: 64.72 kB / 1.338 GB, free: 5.555 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002476/1.111, allocations: 1.502 MB / 1.339 GB, free: 4.055 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0001532/1.111, allocations: 49.7 kB / 1.339 GB, free: 4 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.001162/1.113, allocations: 1.663 MB / 1.341 GB, free: 2.312 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004651/1.113, allocations: 469.3 kB / 1.342 GB, free: 1.848 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000556/1.114, allocations: 331.2 kB / 1.342 GB, free: 1.52 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001099/1.114, allocations: 313 kB / 1.342 GB, free: 1.211 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001369/1.115, allocations: 0.9135 MB / 1.343 GB, free: 304 kB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001723/1.117, allocations: 1.459 MB / 1.344 GB, free: 14.6 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003279/1.12, allocations: 2.554 MB / 1.347 GB, free: 11.8 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.621e-05/1.12, allocations: 4 kB / 1.347 GB, free: 11.8 MB / 1.076 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.006012/1.126, allocations: 3.286 MB / 1.35 GB, free: 8.473 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.484e-05/1.126, allocations: 16.25 kB / 1.35 GB, free: 8.457 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.764e-05/1.126, allocations: 16 kB / 1.35 GB, free: 8.441 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002304/1.129, allocations: 0.7334 MB / 1.351 GB, free: 7.68 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001583/1.13, allocations: 387.4 kB / 1.351 GB, free: 7.301 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01676/1.147, allocations: 17.04 MB / 1.368 GB, free: 5 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001936/1.149, allocations: 107.9 kB / 1.368 GB, free: 4.895 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003467/1.149, allocations: 72 kB / 1.368 GB, free: 4.824 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.002805/1.152, allocations: 1.315 MB / 1.369 GB, free: 3.5 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006443/1.153, allocations: 201.6 kB / 1.37 GB, free: 3.301 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005546/1.158, allocations: 2.781 MB / 1.372 GB, free: 496 kB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.097e-05/1.158, allocations: 23.98 kB / 1.372 GB, free: 472 kB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.768e-05/1.158, allocations: 4 kB / 1.372 GB, free: 468 kB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.936e-05/1.158, allocations: 7.969 kB / 1.372 GB, free: 460 kB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01242/1.171, allocations: 6.228 MB / 1.378 GB, free: 10.05 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.494e-05/1.171, allocations: 4 kB / 1.378 GB, free: 10.05 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001223/1.172, allocations: 235.6 kB / 1.379 GB, free: 9.82 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002007/1.174, allocations: 0.6717 MB / 1.379 GB, free: 9.121 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001298/1.174, allocations: 28 kB / 1.379 GB, free: 9.094 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01617/1.191, allocations: 16.78 MB / 1.396 GB, free: 7.047 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.967e-06/1.191, allocations: 11.94 kB / 1.396 GB, free: 7.035 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006885/1.198, allocations: 4.004 MB / 1.4 GB, free: 2.922 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001172/1.199, allocations: 454.6 kB / 1.4 GB, free: 2.457 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005406/1.199, allocations: 39.92 kB / 1.4 GB, free: 2.418 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00127/1.201, allocations: 79.89 kB / 1.4 GB, free: 2.34 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003745/1.201, allocations: 120.7 kB / 1.4 GB, free: 2.223 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001071/1.201, allocations: 40 kB / 1.4 GB, free: 2.184 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001835/1.203, allocations: 0.9903 MB / 1.401 GB, free: 1.203 MB / 1.123 GB Notification: Performance of sort global known variables: time 4.51e-07/1.203, allocations: 0 / 1.401 GB, free: 1.203 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.002915/1.206, allocations: 0.6836 MB / 1.402 GB, free: 0.5195 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.0003543/1.206, allocations: 151.1 kB / 1.402 GB, free: 368 kB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.005813/1.212, allocations: 3.522 MB / 1.406 GB, free: 12.72 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 9.748e-06/1.212, allocations: 0 / 1.406 GB, free: 12.72 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.003417/1.215, allocations: 2.3 MB / 1.408 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.003798/1.219, allocations: 0.6736 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.01545/1.235, allocations: 6.947 MB / 1.415 GB, free: 2.617 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004884/1.24, allocations: 2.726 MB / 1.418 GB, free: 15.86 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007859/1.241, allocations: 131.4 kB / 1.418 GB, free: 15.73 MB / 1.154 GB Notification: Performance of SimCode: time 1.623e-06/1.241, allocations: 0 / 1.418 GB, free: 15.73 MB / 1.154 GB Notification: Performance of Templates: time 0.9401/2.181, allocations: 209.9 MB / 1.623 GB, free: 287.7 MB / 1.279 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/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