Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.terminal.phase.1..v.1.|R2.terminal.phase.1..v.1.|R3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|R1.load1.i.1.|R2.load1.i.1.|R3.load1.i.1.|sc_load.load1.i.1.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.terminal.phase.1..v.1.|R2.terminal.phase.1..v.1.|R3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|R1.load1.i.1.|R2.load1.i.1.|R3.load1.i.1.|sc_load.load1.i.1.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001478/0.001484, allocations: 100.3 kB / 16.35 MB, free: 5.828 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.001646/0.001647, allocations: 194.5 kB / 17.29 MB, free: 5.484 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.387/1.387, allocations: 222.9 MB / 241 MB, free: 4.172 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.651/2.651, allocations: 437.1 MB / 0.7112 GB, free: 4.934 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001332/0.001332, allocations: 59.91 kB / 0.8707 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8191/0.8205, allocations: 151.6 MB / 1.019 GB, free: 2.363 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.03981/0.8603, allocations: 35.11 MB / 1.053 GB, free: 15.12 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.01829/0.8786, allocations: 9.948 MB / 1.063 GB, free: 5.145 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004323/0.883, allocations: 147.3 kB / 1.063 GB, free: 5 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0103/0.8934, allocations: 3.808 MB / 1.067 GB, free: 1.184 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.007473/0.9009, allocations: 2.036 MB / 1.069 GB, free: 15.13 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.006114/0.907, allocations: 1.962 MB / 1.071 GB, free: 13.18 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.01143/0.9185, allocations: 7.971 MB / 1.078 GB, free: 5.188 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01343/0.9319, allocations: 9.524 MB / 1.088 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005801/0.9378, allocations: 3.381 MB / 1.091 GB, free: 8.156 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007169/0.945, allocations: 3.73 MB / 1.095 GB, free: 4.414 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.002335/0.9473, allocations: 0.6797 MB / 1.095 GB, free: 3.734 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005034/0.9524, allocations: 1.447 MB / 1.097 GB, free: 2.285 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.004875/0.9573, allocations: 2.616 MB / 1.099 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.009201/0.9665, allocations: 3.101 MB / 1.102 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.01473/0.9813, allocations: 10.38 MB / 1.112 GB, free: 2.145 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.214e-06/0.9813, allocations: 0 / 1.112 GB, free: 2.145 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.294e-06/0.9813, allocations: 0 / 1.112 GB, free: 2.145 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0003286/0.9816, allocations: 0 / 1.112 GB, free: 2.145 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.01507/0.9967, allocations: 5.405 MB / 1.118 GB, free: 12.66 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/0.9968, allocations: 12.03 kB / 1.118 GB, free: 12.65 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005794/1.003, allocations: 0.9588 MB / 1.119 GB, free: 11.69 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008956/1.012, allocations: 3.174 MB / 1.122 GB, free: 8.457 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004165/1.012, allocations: 357.9 kB / 1.122 GB, free: 8.105 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001973/1.014, allocations: 476.2 kB / 1.123 GB, free: 7.641 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02041/1.034, allocations: 7.906 MB / 1.13 GB, free: 15.37 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002318/1.035, allocations: 23.81 kB / 1.13 GB, free: 15.35 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001736/1.036, allocations: 208 kB / 1.13 GB, free: 15.14 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006586/1.037, allocations: 365.1 kB / 1.131 GB, free: 14.79 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01337/1.051, allocations: 5.937 MB / 1.137 GB, free: 8.832 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0458/1.096, allocations: 35.95 MB / 1.172 GB, free: 1.648 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003598/1.1, allocations: 2.146 MB / 1.174 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002139/1.102, allocations: 1.481 MB / 1.175 GB, free: 14 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001253/1.102, allocations: 17.31 kB / 1.175 GB, free: 13.98 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.892e-05/1.102, allocations: 55.81 kB / 1.175 GB, free: 13.92 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=157): time 3.657e-06/1.102, allocations: 0 / 1.175 GB, free: 13.92 MB / 0.9356 GB Notification: Performance of matching and sorting (n=160): time 0.01534/1.118, allocations: 7.532 MB / 1.183 GB, free: 6.117 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.554e-05/1.118, allocations: 76.59 kB / 1.183 GB, free: 6.031 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003239/1.121, allocations: 1.864 MB / 1.185 GB, free: 4.141 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.00019/1.121, allocations: 53.7 kB / 1.185 GB, free: 4.082 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.001449/1.123, allocations: 2.119 MB / 1.187 GB, free: 1.938 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005535/1.123, allocations: 0.5623 MB / 1.187 GB, free: 1.367 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006726/1.124, allocations: 399.8 kB / 1.188 GB, free: 0.9688 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001062/1.124, allocations: 305.1 kB / 1.188 GB, free: 0.668 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001633/1.126, allocations: 1.062 MB / 1.189 GB, free: 15.6 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002227/1.128, allocations: 1.764 MB / 1.191 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004139/1.132, allocations: 3.045 MB / 1.194 GB, free: 10.16 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-05/1.132, allocations: 12 kB / 1.194 GB, free: 10.15 MB / 0.9512 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.006745/1.139, allocations: 3.924 MB / 1.197 GB, free: 6.176 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.579e-05/1.139, allocations: 16 kB / 1.198 GB, free: 6.16 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.161e-05/1.139, allocations: 20 kB / 1.198 GB, free: 6.141 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002607/1.142, allocations: 0.9318 MB / 1.198 GB, free: 5.172 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001514/1.143, allocations: 431.2 kB / 1.199 GB, free: 4.75 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02052/1.164, allocations: 22.76 MB / 1.221 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002147/1.166, allocations: 123.9 kB / 1.221 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003521/1.166, allocations: 92.06 kB / 1.221 GB, free: 12.09 MB / 0.9825 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 (227): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,6,100.0%), (2,6,100.0%), (2,6,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.003196/1.169, allocations: 1.66 MB / 1.223 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006972/1.17, allocations: 249.1 kB / 1.223 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005665/1.176, allocations: 3.26 MB / 1.226 GB, free: 6.859 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.518e-05/1.176, allocations: 16 kB / 1.226 GB, free: 6.844 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-05/1.176, allocations: 12 kB / 1.226 GB, free: 6.832 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.399e-05/1.176, allocations: 11.97 kB / 1.226 GB, free: 6.82 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01335/1.189, allocations: 7.549 MB / 1.234 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.388e-06/1.189, allocations: 4 kB / 1.234 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00088/1.19, allocations: 223.6 kB / 1.234 GB, free: 14.89 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002296/1.193, allocations: 0.8845 MB / 1.235 GB, free: 13.97 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001284/1.193, allocations: 32 kB / 1.235 GB, free: 13.94 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.6538/1.846, allocations: 22.72 MB / 1.257 GB, free: 200.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.844e-06/1.846, allocations: 5.812 kB / 1.257 GB, free: 200.8 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006384/1.853, allocations: 3.378 MB / 1.26 GB, free: 199.9 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001583/1.854, allocations: 0.5294 MB / 1.261 GB, free: 199.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003119/1.855, allocations: 33.16 kB / 1.261 GB, free: 199.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00107/1.856, allocations: 90.3 kB / 1.261 GB, free: 199.7 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005153/1.856, allocations: 142 kB / 1.261 GB, free: 199.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001283/1.857, allocations: 46 kB / 1.261 GB, free: 199.6 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002223/1.859, allocations: 1.223 MB / 1.262 GB, free: 199.2 MB / 0.9981 GB Notification: Performance of sort global known variables: time 5.11e-07/1.859, allocations: 0 / 1.262 GB, free: 199.2 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003645/1.862, allocations: 0.9079 MB / 1.263 GB, free: 199.1 MB / 0.9981 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 (109): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(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%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002968/1.863, allocations: 164.2 kB / 1.263 GB, free: 199 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.007097/1.87, allocations: 4.433 MB / 1.268 GB, free: 196.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.015e-05/1.87, allocations: 2.094 kB / 1.268 GB, free: 196.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.004055/1.874, allocations: 2.996 MB / 1.271 GB, free: 194.6 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00344/1.877, allocations: 0.816 MB / 1.271 GB, free: 194.3 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01544/1.893, allocations: 7.583 MB / 1.279 GB, free: 191 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003587/1.896, allocations: 3.218 MB / 1.282 GB, free: 189.7 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001994/1.899, allocations: 0.5234 MB / 1.283 GB, free: 189.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003384/1.899, allocations: 138.1 kB / 1.283 GB, free: 189.6 MB / 0.9981 GB Notification: Performance of SimCode: time 1.283e-06/1.899, allocations: 0 / 1.283 GB, free: 189.6 MB / 0.9981 GB Notification: Performance of Templates: time 0.05997/1.959, allocations: 41 MB / 1.323 GB, free: 160.2 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches