Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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_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_10_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_10_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.001549/0.001549, allocations: 111 kB / 16.41 MB, free: 6.461 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.001721/0.001721, allocations: 189.5 kB / 17.34 MB, free: 5.715 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.288/1.288, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.338/2.338, allocations: 437 MB / 0.7112 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 64.12 kB / 1.019 GB, free: 9.387 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7925/0.7937, allocations: 151.6 MB / 1.167 GB, free: 3.797 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.03424/0.828, allocations: 32.61 MB / 1.199 GB, free: 3.078 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.01673/0.8448, allocations: 10.28 MB / 1.209 GB, free: 8.77 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003359/0.8482, allocations: 147.2 kB / 1.209 GB, free: 8.625 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.009665/0.8579, allocations: 3.726 MB / 1.213 GB, free: 4.891 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.005855/0.8638, allocations: 1.948 MB / 1.215 GB, free: 2.934 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.00572/0.8695, allocations: 2.135 MB / 1.217 GB, free: 0.8008 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0108/0.8804, allocations: 7.337 MB / 1.224 GB, free: 9.441 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01696/0.8974, allocations: 9.431 MB / 1.233 GB, free: 15.89 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006284/0.9037, allocations: 3.229 MB / 1.237 GB, free: 12.66 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006738/0.9105, allocations: 3.47 MB / 1.24 GB, free: 9.176 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.002394/0.9129, allocations: 0.6445 MB / 1.241 GB, free: 8.531 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006304/0.9193, allocations: 1.779 MB / 1.242 GB, free: 6.75 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.004621/0.9239, allocations: 2.553 MB / 1.245 GB, free: 4.191 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.006534/0.9305, allocations: 2.894 MB / 1.248 GB, free: 1.285 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.01512/0.9456, allocations: 10.13 MB / 1.257 GB, free: 7.125 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.965e-06/0.9457, allocations: 0 / 1.257 GB, free: 7.125 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.934e-06/0.9457, allocations: 0 / 1.257 GB, free: 7.125 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 0.0003168/0.946, allocations: 0 / 1.257 GB, free: 7.125 MB / 0.9825 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.01338/0.9594, allocations: 5.116 MB / 1.262 GB, free: 1.93 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.879e-05/0.9595, allocations: 12.62 kB / 1.262 GB, free: 1.918 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006216/0.9657, allocations: 0.9813 MB / 1.263 GB, free: 0.9336 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007241/0.973, allocations: 3.059 MB / 1.266 GB, free: 13.82 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003958/0.9734, allocations: 349.7 kB / 1.267 GB, free: 13.47 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002095/0.9755, allocations: 464.3 kB / 1.267 GB, free: 13.02 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01942/0.995, allocations: 7.675 MB / 1.275 GB, free: 4.996 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002978/0.9953, allocations: 27.78 kB / 1.275 GB, free: 4.969 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001588/0.9969, allocations: 196 kB / 1.275 GB, free: 4.777 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004148/0.9973, allocations: 316.9 kB / 1.275 GB, free: 4.465 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0125/1.01, allocations: 5.706 MB / 1.281 GB, free: 14.74 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03926/1.049, allocations: 34.89 MB / 1.315 GB, free: 8.652 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002833/1.052, allocations: 2.154 MB / 1.317 GB, free: 6.383 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001688/1.054, allocations: 1.264 MB / 1.318 GB, free: 5.117 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001001/1.054, allocations: 17.31 kB / 1.318 GB, free: 5.102 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.957e-05/1.054, allocations: 51.86 kB / 1.318 GB, free: 5.043 MB / 1.045 GB Notification: Performance of pre-optimization done (n=133): time 3.216e-06/1.054, allocations: 0 / 1.318 GB, free: 5.043 MB / 1.045 GB Notification: Performance of matching and sorting (n=136): time 0.01369/1.068, allocations: 7.142 MB / 1.325 GB, free: 13.64 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.508e-05/1.068, allocations: 64.72 kB / 1.325 GB, free: 13.56 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002162/1.07, allocations: 1.488 MB / 1.327 GB, free: 12.03 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 9.014e-05/1.07, allocations: 49.7 kB / 1.327 GB, free: 11.97 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.00124/1.071, allocations: 2.065 MB / 1.329 GB, free: 9.887 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004151/1.072, allocations: 0.5035 MB / 1.329 GB, free: 9.379 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005199/1.072, allocations: 351.3 kB / 1.33 GB, free: 9.027 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 9.175e-05/1.072, allocations: 301.1 kB / 1.33 GB, free: 8.73 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001297/1.074, allocations: 0.9096 MB / 1.331 GB, free: 7.82 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001715/1.075, allocations: 1.605 MB / 1.332 GB, free: 5.906 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003177/1.078, allocations: 2.729 MB / 1.335 GB, free: 2.867 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.658e-05/1.078, allocations: 8 kB / 1.335 GB, free: 2.859 MB / 1.061 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.006011/1.085, allocations: 3.539 MB / 1.339 GB, free: 15.27 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.25e-05/1.085, allocations: 19.94 kB / 1.339 GB, free: 15.25 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.811e-05/1.085, allocations: 24.78 kB / 1.339 GB, free: 15.23 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002592/1.087, allocations: 0.9037 MB / 1.339 GB, free: 14.29 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001127/1.088, allocations: 347.4 kB / 1.34 GB, free: 13.95 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0197/1.108, allocations: 23.12 MB / 1.362 GB, free: 5.145 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001421/1.109, allocations: 107.9 kB / 1.362 GB, free: 5.039 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00013/1.11, allocations: 84 kB / 1.363 GB, free: 4.957 MB / 1.092 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 (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 {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (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.002343/1.112, allocations: 1.607 MB / 1.364 GB, free: 3.34 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003154/1.112, allocations: 218.6 kB / 1.364 GB, free: 3.125 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004905/1.117, allocations: 2.986 MB / 1.367 GB, free: 92 kB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.42e-05/1.117, allocations: 16.27 kB / 1.367 GB, free: 76 kB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.628e-05/1.117, allocations: 12 kB / 1.367 GB, free: 64 kB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.325e-05/1.117, allocations: 3.984 kB / 1.367 GB, free: 60 kB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01092/1.128, allocations: 7.348 MB / 1.374 GB, free: 8.469 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.358e-06/1.128, allocations: 4 kB / 1.374 GB, free: 8.465 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007451/1.129, allocations: 175.7 kB / 1.375 GB, free: 8.293 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002374/1.131, allocations: 0.8223 MB / 1.375 GB, free: 7.434 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.48e-05/1.131, allocations: 32 kB / 1.375 GB, free: 7.402 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01868/1.15, allocations: 21.96 MB / 1.397 GB, free: 15.76 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.753e-06/1.15, allocations: 8 kB / 1.397 GB, free: 15.75 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004904/1.155, allocations: 3.034 MB / 1.4 GB, free: 12.61 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008696/1.156, allocations: 467.6 kB / 1.4 GB, free: 12.13 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002272/1.156, allocations: 35.94 kB / 1.4 GB, free: 12.09 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007394/1.157, allocations: 67.92 kB / 1.4 GB, free: 12.03 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003405/1.157, allocations: 132.6 kB / 1.401 GB, free: 11.9 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.567e-05/1.157, allocations: 40 kB / 1.401 GB, free: 11.86 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.00124/1.159, allocations: 0.9756 MB / 1.402 GB, free: 10.86 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.7e-07/1.159, allocations: 0 / 1.402 GB, free: 10.86 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.002639/1.161, allocations: 0.7852 MB / 1.402 GB, free: 10.07 MB / 1.139 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 (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,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,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000248/1.162, allocations: 145.3 kB / 1.402 GB, free: 9.926 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.005456/1.167, allocations: 4.046 MB / 1.406 GB, free: 5.723 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 6.011e-06/1.167, allocations: 0 / 1.406 GB, free: 5.723 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.003586/1.171, allocations: 2.741 MB / 1.409 GB, free: 2.828 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002885/1.174, allocations: 0.7273 MB / 1.41 GB, free: 2.129 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01243/1.186, allocations: 7.874 MB / 1.417 GB, free: 10.15 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003225/1.189, allocations: 3.175 MB / 1.421 GB, free: 6.941 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005092/1.19, allocations: 127.4 kB / 1.421 GB, free: 6.816 MB / 1.154 GB Notification: Performance of SimCode: time 1.433e-06/1.19, allocations: 0 / 1.421 GB, free: 6.816 MB / 1.154 GB Notification: Performance of Templates: time 0.8878/2.078, allocations: 321.7 MB / 1.735 GB, free: 194.5 MB / 1.279 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches