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.007448/0.007448, allocations: 103.2 kB / 15.73 MB, free: 6.004 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.001491/0.001491, allocations: 190.6 kB / 16.67 MB, free: 5.93 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.429/1.429, 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.329/2.329, allocations: 390.2 MB / 0.6648 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001549/0.001549, allocations: 67.89 kB / 0.9509 GB, free: 7.613 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.287/1.288, allocations: 140.4 MB / 1.088 GB, free: 5.496 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.05224/1.34, allocations: 37.95 MB / 1.125 GB, free: 11.89 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02721/1.368, allocations: 10.99 MB / 1.136 GB, free: 4.312 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007504/1.375, allocations: 160.7 kB / 1.136 GB, free: 4.262 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.01444/1.39, allocations: 4.373 MB / 1.14 GB, free: 1.609 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.01177/1.402, allocations: 2.331 MB / 1.142 GB, free: 152 kB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.009839/1.412, allocations: 2.162 MB / 1.145 GB, free: 14.92 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.01924/1.431, allocations: 9.299 MB / 1.154 GB, free: 10.7 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02853/1.459, allocations: 11.27 MB / 1.165 GB, free: 6.117 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01275/1.472, allocations: 4.045 MB / 1.169 GB, free: 4.242 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01314/1.485, allocations: 4.512 MB / 1.173 GB, free: 1.469 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.005405/1.491, allocations: 0.8224 MB / 1.174 GB, free: 1.469 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00991/1.501, allocations: 1.587 MB / 1.175 GB, free: 1.062 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.009371/1.51, allocations: 3.147 MB / 1.178 GB, free: 15.03 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.01562/1.526, allocations: 3.656 MB / 1.182 GB, free: 12.47 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.02699/1.553, allocations: 12.31 MB / 1.194 GB, free: 1.328 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 9.638e-06/1.553, allocations: 0 / 1.194 GB, free: 1.328 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.515e-06/1.553, allocations: 0 / 1.194 GB, free: 1.328 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0005482/1.553, allocations: 0 / 1.194 GB, free: 1.328 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.02529/1.579, allocations: 6.322 MB / 1.2 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 6.278e-05/1.579, allocations: 8.031 kB / 1.2 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00827/1.587, allocations: 1.071 MB / 1.201 GB, free: 9.848 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01073/1.598, allocations: 3.61 MB / 1.205 GB, free: 6.184 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007034/1.599, allocations: 423.7 kB / 1.205 GB, free: 5.77 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003334/1.602, allocations: 0.5394 MB / 1.206 GB, free: 5.23 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02786/1.63, allocations: 9.381 MB / 1.215 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000338/1.63, allocations: 23.77 kB / 1.215 GB, free: 11.49 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002422/1.633, allocations: 248 kB / 1.215 GB, free: 11.25 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008231/1.633, allocations: 422.9 kB / 1.216 GB, free: 10.84 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01894/1.652, allocations: 7.123 MB / 1.222 GB, free: 3.703 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06298/1.715, allocations: 41 MB / 1.263 GB, free: 6.961 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005413/1.721, allocations: 3.104 MB / 1.266 GB, free: 3.84 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003551/1.724, allocations: 2.153 MB / 1.268 GB, free: 1.695 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002285/1.725, allocations: 22 kB / 1.268 GB, free: 1.676 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.322e-05/1.725, allocations: 64.48 kB / 1.268 GB, free: 1.602 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=209): time 4.068e-06/1.725, allocations: 0 / 1.268 GB, free: 1.602 MB / 0.9981 GB Notification: Performance of matching and sorting (n=212): time 0.02675/1.752, allocations: 10.55 MB / 1.278 GB, free: 6.949 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.025e-05/1.752, allocations: 81.34 kB / 1.278 GB, free: 6.859 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004328/1.756, allocations: 2.002 MB / 1.28 GB, free: 4.84 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0003168/1.756, allocations: 65.64 kB / 1.28 GB, free: 4.77 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.001744/1.758, allocations: 2.412 MB / 1.282 GB, free: 2.324 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008644/1.759, allocations: 0.724 MB / 1.283 GB, free: 1.59 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001047/1.76, allocations: 477.2 kB / 1.284 GB, free: 1.117 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000125/1.76, allocations: 305.1 kB / 1.284 GB, free: 0.8164 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002184/1.762, allocations: 1.376 MB / 1.285 GB, free: 15.43 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002625/1.765, allocations: 2.104 MB / 1.287 GB, free: 13.01 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004989/1.77, allocations: 3.766 MB / 1.291 GB, free: 8.934 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.3e-05/1.77, allocations: 8 kB / 1.291 GB, free: 8.926 MB / 1.029 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.008477/1.779, allocations: 5.072 MB / 1.296 GB, free: 3.828 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.157e-05/1.779, allocations: 16 kB / 1.296 GB, free: 3.812 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.603e-05/1.779, allocations: 20 kB / 1.296 GB, free: 3.793 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003542/1.782, allocations: 1.592 MB / 1.298 GB, free: 2.191 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00169/1.784, allocations: 447.3 kB / 1.298 GB, free: 1.754 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02382/1.808, allocations: 18.57 MB / 1.316 GB, free: 14.62 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00287/1.811, allocations: 151.8 kB / 1.316 GB, free: 14.47 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005989/1.811, allocations: 112 kB / 1.316 GB, free: 14.36 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.004395/1.816, allocations: 1.933 MB / 1.318 GB, free: 12.41 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009516/1.817, allocations: 288.7 kB / 1.319 GB, free: 12.13 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007675/1.824, allocations: 4.462 MB / 1.323 GB, free: 7.637 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.785e-05/1.824, allocations: 20 kB / 1.323 GB, free: 7.617 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.228e-05/1.824, allocations: 24.06 kB / 1.323 GB, free: 7.594 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.098e-05/1.824, allocations: 11.95 kB / 1.323 GB, free: 7.582 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0157/1.84, allocations: 9.668 MB / 1.332 GB, free: 13.75 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.15e-05/1.84, allocations: 4 kB / 1.332 GB, free: 13.75 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009579/1.841, allocations: 231.6 kB / 1.333 GB, free: 13.52 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003314/1.844, allocations: 1.43 MB / 1.334 GB, free: 12.08 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00016/1.845, allocations: 40 kB / 1.334 GB, free: 12.04 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02256/1.867, allocations: 18.55 MB / 1.352 GB, free: 8.938 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.815e-06/1.867, allocations: 4.047 kB / 1.352 GB, free: 8.934 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007794/1.875, allocations: 4.548 MB / 1.357 GB, free: 4.301 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00186/1.877, allocations: 0.6303 MB / 1.357 GB, free: 3.648 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003546/1.877, allocations: 40 kB / 1.357 GB, free: 3.609 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001295/1.879, allocations: 115.9 kB / 1.357 GB, free: 3.496 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006391/1.879, allocations: 185.4 kB / 1.358 GB, free: 3.312 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001518/1.879, allocations: 60 kB / 1.358 GB, free: 3.254 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.002201/1.882, allocations: 1.319 MB / 1.359 GB, free: 1.926 MB / 1.092 GB Notification: Performance of sort global known variables: time 6.01e-07/1.882, allocations: 0 / 1.359 GB, free: 1.926 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.004155/1.886, allocations: 1.141 MB / 1.36 GB, free: 0.7852 MB / 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.0003474/1.886, allocations: 170.9 kB / 1.36 GB, free: 0.6094 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.00771/1.894, allocations: 4.719 MB / 1.365 GB, free: 11.84 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 7.845e-06/1.894, allocations: 0 / 1.365 GB, free: 11.84 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.004871/1.899, allocations: 2.926 MB / 1.368 GB, free: 8.863 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003821/1.903, allocations: 0.8849 MB / 1.369 GB, free: 7.992 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01759/1.92, allocations: 9.267 MB / 1.378 GB, free: 14.64 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004812/1.925, allocations: 3.694 MB / 1.381 GB, free: 10.91 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.002086/1.927, allocations: 0.5518 MB / 1.382 GB, free: 10.36 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004012/1.928, allocations: 147.4 kB / 1.382 GB, free: 10.21 MB / 1.123 GB Notification: Performance of SimCode: time 6.51e-07/1.928, allocations: 11.94 kB / 1.382 GB, free: 10.2 MB / 1.123 GB Notification: Performance of Templates: time 0.09594/2.024, allocations: 51.65 MB / 1.432 GB, free: 7.266 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