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.001277/0.001277, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001291/0.001291, allocations: 192.7 kB / 16.14 MB, free: 6.711 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.393/1.393, allocations: 222.9 MB / 239.8 MB, free: 4.637 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.866/2.866, allocations: 461.9 MB / 0.7342 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 63.78 kB / 0.8984 GB, free: 37.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3282/0.3295, allocations: 157.4 MB / 1.052 GB, free: 8.914 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.0306/0.3601, allocations: 26.44 MB / 1.078 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01646/0.3766, allocations: 8.075 MB / 1.086 GB, free: 6.285 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003403/0.3801, allocations: 107.4 kB / 1.086 GB, free: 6.18 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.007537/0.3877, allocations: 2.571 MB / 1.088 GB, free: 3.605 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.005839/0.3935, allocations: 1.489 MB / 1.09 GB, free: 2.109 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.005403/0.3989, allocations: 1.52 MB / 1.091 GB, free: 0.5898 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.012/0.411, allocations: 8.704 MB / 1.1 GB, free: 7.863 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01458/0.4256, allocations: 8.2 MB / 1.108 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005361/0.431, allocations: 2.183 MB / 1.11 GB, free: 13.38 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006773/0.4378, allocations: 2.889 MB / 1.113 GB, free: 10.48 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.002235/0.44, allocations: 344 kB / 1.113 GB, free: 10.14 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00502/0.4451, allocations: 1.334 MB / 1.114 GB, free: 8.809 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.00429/0.4494, allocations: 1.879 MB / 1.116 GB, free: 6.926 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.006045/0.4555, allocations: 2.178 MB / 1.118 GB, free: 4.738 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.01241/0.4679, allocations: 7.93 MB / 1.126 GB, free: 12.79 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 1.16e-05/0.468, allocations: 0 / 1.126 GB, free: 12.79 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.655e-06/0.468, allocations: 7.875 kB / 1.126 GB, free: 12.78 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.000395/0.4684, allocations: 0 / 1.126 GB, free: 12.78 MB / 0.8887 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.01313/0.4815, allocations: 4.224 MB / 1.13 GB, free: 8.488 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.869e-05/0.4816, allocations: 8.031 kB / 1.13 GB, free: 8.48 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00574/0.4874, allocations: 0.8078 MB / 1.131 GB, free: 7.668 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00665/0.494, allocations: 2.428 MB / 1.133 GB, free: 5.184 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003123/0.4944, allocations: 267.7 kB / 1.134 GB, free: 4.922 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001786/0.4962, allocations: 380.5 kB / 1.134 GB, free: 4.551 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01567/0.5119, allocations: 5.996 MB / 1.14 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001839/0.5121, allocations: 23.83 kB / 1.14 GB, free: 14.28 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001099/0.5132, allocations: 156 kB / 1.14 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006572/0.5139, allocations: 278.9 kB / 1.14 GB, free: 13.85 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01028/0.5242, allocations: 4.524 MB / 1.145 GB, free: 9.32 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0332/0.5574, allocations: 27.66 MB / 1.172 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001792/0.5592, allocations: 1.116 MB / 1.173 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001458/0.5607, allocations: 1.025 MB / 1.174 GB, free: 9.008 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 9.188e-05/0.5608, allocations: 9 kB / 1.174 GB, free: 9 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.02e-05/0.5609, allocations: 51.56 kB / 1.174 GB, free: 8.941 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=110): time 3.486e-06/0.5609, allocations: 0 / 1.174 GB, free: 8.941 MB / 0.9356 GB Notification: Performance of matching and sorting (n=131): time 0.02344/0.5843, allocations: 9.654 MB / 1.183 GB, free: 15.08 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.595e-05/0.5844, allocations: 64.72 kB / 1.183 GB, free: 15 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002462/0.5869, allocations: 1.494 MB / 1.185 GB, free: 13.51 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001501/0.587, allocations: 53.69 kB / 1.185 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.001225/0.5883, allocations: 1.671 MB / 1.187 GB, free: 11.76 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004549/0.5887, allocations: 465.4 kB / 1.187 GB, free: 11.3 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006034/0.5893, allocations: 335.1 kB / 1.187 GB, free: 10.96 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 9.82e-05/0.5894, allocations: 309.1 kB / 1.188 GB, free: 10.66 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001435/0.5909, allocations: 0.9135 MB / 1.189 GB, free: 9.746 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001943/0.5928, allocations: 1.459 MB / 1.19 GB, free: 8.047 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003571/0.5964, allocations: 2.554 MB / 1.192 GB, free: 5.25 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.149e-05/0.5965, allocations: 8 kB / 1.192 GB, free: 5.242 MB / 0.9512 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.006515/0.603, allocations: 3.282 MB / 1.196 GB, free: 1.922 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.709e-05/0.603, allocations: 12 kB / 1.196 GB, free: 1.91 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.437e-05/0.6031, allocations: 16 kB / 1.196 GB, free: 1.895 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002415/0.6055, allocations: 0.7419 MB / 1.196 GB, free: 1.125 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001606/0.6071, allocations: 383.4 kB / 1.197 GB, free: 0.75 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01616/0.6233, allocations: 15.77 MB / 1.212 GB, free: 15.78 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001608/0.625, allocations: 103.8 kB / 1.212 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003831/0.6254, allocations: 79.98 kB / 1.212 GB, free: 15.6 MB / 0.9825 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.002595/0.628, allocations: 1.311 MB / 1.214 GB, free: 14.28 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005285/0.6285, allocations: 197.7 kB / 1.214 GB, free: 14.08 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005568/0.6341, allocations: 2.788 MB / 1.217 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.435e-05/0.6341, allocations: 19.94 kB / 1.217 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.548e-05/0.6342, allocations: 11.94 kB / 1.217 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.256e-05/0.6342, allocations: 3.984 kB / 1.217 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01189/0.6461, allocations: 6.217 MB / 1.223 GB, free: 4.836 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.177e-05/0.6461, allocations: 8 kB / 1.223 GB, free: 4.828 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001193/0.6473, allocations: 227.6 kB / 1.223 GB, free: 4.605 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002163/0.6495, allocations: 0.6718 MB / 1.224 GB, free: 3.906 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001395/0.6497, allocations: 35.98 kB / 1.224 GB, free: 3.871 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01568/0.6653, allocations: 15.52 MB / 1.239 GB, free: 3.145 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.304e-05/0.6654, allocations: 8 kB / 1.239 GB, free: 3.137 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007517/0.6729, allocations: 4 MB / 1.243 GB, free: 15.03 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001306/0.6743, allocations: 462.5 kB / 1.243 GB, free: 14.55 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005406/0.6748, allocations: 31.98 kB / 1.243 GB, free: 14.52 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001229/0.6761, allocations: 83.89 kB / 1.243 GB, free: 14.44 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003885/0.6765, allocations: 112.7 kB / 1.243 GB, free: 14.33 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001142/0.6766, allocations: 43.94 kB / 1.243 GB, free: 14.29 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001836/0.6785, allocations: 0.9942 MB / 1.244 GB, free: 13.3 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.61e-07/0.6785, allocations: 0 / 1.244 GB, free: 13.3 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002633/0.6811, allocations: 0.6836 MB / 1.245 GB, free: 12.62 MB / 1.014 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.0002906/0.6814, allocations: 157.5 kB / 1.245 GB, free: 12.46 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.005348/0.6868, allocations: 3.5 MB / 1.249 GB, free: 8.844 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/0.6868, allocations: 0 / 1.249 GB, free: 8.844 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.003243/0.6901, allocations: 2.303 MB / 1.251 GB, free: 6.422 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003092/0.6932, allocations: 0.6178 MB / 1.251 GB, free: 5.809 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5909/1.284, allocations: 8.094 MB / 1.259 GB, free: 185.7 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002961/1.287, allocations: 2.669 MB / 1.262 GB, free: 184.9 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001687/1.289, allocations: 485.8 kB / 1.262 GB, free: 184.9 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003079/1.289, allocations: 118.7 kB / 1.262 GB, free: 184.9 MB / 1.014 GB Notification: Performance of SimCode: time 1.233e-06/1.289, allocations: 0 / 1.262 GB, free: 184.9 MB / 1.014 GB Notification: Performance of Templates: time 0.06771/1.357, allocations: 32.59 MB / 1.294 GB, free: 176.9 MB / 1.014 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