Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|L1.terminal.phase.1..v.1.|L2.terminal.phase.1..v.1.|L3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|L1.load1.i.2.|L2.load1.i.2.|L3.load1.i.2.|sc_load.load1.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|L1.terminal.phase.1..v.1.|L2.terminal.phase.1..v.1.|L3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|L1.load1.i.2.|L2.load1.i.2.|L3.load1.i.2.|sc_load.load1.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001193/0.001193, allocations: 99.39 kB / 15.05 MB, free: 1.105 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.001462/0.001462, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.466/1.466, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.738/2.738, allocations: 436.5 MB / 0.7104 GB, free: 7.957 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003671/0.0003671, allocations: 8 kB / 0.8708 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8172/0.8176, allocations: 153.7 MB / 1.021 GB, free: 1.094 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.03043/0.8481, allocations: 28.68 MB / 1.049 GB, free: 4.336 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.01958/0.8677, allocations: 9.816 MB / 1.058 GB, free: 10.5 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003874/0.8716, allocations: 123.2 kB / 1.059 GB, free: 10.38 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.002907/0.8746, allocations: 0.625 MB / 1.059 GB, free: 9.746 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.006329/0.8809, allocations: 1.262 MB / 1.06 GB, free: 8.48 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.005439/0.8864, allocations: 1.298 MB / 1.062 GB, free: 7.184 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.008189/0.8946, allocations: 3.425 MB / 1.065 GB, free: 3.754 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01757/0.9122, allocations: 10.32 MB / 1.075 GB, free: 9.359 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004437/0.9167, allocations: 1.977 MB / 1.077 GB, free: 7.375 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004328/0.9211, allocations: 1.977 MB / 1.079 GB, free: 5.391 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.001331/0.9224, allocations: 268 kB / 1.079 GB, free: 5.129 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003207/0.9257, allocations: 0.7023 MB / 1.08 GB, free: 4.426 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.002947/0.9286, allocations: 1.871 MB / 1.082 GB, free: 2.551 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.001747/0.9304, allocations: 0.9524 MB / 1.083 GB, free: 1.59 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.01028/0.9407, allocations: 8.207 MB / 1.091 GB, free: 9.363 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.9407, allocations: 0 / 1.091 GB, free: 9.363 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.675e-06/0.9407, allocations: 0 / 1.091 GB, free: 9.363 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.0003636/0.9411, allocations: 0 / 1.091 GB, free: 9.363 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.01126/0.9524, allocations: 4.036 MB / 1.095 GB, free: 5.258 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.855e-05/0.9524, allocations: 11.98 kB / 1.095 GB, free: 5.246 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005683/0.9581, allocations: 0.9153 MB / 1.095 GB, free: 4.324 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007554/0.9657, allocations: 2.792 MB / 1.098 GB, free: 1.473 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003952/0.9662, allocations: 357.3 kB / 1.099 GB, free: 1.121 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00207/0.9682, allocations: 459.9 kB / 1.099 GB, free: 0.6719 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02001/0.9883, allocations: 7.596 MB / 1.106 GB, free: 8.727 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002959/0.9886, allocations: 23.78 kB / 1.106 GB, free: 8.703 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001443/0.9901, allocations: 196 kB / 1.107 GB, free: 8.512 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003791/0.9905, allocations: 316.9 kB / 1.107 GB, free: 8.199 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02016/1.011, allocations: 5.671 MB / 1.112 GB, free: 2.512 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04629/1.057, allocations: 35.14 MB / 1.147 GB, free: 12.17 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003151/1.06, allocations: 2.16 MB / 1.149 GB, free: 9.895 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001413/1.06, allocations: 13.31 kB / 1.149 GB, free: 9.883 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.849e-05/1.06, allocations: 51.81 kB / 1.149 GB, free: 9.824 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=133): time 2.936e-06/1.06, allocations: 0 / 1.149 GB, free: 9.824 MB / 0.9044 GB Notification: Performance of matching and sorting (n=136): time 0.0155/1.076, allocations: 7.069 MB / 1.156 GB, free: 2.48 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.882e-05/1.076, allocations: 68.67 kB / 1.156 GB, free: 2.402 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002703/1.079, allocations: 1.472 MB / 1.157 GB, free: 0.8828 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0001612/1.079, allocations: 45.7 kB / 1.157 GB, free: 0.832 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.001566/1.081, allocations: 2.004 MB / 1.159 GB, free: 14.8 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005232/1.081, allocations: 489 kB / 1.16 GB, free: 14.32 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001015/1.081, allocations: 40 kB / 1.16 GB, free: 14.28 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001905/1.081, allocations: 377.9 kB / 1.16 GB, free: 13.9 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001449/1.083, allocations: 0.9057 MB / 1.161 GB, free: 13 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001964/1.085, allocations: 1.585 MB / 1.163 GB, free: 11.11 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001791/1.087, allocations: 1.177 MB / 1.164 GB, free: 9.93 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.586e-05/1.087, allocations: 7.938 kB / 1.164 GB, free: 9.922 MB / 0.92 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.006211/1.093, allocations: 3.511 MB / 1.167 GB, free: 6.363 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.192e-05/1.093, allocations: 19.95 kB / 1.167 GB, free: 6.344 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.825e-05/1.093, allocations: 24 kB / 1.167 GB, free: 6.32 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002495/1.095, allocations: 0.8963 MB / 1.168 GB, free: 5.387 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001153/1.097, allocations: 347.4 kB / 1.168 GB, free: 5.047 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01789/1.114, allocations: 21.54 MB / 1.19 GB, free: 13.9 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001738/1.116, allocations: 103.9 kB / 1.19 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001353/1.116, allocations: 88 kB / 1.19 GB, free: 13.71 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (185): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(2,100.0%) 6,(2,100.0%) 6,(3,77.8%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003124/1.12, allocations: 1.606 MB / 1.191 GB, free: 12.09 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004199/1.12, allocations: 205.6 kB / 1.191 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004842/1.125, allocations: 2.982 MB / 1.194 GB, free: 8.859 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.226e-05/1.125, allocations: 12 kB / 1.194 GB, free: 8.848 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-05/1.125, allocations: 12 kB / 1.194 GB, free: 8.836 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.236e-05/1.125, allocations: 7.969 kB / 1.194 GB, free: 8.828 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01117/1.136, allocations: 7.321 MB / 1.202 GB, free: 1.27 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.33e-05/1.136, allocations: 12.11 kB / 1.202 GB, free: 1.258 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007627/1.137, allocations: 171.7 kB / 1.202 GB, free: 1.09 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00223/1.139, allocations: 0.814 MB / 1.203 GB, free: 244 kB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.313e-05/1.139, allocations: 32 kB / 1.203 GB, free: 212 kB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0184/1.158, allocations: 20.63 MB / 1.223 GB, free: 9.973 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.827e-06/1.158, allocations: 7.938 kB / 1.223 GB, free: 9.965 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008101/1.166, allocations: 3.302 MB / 1.226 GB, free: 6.383 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001791/1.168, allocations: 470.4 kB / 1.226 GB, free: 5.902 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005575/1.168, allocations: 28 kB / 1.226 GB, free: 5.875 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001386/1.17, allocations: 71.91 kB / 1.226 GB, free: 5.805 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004701/1.17, allocations: 120.7 kB / 1.227 GB, free: 5.688 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001304/1.17, allocations: 40 kB / 1.227 GB, free: 5.648 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.002002/1.172, allocations: 0.9638 MB / 1.228 GB, free: 4.66 MB / 0.9825 GB Notification: Performance of sort global known variables: time 4.31e-07/1.172, allocations: 0 / 1.228 GB, free: 4.66 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.004781/1.177, allocations: 0.7852 MB / 1.228 GB, free: 3.875 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 (91): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003845/1.177, allocations: 153 kB / 1.229 GB, free: 3.723 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.00822/1.186, allocations: 4 MB / 1.232 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.073e-05/1.186, allocations: 4 kB / 1.232 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.005533/1.191, allocations: 2.741 MB / 1.235 GB, free: 12.67 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004767/1.196, allocations: 0.6413 MB / 1.236 GB, free: 12.03 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02391/1.22, allocations: 8.721 MB / 1.244 GB, free: 3.223 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005315/1.225, allocations: 3.189 MB / 1.247 GB, free: 0 / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.6685/1.894, allocations: 454.2 kB / 1.248 GB, free: 203.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003826/1.894, allocations: 114.5 kB / 1.248 GB, free: 203.7 MB / 0.9981 GB Notification: Performance of SimCode: time 1.713e-06/1.894, allocations: 0 / 1.248 GB, free: 203.7 MB / 0.9981 GB Notification: Performance of Templates: time 0.08398/1.978, allocations: 33.13 MB / 1.28 GB, free: 195.3 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.csv","../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches