Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_N,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_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,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_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008664/0.008664, allocations: 98.02 kB / 15.73 MB, free: 6.062 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.002009/0.002009, allocations: 194.1 kB / 16.68 MB, free: 5.969 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.521/1.521, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.405/2.405, allocations: 390.2 MB / 0.6648 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 63.89 kB / 0.9509 GB, free: 7.629 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.134/1.135, allocations: 140.4 MB / 1.088 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.04857/1.184, allocations: 37.95 MB / 1.125 GB, free: 11.88 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02616/1.21, allocations: 10.99 MB / 1.136 GB, free: 4.312 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007043/1.217, allocations: 157.1 kB / 1.136 GB, free: 4.266 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.01341/1.23, allocations: 4.36 MB / 1.14 GB, free: 1.621 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.01074/1.241, allocations: 2.33 MB / 1.142 GB, free: 164 kB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.008749/1.25, allocations: 2.173 MB / 1.145 GB, free: 14.92 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.01858/1.269, allocations: 9.3 MB / 1.154 GB, free: 10.7 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02485/1.294, allocations: 11.27 MB / 1.165 GB, free: 6.125 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01188/1.305, allocations: 4.049 MB / 1.169 GB, free: 4.258 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01172/1.317, allocations: 4.511 MB / 1.173 GB, free: 1.484 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.004192/1.321, allocations: 0.8227 MB / 1.174 GB, free: 1.484 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008208/1.33, allocations: 1.591 MB / 1.175 GB, free: 1.074 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.008277/1.338, allocations: 3.147 MB / 1.178 GB, free: 15.04 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.01352/1.352, allocations: 3.656 MB / 1.182 GB, free: 12.48 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.02026/1.372, allocations: 12.34 MB / 1.194 GB, free: 1.312 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 8.195e-06/1.372, allocations: 0 / 1.194 GB, free: 1.312 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.555e-06/1.372, allocations: 0 / 1.194 GB, free: 1.312 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0004506/1.372, allocations: 0 / 1.194 GB, free: 1.312 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.01773/1.39, allocations: 6.471 MB / 1.2 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/1.39, allocations: 12.03 kB / 1.2 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005462/1.396, allocations: 1.102 MB / 1.201 GB, free: 9.641 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009319/1.405, allocations: 3.624 MB / 1.205 GB, free: 5.965 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000342/1.405, allocations: 423.8 kB / 1.205 GB, free: 5.551 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001814/1.407, allocations: 0.5471 MB / 1.206 GB, free: 5.004 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02815/1.435, allocations: 9.377 MB / 1.215 GB, free: 11.29 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001376/1.436, allocations: 23.8 kB / 1.215 GB, free: 11.27 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006477/1.436, allocations: 248 kB / 1.215 GB, free: 11.03 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006423/1.437, allocations: 414.9 kB / 1.216 GB, free: 10.62 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01647/1.453, allocations: 7.123 MB / 1.223 GB, free: 3.488 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05945/1.513, allocations: 41.08 MB / 1.263 GB, free: 6.676 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005122/1.518, allocations: 3.104 MB / 1.266 GB, free: 3.555 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003408/1.521, allocations: 2.153 MB / 1.268 GB, free: 1.41 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001516/1.522, allocations: 22 kB / 1.268 GB, free: 1.391 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.742e-05/1.522, allocations: 60.56 kB / 1.268 GB, free: 1.32 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=209): time 4.639e-06/1.522, allocations: 0 / 1.268 GB, free: 1.32 MB / 0.9981 GB Notification: Performance of matching and sorting (n=212): time 0.02598/1.548, allocations: 10.63 MB / 1.278 GB, free: 6.598 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.964e-05/1.548, allocations: 85.28 kB / 1.278 GB, free: 6.504 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003104/1.551, allocations: 2.006 MB / 1.28 GB, free: 4.48 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.000193/1.551, allocations: 61.7 kB / 1.281 GB, free: 4.414 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.001646/1.553, allocations: 2.478 MB / 1.283 GB, free: 1.91 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007375/1.554, allocations: 0.7669 MB / 1.284 GB, free: 1.137 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008454/1.554, allocations: 477.5 kB / 1.284 GB, free: 0.6641 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001234/1.555, allocations: 301.1 kB / 1.284 GB, free: 376 kB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002235/1.557, allocations: 1.376 MB / 1.286 GB, free: 14.98 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002903/1.56, allocations: 2.104 MB / 1.288 GB, free: 12.56 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005157/1.565, allocations: 3.77 MB / 1.292 GB, free: 8.48 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.694e-05/1.565, allocations: 12 kB / 1.292 GB, free: 8.469 MB / 1.029 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.008807/1.574, allocations: 5.085 MB / 1.296 GB, free: 3.359 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.084e-05/1.574, allocations: 12 kB / 1.296 GB, free: 3.348 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.87e-05/1.574, allocations: 24 kB / 1.297 GB, free: 3.324 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003648/1.577, allocations: 1.591 MB / 1.298 GB, free: 1.727 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001716/1.579, allocations: 455.2 kB / 1.298 GB, free: 1.281 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02478/1.604, allocations: 18.59 MB / 1.317 GB, free: 14.14 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002877/1.607, allocations: 147.9 kB / 1.317 GB, free: 13.99 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005311/1.607, allocations: 108 kB / 1.317 GB, free: 13.89 MB / 1.061 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 (231): * Single equations (assignments): 227 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(7,31,57.1%), (6,24,66.7%), (4,18,100.0%), (4,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004356/1.612, allocations: 1.937 MB / 1.319 GB, free: 11.94 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001016/1.613, allocations: 306.2 kB / 1.319 GB, free: 11.64 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008337/1.621, allocations: 4.462 MB / 1.323 GB, free: 7.145 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.256e-05/1.621, allocations: 24 kB / 1.323 GB, free: 7.121 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.574e-05/1.621, allocations: 16 kB / 1.323 GB, free: 7.105 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.139e-05/1.621, allocations: 7.969 kB / 1.323 GB, free: 7.098 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02147/1.643, allocations: 9.653 MB / 1.333 GB, free: 13.29 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.905e-05/1.643, allocations: 16.06 kB / 1.333 GB, free: 13.28 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0012/1.644, allocations: 231.7 kB / 1.333 GB, free: 13.05 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003545/1.648, allocations: 1.427 MB / 1.335 GB, free: 11.61 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000243/1.648, allocations: 36 kB / 1.335 GB, free: 11.58 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02452/1.672, allocations: 18.59 MB / 1.353 GB, free: 8.438 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.752e-06/1.673, allocations: 4 kB / 1.353 GB, free: 8.434 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008583/1.681, allocations: 4.558 MB / 1.357 GB, free: 3.793 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001979/1.683, allocations: 0.6475 MB / 1.358 GB, free: 3.125 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000823/1.684, allocations: 43.94 kB / 1.358 GB, free: 3.082 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001768/1.686, allocations: 115.9 kB / 1.358 GB, free: 2.969 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005776/1.686, allocations: 185.3 kB / 1.358 GB, free: 2.785 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001767/1.687, allocations: 64 kB / 1.358 GB, free: 2.723 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.002577/1.689, allocations: 1.311 MB / 1.359 GB, free: 1.402 MB / 1.092 GB Notification: Performance of sort global known variables: time 4.71e-07/1.689, allocations: 0 / 1.359 GB, free: 1.402 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.004804/1.694, allocations: 1.148 MB / 1.361 GB, free: 260 kB / 1.092 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 (107): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(4,18,100.0%), (6,24,66.7%), (4,18,100.0%), (6,32,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004532/1.694, allocations: 163 kB / 1.361 GB, free: 88 kB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.008317/1.703, allocations: 4.724 MB / 1.365 GB, free: 11.31 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 1.612e-05/1.703, allocations: 4 kB / 1.365 GB, free: 11.31 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.00522/1.708, allocations: 2.929 MB / 1.368 GB, free: 8.328 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005269/1.713, allocations: 0.8985 MB / 1.369 GB, free: 7.445 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0211/1.734, allocations: 9.427 MB / 1.378 GB, free: 13.93 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006796/1.741, allocations: 3.69 MB / 1.382 GB, free: 10.2 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.002619/1.744, allocations: 0.5595 MB / 1.382 GB, free: 9.637 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005891/1.745, allocations: 147.4 kB / 1.383 GB, free: 9.492 MB / 1.123 GB Notification: Performance of SimCode: time 1.042e-06/1.745, allocations: 0 / 1.383 GB, free: 9.492 MB / 1.123 GB Notification: Performance of Templates: time 0.09386/1.838, allocations: 51.65 MB / 1.433 GB, free: 6.555 MB / 1.17 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches