Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.009058/0.009058, allocations: 98.25 kB / 15.73 MB, free: 6.012 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.002077/0.002077, allocations: 196 kB / 16.68 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.38/1.38, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.57/2.57, allocations: 469.8 MB / 0.7425 GB, free: 3.352 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001185/0.001185, allocations: 59.91 kB / 1.065 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7649/0.7661, allocations: 159.1 MB / 1.221 GB, free: 2.105 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.04191/0.808, allocations: 38.05 MB / 1.258 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.02151/0.8295, allocations: 11.01 MB / 1.269 GB, free: 0.8984 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004003/0.8335, allocations: 151.3 kB / 1.269 GB, free: 0.75 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.01153/0.845, allocations: 4.404 MB / 1.273 GB, free: 12.34 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.007012/0.852, allocations: 2.336 MB / 1.275 GB, free: 9.988 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006115/0.8582, allocations: 2.163 MB / 1.277 GB, free: 7.828 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01141/0.8696, allocations: 9.276 MB / 1.286 GB, free: 14.53 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01565/0.8852, allocations: 8.542 MB / 1.295 GB, free: 5.863 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007508/0.8927, allocations: 4.043 MB / 1.299 GB, free: 1.809 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007388/0.9001, allocations: 4.514 MB / 1.303 GB, free: 13.28 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.00283/0.903, allocations: 0.8203 MB / 1.304 GB, free: 12.46 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004851/0.9078, allocations: 1.588 MB / 1.305 GB, free: 10.87 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.005752/0.9136, allocations: 3.231 MB / 1.309 GB, free: 7.633 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.008783/0.9223, allocations: 3.657 MB / 1.312 GB, free: 3.961 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.01707/0.9394, allocations: 12.34 MB / 1.324 GB, free: 7.578 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 9.387e-06/0.9394, allocations: 4 kB / 1.324 GB, free: 7.574 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.204e-06/0.9394, allocations: 0 / 1.324 GB, free: 7.574 MB / 1.045 GB Notification: Performance of Transformations before backend: time 0.0004715/0.9399, allocations: 0 / 1.324 GB, free: 7.574 MB / 1.045 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.0184/0.9583, allocations: 6.471 MB / 1.331 GB, free: 1.023 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.159e-05/0.9583, allocations: 8.031 kB / 1.331 GB, free: 1.016 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006759/0.9651, allocations: 1.1 MB / 1.332 GB, free: 15.91 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007956/0.9731, allocations: 3.632 MB / 1.335 GB, free: 12.23 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003814/0.9734, allocations: 427.7 kB / 1.336 GB, free: 11.81 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002208/0.9756, allocations: 0.5355 MB / 1.336 GB, free: 11.27 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01964/0.9953, allocations: 9.376 MB / 1.345 GB, free: 1.566 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000152/0.9954, allocations: 19.83 kB / 1.345 GB, free: 1.547 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009293/0.9964, allocations: 248 kB / 1.346 GB, free: 1.305 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006372/0.997, allocations: 426.9 kB / 1.346 GB, free: 0.8867 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01395/1.011, allocations: 7.12 MB / 1.353 GB, free: 9.754 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04727/1.058, allocations: 41.08 MB / 1.393 GB, free: 12.95 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004756/1.063, allocations: 2.905 MB / 1.396 GB, free: 10.03 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002916/1.066, allocations: 1.953 MB / 1.398 GB, free: 8.082 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001199/1.066, allocations: 22 kB / 1.398 GB, free: 8.059 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.122e-05/1.066, allocations: 60.5 kB / 1.398 GB, free: 7.992 MB / 1.123 GB Notification: Performance of pre-optimization done (n=209): time 3.867e-06/1.066, allocations: 0 / 1.398 GB, free: 7.992 MB / 1.123 GB Notification: Performance of matching and sorting (n=212): time 0.02356/1.09, allocations: 10.58 MB / 1.408 GB, free: 13.32 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.883e-05/1.09, allocations: 77.41 kB / 1.408 GB, free: 13.23 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003452/1.093, allocations: 2.002 MB / 1.41 GB, free: 11.21 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0002479/1.093, allocations: 65.7 kB / 1.41 GB, free: 11.14 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.00165/1.095, allocations: 2.474 MB / 1.413 GB, free: 8.637 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007159/1.096, allocations: 0.7669 MB / 1.413 GB, free: 7.863 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008985/1.097, allocations: 481.5 kB / 1.414 GB, free: 7.387 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 9.754e-05/1.097, allocations: 301.1 kB / 1.414 GB, free: 7.09 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002017/1.099, allocations: 1.379 MB / 1.416 GB, free: 5.707 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002526/1.101, allocations: 2.108 MB / 1.418 GB, free: 3.285 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004883/1.106, allocations: 3.774 MB / 1.421 GB, free: 15.2 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.17e-05/1.106, allocations: 8 kB / 1.421 GB, free: 15.19 MB / 1.154 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.008232/1.114, allocations: 5.023 MB / 1.426 GB, free: 10.14 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 3.658e-05/1.114, allocations: 12 kB / 1.426 GB, free: 10.13 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.654e-05/1.114, allocations: 24 kB / 1.426 GB, free: 10.11 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003574/1.118, allocations: 1.587 MB / 1.428 GB, free: 8.516 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001703/1.12, allocations: 455.2 kB / 1.428 GB, free: 8.07 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02279/1.143, allocations: 18.58 MB / 1.446 GB, free: 4.934 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00255/1.145, allocations: 143.9 kB / 1.446 GB, free: 4.793 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004819/1.146, allocations: 116 kB / 1.447 GB, free: 4.68 MB / 1.17 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.003966/1.15, allocations: 1.938 MB / 1.448 GB, free: 2.73 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007637/1.15, allocations: 302.4 kB / 1.449 GB, free: 2.434 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007836/1.158, allocations: 4.408 MB / 1.453 GB, free: 13.99 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.469e-05/1.158, allocations: 20 kB / 1.453 GB, free: 13.97 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.835e-05/1.158, allocations: 16 kB / 1.453 GB, free: 13.96 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.322e-05/1.158, allocations: 11.91 kB / 1.453 GB, free: 13.95 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01937/1.178, allocations: 9.621 MB / 1.463 GB, free: 4.172 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.448e-05/1.178, allocations: 4 kB / 1.463 GB, free: 4.168 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001088/1.179, allocations: 231.6 kB / 1.463 GB, free: 3.941 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003505/1.182, allocations: 1.423 MB / 1.464 GB, free: 2.508 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002862/1.183, allocations: 47.94 kB / 1.464 GB, free: 2.461 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02265/1.205, allocations: 18.57 MB / 1.482 GB, free: 15.34 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.492e-06/1.205, allocations: 7.938 kB / 1.482 GB, free: 15.33 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007417/1.213, allocations: 4.503 MB / 1.487 GB, free: 10.73 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001479/1.214, allocations: 0.6475 MB / 1.487 GB, free: 10.07 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006542/1.215, allocations: 39.94 kB / 1.487 GB, free: 10.03 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001513/1.216, allocations: 119.8 kB / 1.487 GB, free: 9.91 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005572/1.217, allocations: 177.6 kB / 1.488 GB, free: 9.738 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001632/1.217, allocations: 64 kB / 1.488 GB, free: 9.676 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0021/1.219, allocations: 1.319 MB / 1.489 GB, free: 8.348 MB / 1.217 GB Notification: Performance of sort global known variables: time 9e-08/1.219, allocations: 0 / 1.489 GB, free: 8.348 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.003635/1.223, allocations: 1.137 MB / 1.49 GB, free: 7.211 MB / 1.217 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.0003811/1.223, allocations: 163 kB / 1.49 GB, free: 7.043 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.007452/1.231, allocations: 4.555 MB / 1.495 GB, free: 2.441 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 8.475e-06/1.231, allocations: 0 / 1.495 GB, free: 2.441 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.004526/1.235, allocations: 2.801 MB / 1.497 GB, free: 15.59 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00397/1.239, allocations: 0.8987 MB / 1.498 GB, free: 14.7 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01827/1.257, allocations: 9.431 MB / 1.508 GB, free: 5.176 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004625/1.262, allocations: 3.694 MB / 1.511 GB, free: 1.445 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.002031/1.264, allocations: 0.5518 MB / 1.512 GB, free: 0.8867 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004265/1.264, allocations: 151.4 kB / 1.512 GB, free: 0.7383 MB / 1.232 GB Notification: Performance of SimCode: time 1.132e-06/1.264, allocations: 4 kB / 1.512 GB, free: 0.7344 MB / 1.232 GB Notification: Performance of Templates: time 0.7157/1.98, allocations: 52.04 MB / 1.563 GB, free: 312.1 MB / 1.279 GB make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.makefile (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches