Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.load1.i.1.|R1.load1.i.2.|R2.load1.i.1.|R2.load1.i.2.|R3.load1.i.1.|R3.load1.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.load1.i.1.|R1.load1.i.2.|R2.load1.i.1.|R2.load1.i.2.|R3.load1.i.1.|R3.load1.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001019/0.001019, allocations: 96.78 kB / 15.36 MB, free: 0.7344 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.008013/0.008013, allocations: 169.7 kB / 16.27 MB, free: 6.652 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.459/1.459, allocations: 223.2 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.798/2.798, allocations: 462.6 MB / 0.7364 GB, free: 280 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003426/0.0003426, allocations: 13.28 kB / 0.9028 GB, free: 36.63 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3203/0.3206, allocations: 159.6 MB / 1.059 GB, free: 5.453 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.03354/0.3542, allocations: 29.73 MB / 1.088 GB, free: 7.621 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.02408/0.3783, allocations: 13.4 MB / 1.101 GB, free: 10.18 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004802/0.3832, allocations: 131.2 kB / 1.101 GB, free: 10.05 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0032/0.3864, allocations: 0.6551 MB / 1.102 GB, free: 9.395 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.01001/0.3964, allocations: 2.471 MB / 1.104 GB, free: 6.914 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.005744/0.4022, allocations: 1.703 MB / 1.106 GB, free: 5.211 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.01452/0.4168, allocations: 10.43 MB / 1.116 GB, free: 10.76 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01775/0.4346, allocations: 10.19 MB / 1.126 GB, free: 468 kB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005995/0.4406, allocations: 2.58 MB / 1.128 GB, free: 13.87 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005765/0.4464, allocations: 2.942 MB / 1.131 GB, free: 10.91 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.001454/0.4479, allocations: 244 kB / 1.131 GB, free: 10.68 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004246/0.4521, allocations: 1.384 MB / 1.133 GB, free: 9.289 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.00381/0.456, allocations: 1.917 MB / 1.135 GB, free: 7.367 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.004557/0.4606, allocations: 2.384 MB / 1.137 GB, free: 4.965 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.01108/0.4717, allocations: 9.025 MB / 1.146 GB, free: 11.91 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.4717, allocations: 0 / 1.146 GB, free: 11.91 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.264e-06/0.4718, allocations: 0 / 1.146 GB, free: 11.91 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0003274/0.4721, allocations: 0 / 1.146 GB, free: 11.91 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.0105/0.4826, allocations: 4.146 MB / 1.15 GB, free: 7.688 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.215e-05/0.4827, allocations: 12.03 kB / 1.15 GB, free: 7.676 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00681/0.4895, allocations: 0.998 MB / 1.151 GB, free: 6.672 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006129/0.4956, allocations: 2.9 MB / 1.154 GB, free: 3.691 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000253/0.4959, allocations: 312.8 kB / 1.154 GB, free: 3.383 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001192/0.4971, allocations: 424 kB / 1.154 GB, free: 2.969 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01379/0.5109, allocations: 6.784 MB / 1.161 GB, free: 11.89 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001361/0.5111, allocations: 23.77 kB / 1.161 GB, free: 11.87 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005092/0.5116, allocations: 188 kB / 1.161 GB, free: 11.68 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009282/0.5126, allocations: 372 kB / 1.162 GB, free: 11.32 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01129/0.5239, allocations: 5.11 MB / 1.167 GB, free: 6.188 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04024/0.5641, allocations: 30.8 MB / 1.197 GB, free: 4.621 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002246/0.5664, allocations: 1.387 MB / 1.198 GB, free: 3.223 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001679/0.5681, allocations: 1.328 MB / 1.199 GB, free: 1.898 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 7.879e-05/0.5682, allocations: 13.31 kB / 1.199 GB, free: 1.887 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.761e-05/0.5683, allocations: 51.88 kB / 1.199 GB, free: 1.828 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=130): time 2.956e-06/0.5683, allocations: 0 / 1.199 GB, free: 1.828 MB / 0.9512 GB Notification: Performance of matching and sorting (n=199): time 0.08933/0.6576, allocations: 22.81 MB / 1.222 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.83e-05/0.6578, allocations: 81.34 kB / 1.222 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003447/0.6612, allocations: 2.058 MB / 1.224 GB, free: 8.734 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0003241/0.6616, allocations: 61.7 kB / 1.224 GB, free: 8.668 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.001454/0.663, allocations: 2.006 MB / 1.226 GB, free: 6.637 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007372/0.6638, allocations: 0.6816 MB / 1.226 GB, free: 5.945 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003064/0.6641, allocations: 182.3 kB / 1.227 GB, free: 5.762 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001089/0.6642, allocations: 305.1 kB / 1.227 GB, free: 5.461 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002136/0.6663, allocations: 1.433 MB / 1.228 GB, free: 4.023 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002702/0.6691, allocations: 2.013 MB / 1.23 GB, free: 1.754 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005169/0.6742, allocations: 3.692 MB / 1.234 GB, free: 13.82 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.35e-05/0.6743, allocations: 8 kB / 1.234 GB, free: 13.81 MB / 0.9981 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01154/0.6858, allocations: 5.657 MB / 1.239 GB, free: 8.086 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.872e-05/0.6859, allocations: 12 kB / 1.239 GB, free: 8.074 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.975e-05/0.686, allocations: 16 kB / 1.239 GB, free: 8.059 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006917/0.6929, allocations: 2.084 MB / 1.241 GB, free: 5.922 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001732/0.6947, allocations: 375.4 kB / 1.242 GB, free: 5.555 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.7021/1.397, allocations: 35.54 MB / 1.276 GB, free: 151.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002819/1.4, allocations: 124.7 kB / 1.277 GB, free: 151.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003536/1.4, allocations: 91.05 kB / 1.277 GB, free: 151.6 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 (204): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,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%), (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 prepare postOptimizeDAE: time 0.003262/1.403, allocations: 1.511 MB / 1.278 GB, free: 151.4 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007868/1.404, allocations: 283.6 kB / 1.278 GB, free: 151.4 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01158/1.416, allocations: 5.212 MB / 1.283 GB, free: 149.4 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.269e-05/1.416, allocations: 19.28 kB / 1.283 GB, free: 149.4 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.327e-05/1.416, allocations: 17.88 kB / 1.284 GB, free: 149.4 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.554e-05/1.416, allocations: 10.7 kB / 1.284 GB, free: 149.4 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01813/1.434, allocations: 9.683 MB / 1.293 GB, free: 145.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.981e-05/1.434, allocations: 7.391 kB / 1.293 GB, free: 145.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000925/1.435, allocations: 218.3 kB / 1.293 GB, free: 145.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005595/1.441, allocations: 1.852 MB / 1.295 GB, free: 144.8 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002469/1.441, allocations: 39.44 kB / 1.295 GB, free: 144.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02904/1.47, allocations: 34.55 MB / 1.329 GB, free: 116.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.108e-05/1.47, allocations: 11.78 kB / 1.329 GB, free: 116.6 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009001/1.479, allocations: 4.911 MB / 1.334 GB, free: 113.6 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001327/1.48, allocations: 0.6221 MB / 1.334 GB, free: 113.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003145/1.481, allocations: 39.59 kB / 1.334 GB, free: 113.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001422/1.482, allocations: 129.7 kB / 1.334 GB, free: 113 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006705/1.483, allocations: 190.8 kB / 1.335 GB, free: 112.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001232/1.483, allocations: 54.28 kB / 1.335 GB, free: 112.9 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001886/1.485, allocations: 1.384 MB / 1.336 GB, free: 112.1 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/1.485, allocations: 0 / 1.336 GB, free: 112.1 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003992/1.489, allocations: 1.051 MB / 1.337 GB, free: 112.1 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 simulation (112): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003128/1.489, allocations: 169.8 kB / 1.337 GB, free: 111.9 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.008647/1.498, allocations: 6.276 MB / 1.343 GB, free: 107.6 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.091e-05/1.498, allocations: 3.797 kB / 1.343 GB, free: 107.6 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.006215/1.504, allocations: 4.405 MB / 1.348 GB, free: 104 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006596/1.511, allocations: 0.913 MB / 1.348 GB, free: 103.2 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01205/1.523, allocations: 10.05 MB / 1.358 GB, free: 93.05 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002691/1.526, allocations: 3.127 MB / 1.361 GB, free: 89.89 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001991/1.528, allocations: 0.5198 MB / 1.362 GB, free: 89.37 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003442/1.528, allocations: 159.4 kB / 1.362 GB, free: 89.21 MB / 0.9981 GB Notification: Performance of SimCode: time 9.72e-07/1.528, allocations: 0 / 1.362 GB, free: 89.21 MB / 0.9981 GB Notification: Performance of Templates: time 0.08556/1.613, allocations: 57.03 MB / 1.418 GB, free: 32.97 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches