Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.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_N,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_1.load1.i.1.|load_sc_1.load1.i.2.|load_sc_2.load1.i.1.|load_sc_2.load1.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,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_1.load1.i.1.|load_sc_1.load1.i.2.|load_sc_2.load1.i.1.|load_sc_2.load1.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001555/0.001555, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00172/0.00172, allocations: 192.6 kB / 16.25 MB, free: 6.625 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.395/1.395, allocations: 222.9 MB / 239.9 MB, free: 4.5 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.79/2.79, allocations: 461.9 MB / 0.7343 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001367/0.001366, allocations: 72.83 kB / 0.8986 GB, free: 37.17 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2986/0.3, allocations: 157.4 MB / 1.052 GB, free: 8.695 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02777/0.3278, allocations: 20.11 MB / 1.072 GB, free: 4.512 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.01259/0.3405, allocations: 6.383 MB / 1.078 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002157/0.3427, allocations: 79.56 kB / 1.078 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0057/0.3484, allocations: 2.107 MB / 1.08 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.003441/0.3519, allocations: 1.085 MB / 1.081 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.003694/0.3556, allocations: 1.169 MB / 1.082 GB, free: 9.668 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.006733/0.3623, allocations: 4.862 MB / 1.087 GB, free: 4.793 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01142/0.3738, allocations: 6.766 MB / 1.094 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0039/0.3777, allocations: 2.114 MB / 1.096 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00437/0.3821, allocations: 2.457 MB / 1.098 GB, free: 9.375 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.001401/0.3836, allocations: 428 kB / 1.099 GB, free: 8.957 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003129/0.3867, allocations: 1.006 MB / 1.1 GB, free: 7.949 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.002841/0.3896, allocations: 1.665 MB / 1.101 GB, free: 6.281 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.004282/0.3939, allocations: 1.918 MB / 1.103 GB, free: 4.355 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.008401/0.4023, allocations: 6.52 MB / 1.11 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.4023, allocations: 0 / 1.11 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.824e-06/0.4023, allocations: 4 kB / 1.11 GB, free: 13.81 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0001823/0.4025, allocations: 0 / 1.11 GB, free: 13.81 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.007803/0.4103, allocations: 3.459 MB / 1.113 GB, free: 10.29 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/0.4104, allocations: 8.625 kB / 1.113 GB, free: 10.28 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003497/0.4139, allocations: 0.6333 MB / 1.114 GB, free: 9.645 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003709/0.4176, allocations: 1.943 MB / 1.115 GB, free: 7.641 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001972/0.4178, allocations: 222.3 kB / 1.116 GB, free: 7.422 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005902/0.4184, allocations: 296.2 kB / 1.116 GB, free: 7.133 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00925/0.4277, allocations: 4.894 MB / 1.121 GB, free: 2.039 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.789e-05/0.4278, allocations: 7.938 kB / 1.121 GB, free: 2.031 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003063/0.4281, allocations: 124 kB / 1.121 GB, free: 1.91 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000416/0.4286, allocations: 233.7 kB / 1.121 GB, free: 1.68 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006367/0.4349, allocations: 3.75 MB / 1.125 GB, free: 13.92 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02158/0.4565, allocations: 21.57 MB / 1.146 GB, free: 6.355 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001736/0.4583, allocations: 1.318 MB / 1.147 GB, free: 5.027 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001357/0.4597, allocations: 1.046 MB / 1.148 GB, free: 3.984 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 6.583e-05/0.4597, allocations: 9 kB / 1.148 GB, free: 3.977 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.27e-05/0.4598, allocations: 47.56 kB / 1.148 GB, free: 3.922 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=107): time 2.435e-06/0.4598, allocations: 0 / 1.148 GB, free: 3.922 MB / 0.9044 GB Notification: Performance of matching and sorting (n=138): time 0.02362/0.4834, allocations: 8.657 MB / 1.157 GB, free: 11.21 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.117e-05/0.4835, allocations: 64.72 kB / 1.157 GB, free: 11.13 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001483/0.485, allocations: 1.13 MB / 1.158 GB, free: 9.996 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001292/0.4851, allocations: 49.7 kB / 1.158 GB, free: 9.941 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008324/0.486, allocations: 1.296 MB / 1.159 GB, free: 8.629 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004014/0.4864, allocations: 481.1 kB / 1.16 GB, free: 8.152 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004538/0.4868, allocations: 295.3 kB / 1.16 GB, free: 7.859 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 9.652e-05/0.4869, allocations: 309.1 kB / 1.16 GB, free: 7.555 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001227/0.4882, allocations: 0.9135 MB / 1.161 GB, free: 6.641 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001501/0.4897, allocations: 1.318 MB / 1.162 GB, free: 5.152 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002966/0.4926, allocations: 2.426 MB / 1.165 GB, free: 2.559 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.985e-06/0.4927, allocations: 4 kB / 1.165 GB, free: 2.555 MB / 0.92 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.006251/0.4989, allocations: 3.471 MB / 1.168 GB, free: 15.06 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.706e-05/0.499, allocations: 8 kB / 1.168 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.058e-05/0.499, allocations: 16 kB / 1.168 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003264/0.5023, allocations: 1.198 MB / 1.169 GB, free: 13.84 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009565/0.5033, allocations: 255.6 kB / 1.17 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01721/0.5205, allocations: 13.85 MB / 1.183 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001357/0.5219, allocations: 87.97 kB / 1.183 GB, free: 15.23 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001382/0.522, allocations: 72 kB / 1.183 GB, free: 15.16 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001879/0.5239, allocations: 1.118 MB / 1.184 GB, free: 14.03 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003165/0.5242, allocations: 158.1 kB / 1.184 GB, free: 13.88 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005636/0.5299, allocations: 3.177 MB / 1.188 GB, free: 10.67 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.659e-05/0.5299, allocations: 12 kB / 1.188 GB, free: 10.66 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.001e-05/0.5299, allocations: 15.94 kB / 1.188 GB, free: 10.64 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.426e-05/0.53, allocations: 3.984 kB / 1.188 GB, free: 10.64 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01063/0.5406, allocations: 6.253 MB / 1.194 GB, free: 4.25 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.009e-05/0.5407, allocations: 4 kB / 1.194 GB, free: 4.246 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006029/0.5413, allocations: 155.7 kB / 1.194 GB, free: 4.094 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002971/0.5443, allocations: 1.072 MB / 1.195 GB, free: 3.016 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001299/0.5444, allocations: 32 kB / 1.195 GB, free: 2.984 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01709/0.5615, allocations: 13.54 MB / 1.208 GB, free: 5.027 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.974e-06/0.5616, allocations: 7.938 kB / 1.208 GB, free: 5.02 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005654/0.5672, allocations: 3.146 MB / 1.211 GB, free: 1.793 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009075/0.5682, allocations: 423.1 kB / 1.212 GB, free: 1.359 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002337/0.5684, allocations: 39.84 kB / 1.212 GB, free: 1.32 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007799/0.5692, allocations: 79.89 kB / 1.212 GB, free: 1.242 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003837/0.5696, allocations: 132.6 kB / 1.212 GB, free: 1.113 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.654e-05/0.5697, allocations: 40 kB / 1.212 GB, free: 1.074 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001038/0.5707, allocations: 0.7632 MB / 1.213 GB, free: 316 kB / 0.9669 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5707, allocations: 0 / 1.213 GB, free: 316 kB / 0.9669 GB Notification: Performance of remove unused functions: time 0.002045/0.5728, allocations: 0.6641 MB / 1.213 GB, free: 15.64 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,25,88.0%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002498/0.573, allocations: 143.1 kB / 1.213 GB, free: 15.49 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.005851/0.5789, allocations: 3.634 MB / 1.217 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 9.618e-06/0.5789, allocations: 4 kB / 1.217 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.003016/0.582, allocations: 1.94 MB / 1.219 GB, free: 9.832 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002278/0.5843, allocations: 0.4973 MB / 1.219 GB, free: 9.348 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01029/0.5946, allocations: 6.738 MB / 1.226 GB, free: 2.531 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002407/0.597, allocations: 2.336 MB / 1.228 GB, free: 164 kB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.001261/0.5983, allocations: 358.2 kB / 1.229 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002281/0.5985, allocations: 91.42 kB / 1.229 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of SimCode: time 9.61e-07/0.5985, allocations: 0 / 1.229 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of Templates: time 0.6223/1.221, allocations: 32.83 MB / 1.261 GB, free: 173.9 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches