Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.ACLineMatrix_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rline_1.terminal_n.phase.1..i.1.|Rline_1.terminal_n.phase.1..i.2.|Rline_2a.terminal_n.phase.1..i.1.|Rline_2a.terminal_n.phase.1..i.2.|Rline_3a.terminal_n.phase.1..i.1.|Rline_3a.terminal_n.phase.1..i.2.|Rline_3b.terminal_n.phase.1..i.1.|Rline_3b.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rline_1.terminal_n.phase.1..i.1.|Rline_1.terminal_n.phase.1..i.2.|Rline_2a.terminal_n.phase.1..i.1.|Rline_2a.terminal_n.phase.1..i.2.|Rline_3a.terminal_n.phase.1..i.1.|Rline_3a.terminal_n.phase.1..i.2.|Rline_3b.terminal_n.phase.1..i.1.|Rline_3b.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001313/0.001313, allocations: 103.7 kB / 16.35 MB, free: 5.828 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.001335/0.001335, allocations: 189.4 kB / 17.29 MB, free: 5.484 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.367/1.367, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.218/2.218, allocations: 390.3 MB / 0.6655 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00161/0.001611, allocations: 66.78 kB / 0.814 GB, free: 32.7 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2629/0.2646, allocations: 140.4 MB / 0.9511 GB, free: 8.02 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.02542/0.29, allocations: 22.6 MB / 0.9732 GB, free: 1.34 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.01199/0.3021, allocations: 6.233 MB / 0.9793 GB, free: 11.09 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002391/0.3045, allocations: 95.5 kB / 0.9794 GB, free: 11 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.004361/0.3089, allocations: 1.551 MB / 0.9809 GB, free: 9.445 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.004833/0.3138, allocations: 1.626 MB / 0.9825 GB, free: 7.812 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.004945/0.3188, allocations: 1.337 MB / 0.9838 GB, free: 6.477 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.008784/0.3276, allocations: 5.931 MB / 0.9896 GB, free: 0.5273 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007787/0.3354, allocations: 6.048 MB / 0.9955 GB, free: 10.4 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004374/0.3398, allocations: 2.407 MB / 0.9978 GB, free: 7.984 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005017/0.3449, allocations: 2.874 MB / 1.001 GB, free: 5.102 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.001532/0.3465, allocations: 464 kB / 1.001 GB, free: 4.648 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003204/0.3497, allocations: 1.096 MB / 1.002 GB, free: 3.551 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.003071/0.3528, allocations: 2.031 MB / 1.004 GB, free: 1.516 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.003843/0.3566, allocations: 2.167 MB / 1.006 GB, free: 15.34 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.007819/0.3645, allocations: 7.295 MB / 1.013 GB, free: 8.023 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/0.3645, allocations: 0 / 1.013 GB, free: 8.023 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.974e-06/0.3646, allocations: 0 / 1.013 GB, free: 8.023 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0002055/0.3648, allocations: 0 / 1.013 GB, free: 8.023 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 913 * Number of variables: 913 Notification: Performance of Generate backend data structure: time 0.008958/0.3737, allocations: 3.812 MB / 1.017 GB, free: 4.148 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.3738, allocations: 19.97 kB / 1.017 GB, free: 4.129 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006357/0.3802, allocations: 1.206 MB / 1.018 GB, free: 2.918 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005585/0.3858, allocations: 2.344 MB / 1.021 GB, free: 0.5156 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001951/0.386, allocations: 238.4 kB / 1.021 GB, free: 288 kB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008569/0.3869, allocations: 308 kB / 1.021 GB, free: 15.98 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0118/0.3987, allocations: 6.22 MB / 1.027 GB, free: 9.504 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.604e-05/0.3988, allocations: 15.78 kB / 1.027 GB, free: 9.488 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004166/0.3993, allocations: 143.9 kB / 1.027 GB, free: 9.348 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004738/0.3997, allocations: 402.3 kB / 1.028 GB, free: 8.953 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008572/0.4083, allocations: 4.662 MB / 1.032 GB, free: 4.281 MB / 0.8106 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03269/0.441, allocations: 28.95 MB / 1.061 GB, free: 4.621 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001964/0.443, allocations: 1.422 MB / 1.062 GB, free: 3.188 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001811/0.4449, allocations: 1.485 MB / 1.063 GB, free: 1.703 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001107/0.445, allocations: 9 kB / 1.063 GB, free: 1.695 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.603e-05/0.445, allocations: 51.48 kB / 1.063 GB, free: 1.633 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=110): time 2.555e-06/0.445, allocations: 4 kB / 1.063 GB, free: 1.629 MB / 0.8419 GB Notification: Performance of matching and sorting (n=179): time 0.6794/1.124, allocations: 37.23 MB / 1.1 GB, free: 122.2 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.702e-05/1.125, allocations: 74.41 kB / 1.1 GB, free: 122.2 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002109/1.127, allocations: 1.421 MB / 1.101 GB, free: 121.6 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0003321/1.127, allocations: 52.03 kB / 1.101 GB, free: 121.6 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008111/1.128, allocations: 1.535 MB / 1.103 GB, free: 120.4 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005122/1.128, allocations: 0.6105 MB / 1.103 GB, free: 120 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006927/1.129, allocations: 387.3 kB / 1.104 GB, free: 119.8 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.736e-05/1.129, allocations: 301.1 kB / 1.104 GB, free: 119.5 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002271/1.131, allocations: 1.782 MB / 1.106 GB, free: 118.9 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003205/1.135, allocations: 2.348 MB / 1.108 GB, free: 117.5 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00633/1.141, allocations: 4.394 MB / 1.112 GB, free: 115.3 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.657e-05/1.141, allocations: 9.062 kB / 1.112 GB, free: 115.3 MB / 0.8575 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01722/1.158, allocations: 8.561 MB / 1.121 GB, free: 110.9 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.862e-05/1.158, allocations: 11.72 kB / 1.121 GB, free: 110.9 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.554e-05/1.158, allocations: 17.25 kB / 1.121 GB, free: 110.9 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01368/1.172, allocations: 4.648 MB / 1.125 GB, free: 108.4 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001314/1.173, allocations: 303.2 kB / 1.126 GB, free: 108.4 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03774/1.211, allocations: 32.58 MB / 1.157 GB, free: 80.32 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002267/1.213, allocations: 151.8 kB / 1.158 GB, free: 80.17 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002242/1.214, allocations: 80 kB / 1.158 GB, free: 80.09 MB / 0.8575 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 (157): * Single equations (assignments): 151 * 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 {(11,13,90.1%), (11,13,91.7%), (6,12,100.0%), (6,12,100.0%), (6,6,100.0%), (6,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001904/1.216, allocations: 1.336 MB / 1.159 GB, free: 78.75 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004177/1.216, allocations: 197.7 kB / 1.159 GB, free: 78.55 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01458/1.231, allocations: 8.433 MB / 1.167 GB, free: 70.07 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.762e-05/1.231, allocations: 19.94 kB / 1.167 GB, free: 70.05 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.883e-05/1.231, allocations: 30.38 kB / 1.167 GB, free: 70.03 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.972e-05/1.231, allocations: 11.95 kB / 1.167 GB, free: 70.02 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02114/1.252, allocations: 12.84 MB / 1.18 GB, free: 57.04 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.434e-05/1.252, allocations: 8 kB / 1.18 GB, free: 57.03 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006489/1.253, allocations: 163.7 kB / 1.18 GB, free: 56.87 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01238/1.265, allocations: 4.488 MB / 1.185 GB, free: 52.37 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002804/1.265, allocations: 40 kB / 1.185 GB, free: 52.33 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03717/1.302, allocations: 32.2 MB / 1.216 GB, free: 19.32 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.693e-06/1.303, allocations: 10.69 kB / 1.216 GB, free: 19.31 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01427/1.317, allocations: 8.232 MB / 1.224 GB, free: 10.95 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002088/1.319, allocations: 0.6195 MB / 1.225 GB, free: 10.31 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003972/1.319, allocations: 45.3 kB / 1.225 GB, free: 10.27 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001338/1.321, allocations: 131.8 kB / 1.225 GB, free: 10.14 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001058/1.322, allocations: 179.3 kB / 1.225 GB, free: 9.965 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001492/1.322, allocations: 51.92 kB / 1.225 GB, free: 9.914 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.001441/1.323, allocations: 0.9588 MB / 1.226 GB, free: 8.961 MB / 0.8575 GB Notification: Performance of sort global known variables: time 5.01e-07/1.323, allocations: 4 kB / 1.226 GB, free: 8.957 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.004235/1.328, allocations: 1.109 MB / 1.227 GB, free: 7.848 MB / 0.8575 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 (80): * Single equations (assignments): 74 * 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 {(6,6,100.0%), (6,12,100.0%), (11,13,91.7%), (6,6,100.0%), (6,12,100.0%), (11,13,91.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000348/1.328, allocations: 159 kB / 1.227 GB, free: 7.68 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.01086/1.339, allocations: 6.54 MB / 1.234 GB, free: 1.082 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.07e-05/1.339, allocations: 0 / 1.234 GB, free: 1.082 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.008958/1.348, allocations: 4.362 MB / 1.238 GB, free: 12.66 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002631/1.351, allocations: 0.5215 MB / 1.238 GB, free: 12.16 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01213/1.363, allocations: 6.801 MB / 1.245 GB, free: 5.293 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003036/1.366, allocations: 2.725 MB / 1.248 GB, free: 2.531 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.001112/1.367, allocations: 390.9 kB / 1.248 GB, free: 2.156 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002396/1.367, allocations: 95.44 kB / 1.248 GB, free: 2.066 MB / 0.8731 GB Notification: Performance of SimCode: time 6.92e-07/1.367, allocations: 4 kB / 1.248 GB, free: 2.062 MB / 0.8731 GB Notification: Performance of Templates: time 0.09102/1.458, allocations: 60.49 MB / 1.307 GB, free: 5.906 MB / 0.9356 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches