Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001557/0.001557, allocations: 106.2 kB / 16.27 MB, free: 6.41 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.001584/0.001584, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.474/1.474, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.6/2.6, allocations: 437.1 MB / 0.711 GB, free: 4.547 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001942/0.001942, allocations: 68.27 kB / 0.8699 GB, free: 2.219 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3247/0.3267, allocations: 151.6 MB / 1.018 GB, free: 10.65 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.02961/0.3563, allocations: 22.59 MB / 1.04 GB, free: 3.98 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.01268/0.369, allocations: 6.236 MB / 1.046 GB, free: 13.73 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002749/0.3718, allocations: 95.5 kB / 1.046 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.004843/0.3767, allocations: 1.548 MB / 1.048 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.005427/0.3821, allocations: 1.625 MB / 1.049 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.004366/0.3865, allocations: 1.339 MB / 1.051 GB, free: 9.113 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.008727/0.3953, allocations: 5.943 MB / 1.056 GB, free: 3.152 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009088/0.4044, allocations: 6.092 MB / 1.062 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004768/0.4092, allocations: 2.411 MB / 1.065 GB, free: 10.56 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005834/0.4151, allocations: 2.862 MB / 1.068 GB, free: 7.688 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.00141/0.4165, allocations: 456 kB / 1.068 GB, free: 7.242 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003374/0.4199, allocations: 1.096 MB / 1.069 GB, free: 6.145 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.003214/0.4232, allocations: 2.031 MB / 1.071 GB, free: 4.109 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.004077/0.4272, allocations: 2.17 MB / 1.073 GB, free: 1.93 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.4901/0.9174, allocations: 7.239 MB / 1.08 GB, free: 31.87 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 8.415e-06/0.9174, allocations: 4.625 kB / 1.08 GB, free: 31.87 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.913e-06/0.9175, allocations: 0 / 1.08 GB, free: 31.87 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.0002733/0.9177, allocations: 0 / 1.08 GB, free: 31.87 MB / 0.8419 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.01216/0.9299, allocations: 3.823 MB / 1.084 GB, free: 30.33 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.93, allocations: 9.828 kB / 1.084 GB, free: 30.33 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0074/0.9374, allocations: 1.205 MB / 1.085 GB, free: 30.13 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005684/0.9431, allocations: 2.222 MB / 1.087 GB, free: 29.59 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002925/0.9434, allocations: 242.4 kB / 1.088 GB, free: 29.59 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001615/0.945, allocations: 314.8 kB / 1.088 GB, free: 29.58 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0157/0.9607, allocations: 6.209 MB / 1.094 GB, free: 28.84 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001088/0.9609, allocations: 21.12 kB / 1.094 GB, free: 28.84 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005398/0.9614, allocations: 137.3 kB / 1.094 GB, free: 28.84 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006402/0.9621, allocations: 409.5 kB / 1.094 GB, free: 28.83 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01047/0.9726, allocations: 4.659 MB / 1.099 GB, free: 28.37 MB / 0.8419 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.03423/1.007, allocations: 29.14 MB / 1.127 GB, free: 5.164 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002031/1.009, allocations: 1.415 MB / 1.129 GB, free: 4.645 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001807/1.011, allocations: 1.495 MB / 1.13 GB, free: 4.117 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 9.904e-05/1.011, allocations: 11.31 kB / 1.13 GB, free: 4.117 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.724e-05/1.011, allocations: 43.97 kB / 1.13 GB, free: 4.07 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=110): time 2.875e-06/1.011, allocations: 0 / 1.13 GB, free: 4.07 MB / 0.8419 GB Notification: Performance of matching and sorting (n=179): time 0.148/1.159, allocations: 37.23 MB / 1.167 GB, free: 280 kB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.137e-05/1.159, allocations: 73.41 kB / 1.167 GB, free: 196 kB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002281/1.161, allocations: 1.423 MB / 1.168 GB, free: 14.76 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0003286/1.162, allocations: 53.7 kB / 1.168 GB, free: 14.7 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.001222/1.163, allocations: 1.536 MB / 1.17 GB, free: 13.15 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007809/1.164, allocations: 0.6158 MB / 1.17 GB, free: 12.54 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008104/1.164, allocations: 379.3 kB / 1.171 GB, free: 12.16 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001344/1.165, allocations: 305.1 kB / 1.171 GB, free: 11.86 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002798/1.167, allocations: 1.787 MB / 1.173 GB, free: 10.07 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003343/1.171, allocations: 2.349 MB / 1.175 GB, free: 7.477 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006577/1.177, allocations: 4.387 MB / 1.179 GB, free: 2.922 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.331e-05/1.177, allocations: 8 kB / 1.179 GB, free: 2.914 MB / 0.8731 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01932/1.197, allocations: 8.569 MB / 1.188 GB, free: 10.52 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 3.591e-05/1.197, allocations: 12 kB / 1.188 GB, free: 10.51 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.103e-05/1.197, allocations: 16 kB / 1.188 GB, free: 10.49 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01548/1.212, allocations: 4.671 MB / 1.192 GB, free: 5.812 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001309/1.214, allocations: 299.6 kB / 1.193 GB, free: 5.539 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05237/1.266, allocations: 32.61 MB / 1.224 GB, free: 4.188 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00255/1.269, allocations: 151.8 kB / 1.225 GB, free: 4.039 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003142/1.269, allocations: 80 kB / 1.225 GB, free: 3.961 MB / 0.92 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.002788/1.272, allocations: 1.334 MB / 1.226 GB, free: 2.641 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005582/1.272, allocations: 209.5 kB / 1.226 GB, free: 2.434 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01899/1.291, allocations: 8.431 MB / 1.234 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.13e-05/1.291, allocations: 16 kB / 1.234 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.899e-05/1.291, allocations: 28 kB / 1.234 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.64e-05/1.292, allocations: 7.969 kB / 1.234 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02735/1.319, allocations: 12.86 MB / 1.247 GB, free: 13.18 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.185e-05/1.319, allocations: 8 kB / 1.247 GB, free: 13.18 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008043/1.32, allocations: 165.7 kB / 1.247 GB, free: 13.02 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0151/1.335, allocations: 4.514 MB / 1.252 GB, free: 8.5 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003399/1.335, allocations: 39.98 kB / 1.252 GB, free: 8.461 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05258/1.388, allocations: 32.22 MB / 1.283 GB, free: 7.488 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.797e-05/1.388, allocations: 11.38 kB / 1.283 GB, free: 7.48 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01903/1.407, allocations: 8.242 MB / 1.291 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001862/1.409, allocations: 0.6195 MB / 1.292 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004743/1.409, allocations: 35.94 kB / 1.292 GB, free: 14.56 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001619/1.411, allocations: 141.8 kB / 1.292 GB, free: 14.42 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008758/1.412, allocations: 167.6 kB / 1.292 GB, free: 14.26 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001551/1.412, allocations: 52 kB / 1.292 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001562/1.414, allocations: 0.9548 MB / 1.293 GB, free: 13.26 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.81e-07/1.414, allocations: 2.188 kB / 1.293 GB, free: 13.26 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.004049/1.418, allocations: 1.117 MB / 1.294 GB, free: 12.14 MB / 0.9981 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.0003952/1.418, allocations: 152.8 kB / 1.294 GB, free: 12 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01526/1.433, allocations: 7.077 MB / 1.301 GB, free: 4.93 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.75e-05/1.433, allocations: 4 kB / 1.301 GB, free: 4.926 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.01057/1.444, allocations: 4.358 MB / 1.305 GB, free: 0.5273 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003292/1.447, allocations: 0.52 MB / 1.306 GB, free: 24 kB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01519/1.462, allocations: 7.39 MB / 1.313 GB, free: 8.555 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004009/1.467, allocations: 2.806 MB / 1.316 GB, free: 5.715 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004555/1.467, allocations: 103.4 kB / 1.316 GB, free: 5.617 MB / 1.014 GB Notification: Performance of SimCode: time 9.22e-07/1.467, allocations: 0 / 1.316 GB, free: 5.617 MB / 1.014 GB Notification: Performance of Templates: time 0.202/1.669, allocations: 154 MB / 1.466 GB, free: 11.64 MB / 1.17 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches