Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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 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_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.load1.i.1.|R1.load1.i.2.|R2.load1.i.1.|R2.load1.i.2.|R3.load1.i.1.|R3.load1.i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.load1.i.1.|R1.load1.i.2.|R2.load1.i.1.|R2.load1.i.2.|R3.load1.i.1.|R3.load1.i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008671/0.008671, allocations: 107.4 kB / 15.74 MB, free: 6.02 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.001914/0.001914, allocations: 193.4 kB / 16.67 MB, free: 5.934 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.489/1.489, allocations: 222.9 MB / 240.4 MB, free: 15.15 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.462/2.462, allocations: 437 MB / 0.7105 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001333/0.001333, allocations: 67.84 kB / 1.019 GB, free: 9.363 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.062/1.063, allocations: 151.6 MB / 1.167 GB, free: 4.004 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.04117/1.105, allocations: 33.34 MB / 1.199 GB, free: 2.539 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.02819/1.133, allocations: 14.81 MB / 1.214 GB, free: 3.688 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005254/1.138, allocations: 159.2 kB / 1.214 GB, free: 3.531 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.01126/1.15, allocations: 3.674 MB / 1.217 GB, free: 15.85 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.01211/1.162, allocations: 2.981 MB / 1.22 GB, free: 12.85 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.008047/1.17, allocations: 2.324 MB / 1.223 GB, free: 10.53 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0148/1.185, allocations: 8.835 MB / 1.231 GB, free: 1.668 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01715/1.202, allocations: 9.575 MB / 1.241 GB, free: 7.969 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008539/1.21, allocations: 4.024 MB / 1.244 GB, free: 3.934 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00785/1.218, allocations: 4.038 MB / 1.248 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.002801/1.221, allocations: 0.7148 MB / 1.249 GB, free: 15.17 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005451/1.227, allocations: 1.713 MB / 1.251 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.005399/1.232, allocations: 2.834 MB / 1.254 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.009371/1.241, allocations: 3.396 MB / 1.257 GB, free: 7.203 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.01801/1.259, allocations: 11.21 MB / 1.268 GB, free: 11.96 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.163e-06/1.259, allocations: 4 kB / 1.268 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.863e-06/1.259, allocations: 3.938 kB / 1.268 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0004454/1.26, allocations: 0 / 1.268 GB, free: 11.95 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.01943/1.279, allocations: 6.128 MB / 1.274 GB, free: 5.734 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.285e-05/1.279, allocations: 12.88 kB / 1.274 GB, free: 5.723 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008024/1.287, allocations: 1.164 MB / 1.275 GB, free: 4.555 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009046/1.297, allocations: 3.553 MB / 1.278 GB, free: 0.9258 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000515/1.297, allocations: 370.4 kB / 1.279 GB, free: 0.5625 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002935/1.3, allocations: 0.4922 MB / 1.279 GB, free: 72 kB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02477/1.325, allocations: 8.001 MB / 1.287 GB, free: 7.793 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001887/1.325, allocations: 15.89 kB / 1.287 GB, free: 7.777 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009616/1.326, allocations: 227.9 kB / 1.287 GB, free: 7.555 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001601/1.328, allocations: 433.6 kB / 1.288 GB, free: 7.129 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0179/1.346, allocations: 6.077 MB / 1.294 GB, free: 1.039 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05174/1.397, allocations: 34.96 MB / 1.328 GB, free: 10.91 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003496/1.401, allocations: 2.026 MB / 1.33 GB, free: 8.879 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002949/1.404, allocations: 1.869 MB / 1.332 GB, free: 7.012 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001677/1.404, allocations: 22 kB / 1.332 GB, free: 6.988 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.995e-05/1.404, allocations: 56.5 kB / 1.332 GB, free: 6.926 MB / 1.061 GB Notification: Performance of pre-optimization done (n=171): time 4.238e-06/1.404, allocations: 0 / 1.332 GB, free: 6.926 MB / 1.061 GB Notification: Performance of matching and sorting (n=276): time 0.2181/1.622, allocations: 38.97 MB / 1.37 GB, free: 15.85 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.627e-05/1.622, allocations: 89.5 kB / 1.37 GB, free: 15.75 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004038/1.626, allocations: 2.278 MB / 1.372 GB, free: 13.46 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0004478/1.627, allocations: 73.7 kB / 1.372 GB, free: 13.38 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.001709/1.629, allocations: 2.342 MB / 1.374 GB, free: 11.02 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.001197/1.63, allocations: 0.9837 MB / 1.375 GB, free: 10.02 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001374/1.631, allocations: 0.5063 MB / 1.376 GB, free: 9.508 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001385/1.631, allocations: 305.1 kB / 1.376 GB, free: 9.207 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003329/1.635, allocations: 1.977 MB / 1.378 GB, free: 7.227 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003862/1.639, allocations: 2.602 MB / 1.381 GB, free: 4.379 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007742/1.646, allocations: 4.925 MB / 1.385 GB, free: 15.18 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.099e-05/1.646, allocations: 7.984 kB / 1.385 GB, free: 15.17 MB / 1.123 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01693/1.663, allocations: 7.778 MB / 1.393 GB, free: 7.32 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 4.326e-05/1.664, allocations: 12 kB / 1.393 GB, free: 7.309 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.093e-05/1.664, allocations: 16 kB / 1.393 GB, free: 7.293 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009792/1.673, allocations: 3.215 MB / 1.396 GB, free: 4.062 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001777/1.675, allocations: 403.3 kB / 1.397 GB, free: 3.668 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04775/1.723, allocations: 33.9 MB / 1.43 GB, free: 0.9258 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00382/1.727, allocations: 155.8 kB / 1.43 GB, free: 0.7734 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005482/1.727, allocations: 108.4 kB / 1.43 GB, free: 0.668 MB / 1.154 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 (202): * Single equations (assignments): 196 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(10,28,71.0%), (10,28,65.0%), (6,24,77.8%), (6,24,77.8%), (5,17,84.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004018/1.731, allocations: 1.793 MB / 1.432 GB, free: 14.86 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001066/1.732, allocations: 345.9 kB / 1.432 GB, free: 14.52 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01532/1.748, allocations: 7.372 MB / 1.439 GB, free: 7.07 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.571e-05/1.748, allocations: 35.92 kB / 1.439 GB, free: 7.035 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001015/1.748, allocations: 28 kB / 1.439 GB, free: 7.008 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.69e-05/1.748, allocations: 19.94 kB / 1.439 GB, free: 6.988 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02696/1.775, allocations: 12.91 MB / 1.452 GB, free: 9.898 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-05/1.775, allocations: 7.938 kB / 1.452 GB, free: 9.891 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001083/1.776, allocations: 235.6 kB / 1.452 GB, free: 9.66 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009031/1.785, allocations: 2.849 MB / 1.455 GB, free: 6.793 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007012/1.786, allocations: 56 kB / 1.455 GB, free: 6.738 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05159/1.838, allocations: 32.7 MB / 1.487 GB, free: 5.18 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.257e-05/1.838, allocations: 12.31 kB / 1.487 GB, free: 5.168 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01537/1.853, allocations: 6.9 MB / 1.494 GB, free: 14.05 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003183/1.856, allocations: 0.7956 MB / 1.494 GB, free: 13.24 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001251/1.858, allocations: 52 kB / 1.494 GB, free: 13.19 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002778/1.861, allocations: 179.7 kB / 1.495 GB, free: 13.01 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001249/1.862, allocations: 253.5 kB / 1.495 GB, free: 12.76 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000335/1.862, allocations: 76 kB / 1.495 GB, free: 12.69 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.004184/1.866, allocations: 1.521 MB / 1.496 GB, free: 11.16 MB / 1.232 GB Notification: Performance of sort global known variables: time 7.31e-07/1.866, allocations: 0 / 1.496 GB, free: 11.16 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.008109/1.875, allocations: 1.367 MB / 1.498 GB, free: 9.797 MB / 1.232 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (105): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%), (5,17,92.0%), (6,24,77.8%), (10,28,65.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007653/1.875, allocations: 183 kB / 1.498 GB, free: 9.609 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.01481/1.89, allocations: 6.942 MB / 1.505 GB, free: 2.578 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-05/1.89, allocations: 4.375 kB / 1.505 GB, free: 2.574 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.009138/1.899, allocations: 4.425 MB / 1.509 GB, free: 14.07 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007474/1.907, allocations: 1.111 MB / 1.51 GB, free: 12.99 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0247/1.932, allocations: 10.24 MB / 1.52 GB, free: 2.664 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008155/1.94, allocations: 3.651 MB / 1.524 GB, free: 14.98 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.003125/1.943, allocations: 0.5595 MB / 1.524 GB, free: 14.42 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007256/1.944, allocations: 159.4 kB / 1.524 GB, free: 14.26 MB / 1.264 GB Notification: Performance of SimCode: time 5.079e-06/1.944, allocations: 0 / 1.524 GB, free: 14.26 MB / 1.264 GB Notification: Performance of Templates: time 0.8961/2.84, allocations: 76.12 MB / 1.599 GB, free: 332.8 MB / 1.279 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches