Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.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_latest_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_latest_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.001387/0.001387, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001591/0.001591, allocations: 194.7 kB / 16.53 MB, free: 6.699 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.37/1.37, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.783/2.783, allocations: 472.6 MB / 0.7451 GB, free: 4.648 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001168/0.001168, allocations: 64.14 kB / 0.9121 GB, free: 33.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3202/0.3214, allocations: 159.9 MB / 1.068 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.02514/0.3466, allocations: 22.6 MB / 1.09 GB, free: 3.703 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01218/0.3588, allocations: 6.229 MB / 1.096 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002625/0.3615, allocations: 95.5 kB / 1.096 GB, free: 13.37 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.004457/0.366, allocations: 1.547 MB / 1.098 GB, free: 11.81 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.00482/0.3708, allocations: 1.625 MB / 1.1 GB, free: 10.18 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.004139/0.375, allocations: 1.339 MB / 1.101 GB, free: 8.844 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.007525/0.3825, allocations: 5.939 MB / 1.107 GB, free: 2.891 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007986/0.3905, allocations: 6.099 MB / 1.113 GB, free: 12.7 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004192/0.3948, allocations: 2.407 MB / 1.115 GB, free: 10.29 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004561/0.3994, allocations: 2.859 MB / 1.118 GB, free: 7.418 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.001004/0.4004, allocations: 460 kB / 1.118 GB, free: 6.969 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002563/0.403, allocations: 1.1 MB / 1.119 GB, free: 5.867 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.002188/0.4052, allocations: 2.035 MB / 1.121 GB, free: 3.828 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.003/0.4082, allocations: 2.163 MB / 1.123 GB, free: 1.656 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.007353/0.4155, allocations: 7.241 MB / 1.13 GB, free: 10.39 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.4156, allocations: 4 kB / 1.13 GB, free: 10.39 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.973e-06/0.4156, allocations: 0 / 1.13 GB, free: 10.39 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0002185/0.4158, allocations: 0 / 1.13 GB, free: 10.39 MB / 0.8887 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.01302/0.4288, allocations: 3.824 MB / 1.134 GB, free: 6.504 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 6.409e-05/0.4289, allocations: 8.031 kB / 1.134 GB, free: 6.496 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006739/0.4357, allocations: 1.213 MB / 1.135 GB, free: 5.277 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004771/0.4405, allocations: 2.215 MB / 1.138 GB, free: 3.004 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001863/0.4407, allocations: 238.4 kB / 1.138 GB, free: 2.77 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001107/0.4418, allocations: 319.8 kB / 1.138 GB, free: 2.457 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01154/0.4534, allocations: 6.212 MB / 1.144 GB, free: 11.99 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001279/0.4535, allocations: 11.94 kB / 1.144 GB, free: 11.98 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000715/0.4543, allocations: 143.9 kB / 1.144 GB, free: 11.84 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005556/0.4548, allocations: 406.3 kB / 1.145 GB, free: 11.44 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008751/0.4636, allocations: 4.658 MB / 1.149 GB, free: 6.77 MB / 0.9044 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.03511/0.4987, allocations: 29.14 MB / 1.178 GB, free: 6.918 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002265/0.501, allocations: 1.412 MB / 1.179 GB, free: 5.492 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002218/0.5033, allocations: 1.487 MB / 1.181 GB, free: 4.004 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001573/0.5035, allocations: 17 kB / 1.181 GB, free: 3.988 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.233e-05/0.5035, allocations: 43.55 kB / 1.181 GB, free: 3.938 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=110): time 3.817e-06/0.5035, allocations: 0 / 1.181 GB, free: 3.938 MB / 0.9356 GB Notification: Performance of matching and sorting (n=179): time 0.1486/0.6521, allocations: 37.24 MB / 1.217 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.488e-05/0.6522, allocations: 73.39 kB / 1.217 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002733/0.6549, allocations: 1.427 MB / 1.218 GB, free: 13.11 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0003611/0.6553, allocations: 53.64 kB / 1.218 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.001152/0.6565, allocations: 1.546 MB / 1.22 GB, free: 11.49 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008024/0.6573, allocations: 0.6045 MB / 1.221 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009388/0.6583, allocations: 383.3 kB / 1.221 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 9.578e-05/0.6584, allocations: 301.1 kB / 1.221 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002568/0.6609, allocations: 1.784 MB / 1.223 GB, free: 8.406 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002904/0.6639, allocations: 2.354 MB / 1.225 GB, free: 5.797 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005747/0.6696, allocations: 4.387 MB / 1.23 GB, free: 1.172 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.639e-05/0.6696, allocations: 4 kB / 1.23 GB, free: 1.168 MB / 0.9825 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01842/0.6881, allocations: 8.567 MB / 1.238 GB, free: 8.562 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.027e-05/0.6882, allocations: 12 kB / 1.238 GB, free: 8.551 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.73e-05/0.6882, allocations: 16 kB / 1.238 GB, free: 8.535 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01524/0.7034, allocations: 4.677 MB / 1.243 GB, free: 3.844 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001302/0.7048, allocations: 303.5 kB / 1.243 GB, free: 3.547 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6228/1.328, allocations: 32.59 MB / 1.275 GB, free: 152.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002323/1.33, allocations: 154.3 kB / 1.275 GB, free: 152.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002326/1.33, allocations: 82.11 kB / 1.275 GB, free: 152.7 MB / 0.9981 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.002392/1.333, allocations: 1.334 MB / 1.276 GB, free: 152.1 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000439/1.333, allocations: 201.7 kB / 1.276 GB, free: 152.1 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01786/1.351, allocations: 8.434 MB / 1.285 GB, free: 149.5 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-05/1.351, allocations: 22.98 kB / 1.285 GB, free: 149.5 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001594/1.351, allocations: 28.38 kB / 1.285 GB, free: 149.5 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.765e-05/1.351, allocations: 8.672 kB / 1.285 GB, free: 149.5 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02394/1.375, allocations: 12.84 MB / 1.297 GB, free: 144.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.038e-05/1.375, allocations: 11.12 kB / 1.297 GB, free: 144.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007261/1.376, allocations: 164 kB / 1.297 GB, free: 144.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01293/1.389, allocations: 4.524 MB / 1.302 GB, free: 142.4 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000291/1.389, allocations: 35.47 kB / 1.302 GB, free: 142.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03847/1.428, allocations: 32.22 MB / 1.333 GB, free: 114.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.634e-06/1.428, allocations: 11.94 kB / 1.333 GB, free: 114.9 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01471/1.442, allocations: 8.243 MB / 1.341 GB, free: 106.6 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00132/1.444, allocations: 0.6195 MB / 1.342 GB, free: 105.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003641/1.444, allocations: 39.94 kB / 1.342 GB, free: 105.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001472/1.446, allocations: 136.8 kB / 1.342 GB, free: 105.8 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007703/1.446, allocations: 168.9 kB / 1.342 GB, free: 105.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001258/1.447, allocations: 48 kB / 1.342 GB, free: 105.6 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001077/1.448, allocations: 0.9627 MB / 1.343 GB, free: 104.6 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.3e-07/1.448, allocations: 0 / 1.343 GB, free: 104.6 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003497/1.451, allocations: 1.113 MB / 1.344 GB, free: 103.5 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.0002952/1.452, allocations: 148 kB / 1.344 GB, free: 103.3 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01259/1.464, allocations: 7.073 MB / 1.351 GB, free: 96.21 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.147e-05/1.464, allocations: 0 / 1.351 GB, free: 96.21 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.008548/1.473, allocations: 4.367 MB / 1.356 GB, free: 91.77 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002724/1.475, allocations: 0.5296 MB / 1.356 GB, free: 91.27 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0109/1.486, allocations: 6.879 MB / 1.363 GB, free: 84.34 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002336/1.489, allocations: 2.725 MB / 1.366 GB, free: 81.58 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001151/1.49, allocations: 390.5 kB / 1.366 GB, free: 81.21 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002157/1.49, allocations: 95.42 kB / 1.366 GB, free: 81.11 MB / 0.9981 GB Notification: Performance of SimCode: time 7.02e-07/1.49, allocations: 0 / 1.366 GB, free: 81.11 MB / 0.9981 GB Notification: Performance of Templates: time 0.08175/1.572, allocations: 60.5 MB / 1.425 GB, free: 20.95 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches