Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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,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_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,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_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007068/0.007068, allocations: 101.6 kB / 15.73 MB, free: 6.031 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.001459/0.001459, allocations: 197.2 kB / 16.67 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.4/1.4, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.782/2.782, allocations: 461.9 MB / 0.7347 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 64.12 kB / 1.054 GB, free: 7.152 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3317/0.3329, allocations: 157.4 MB / 1.208 GB, free: 9.645 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.03913/0.3721, allocations: 35.13 MB / 1.242 GB, free: 6.395 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.646/1.018, allocations: 9.935 MB / 1.252 GB, free: 12.18 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003915/1.022, allocations: 146.2 kB / 1.252 GB, free: 12.18 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.009423/1.032, allocations: 3.801 MB / 1.256 GB, free: 12.14 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.006203/1.038, allocations: 2.037 MB / 1.258 GB, free: 11.94 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005376/1.043, allocations: 1.959 MB / 1.259 GB, free: 11.81 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01187/1.055, allocations: 7.975 MB / 1.267 GB, free: 10.79 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01516/1.07, allocations: 9.517 MB / 1.277 GB, free: 9.004 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007823/1.078, allocations: 3.426 MB / 1.28 GB, free: 8.492 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009087/1.087, allocations: 3.735 MB / 1.284 GB, free: 7.641 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.003391/1.091, allocations: 0.678 MB / 1.284 GB, free: 7.641 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00585/1.097, allocations: 1.444 MB / 1.286 GB, free: 7.465 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.006017/1.103, allocations: 2.621 MB / 1.288 GB, free: 6.387 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.009038/1.112, allocations: 3.1 MB / 1.291 GB, free: 4.41 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01623/1.128, allocations: 10.38 MB / 1.301 GB, free: 1.293 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.271e-06/1.128, allocations: 0.9688 kB / 1.301 GB, free: 1.293 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.815e-06/1.128, allocations: 1.312 kB / 1.301 GB, free: 1.293 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0003129/1.128, allocations: 0 / 1.301 GB, free: 1.293 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: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.01675/1.145, allocations: 5.408 MB / 1.307 GB, free: 14.39 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/1.145, allocations: 14.28 kB / 1.307 GB, free: 14.38 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006012/1.151, allocations: 0.9646 MB / 1.308 GB, free: 14.09 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009021/1.16, allocations: 3.177 MB / 1.311 GB, free: 12.55 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004871/1.161, allocations: 355.5 kB / 1.311 GB, free: 12.39 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002151/1.163, allocations: 469.3 kB / 1.311 GB, free: 12.25 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02447/1.187, allocations: 7.911 MB / 1.319 GB, free: 7.395 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002102/1.188, allocations: 24.72 kB / 1.319 GB, free: 7.379 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001601/1.189, allocations: 212.7 kB / 1.319 GB, free: 7.23 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006177/1.19, allocations: 365 kB / 1.32 GB, free: 7.141 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01422/1.204, allocations: 5.937 MB / 1.326 GB, free: 4.078 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05119/1.255, allocations: 35.94 MB / 1.361 GB, free: 2.754 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003523/1.259, allocations: 2.148 MB / 1.363 GB, free: 1.641 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001991/1.261, allocations: 1.485 MB / 1.364 GB, free: 380 kB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 9.768e-05/1.261, allocations: 21.31 kB / 1.364 GB, free: 360 kB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.952e-05/1.261, allocations: 55.81 kB / 1.364 GB, free: 296 kB / 1.045 GB Notification: Performance of pre-optimization done (n=157): time 3.737e-06/1.261, allocations: 0 / 1.364 GB, free: 296 kB / 1.045 GB Notification: Performance of matching and sorting (n=160): time 0.01499/1.276, allocations: 7.53 MB / 1.372 GB, free: 8.484 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.301e-05/1.276, allocations: 68.72 kB / 1.372 GB, free: 8.406 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002574/1.279, allocations: 1.864 MB / 1.374 GB, free: 6.516 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0002434/1.279, allocations: 53.7 kB / 1.374 GB, free: 6.457 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.001373/1.281, allocations: 2.124 MB / 1.376 GB, free: 4.316 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006262/1.281, allocations: 0.5526 MB / 1.376 GB, free: 3.77 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006435/1.282, allocations: 407.7 kB / 1.377 GB, free: 3.363 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001042/1.282, allocations: 306.7 kB / 1.377 GB, free: 3.062 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001528/1.283, allocations: 1.058 MB / 1.378 GB, free: 2 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001993/1.285, allocations: 1.765 MB / 1.38 GB, free: 15.92 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003767/1.289, allocations: 3.048 MB / 1.383 GB, free: 12.57 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.713e-05/1.289, allocations: 8 kB / 1.383 GB, free: 12.56 MB / 1.076 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.006555/1.296, allocations: 3.924 MB / 1.386 GB, free: 8.586 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.837e-05/1.296, allocations: 21.66 kB / 1.386 GB, free: 8.566 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.105e-05/1.296, allocations: 24 kB / 1.387 GB, free: 8.543 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002454/1.298, allocations: 0.9268 MB / 1.387 GB, free: 7.582 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001613/1.3, allocations: 427.3 kB / 1.388 GB, free: 7.164 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0204/1.32, allocations: 22.76 MB / 1.41 GB, free: 14.75 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002526/1.323, allocations: 123.8 kB / 1.41 GB, free: 14.63 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002774/1.323, allocations: 96 kB / 1.41 GB, free: 14.54 MB / 1.107 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 (227): * Single equations (assignments): 215 * 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,6,100.0%), (2,6,100.0%), (2,6,100.0%), (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.003432/1.327, allocations: 1.648 MB / 1.412 GB, free: 12.88 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005925/1.327, allocations: 264.9 kB / 1.412 GB, free: 12.61 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00535/1.333, allocations: 3.256 MB / 1.415 GB, free: 9.309 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.466e-05/1.333, allocations: 16 kB / 1.415 GB, free: 9.293 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.056e-05/1.333, allocations: 12 kB / 1.415 GB, free: 9.281 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.594e-05/1.333, allocations: 7.969 kB / 1.415 GB, free: 9.273 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01326/1.346, allocations: 7.556 MB / 1.423 GB, free: 1.586 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.969e-06/1.346, allocations: 4 kB / 1.423 GB, free: 1.582 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009342/1.347, allocations: 211.7 kB / 1.423 GB, free: 1.375 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002308/1.349, allocations: 0.8987 MB / 1.424 GB, free: 452 kB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001376/1.35, allocations: 32 kB / 1.424 GB, free: 420 kB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02071/1.37, allocations: 22.73 MB / 1.446 GB, free: 8.031 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.314e-06/1.37, allocations: 11.94 kB / 1.446 GB, free: 8.02 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005922/1.376, allocations: 3.375 MB / 1.449 GB, free: 4.531 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001708/1.378, allocations: 0.5254 MB / 1.45 GB, free: 3.984 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004893/1.378, allocations: 35.91 kB / 1.45 GB, free: 3.949 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001243/1.38, allocations: 91.89 kB / 1.45 GB, free: 3.859 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004091/1.38, allocations: 141 kB / 1.45 GB, free: 3.723 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00012/1.38, allocations: 52.08 kB / 1.45 GB, free: 3.672 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.001735/1.382, allocations: 1.225 MB / 1.451 GB, free: 2.434 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.4e-07/1.382, allocations: 0 / 1.451 GB, free: 2.434 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.003238/1.385, allocations: 0.9062 MB / 1.452 GB, free: 1.527 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 (109): * Single equations (assignments): 97 * 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,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,2,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003104/1.386, allocations: 155 kB / 1.452 GB, free: 1.367 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.006492/1.392, allocations: 4.434 MB / 1.457 GB, free: 12.79 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 8.536e-06/1.392, allocations: 0 / 1.457 GB, free: 12.79 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.004197/1.396, allocations: 2.989 MB / 1.46 GB, free: 9.641 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003971/1.4, allocations: 0.8289 MB / 1.46 GB, free: 8.828 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01361/1.414, allocations: 7.586 MB / 1.468 GB, free: 1.164 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003356/1.417, allocations: 3.215 MB / 1.471 GB, free: 13.92 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.001739/1.419, allocations: 0.5293 MB / 1.472 GB, free: 13.38 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003766/1.419, allocations: 139.4 kB / 1.472 GB, free: 13.25 MB / 1.17 GB Notification: Performance of SimCode: time 7.92e-07/1.419, allocations: 0 / 1.472 GB, free: 13.25 MB / 1.17 GB Notification: Performance of Templates: time 0.07352/1.493, allocations: 42.3 MB / 1.513 GB, free: 3.699 MB / 1.201 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches