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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001014/0.001014, allocations: 86.56 kB / 15.06 MB, free: 1.09 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.001184/0.001184, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.539/1.539, allocations: 223.3 MB / 240 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.765/2.765, allocations: 437.7 MB / 0.7117 GB, free: 7.086 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003653/0.0003654, allocations: 15.94 kB / 0.8722 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8033/0.8037, allocations: 153.8 MB / 1.022 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.02247/0.8262, allocations: 20.54 MB / 1.042 GB, free: 11.4 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.01282/0.8391, allocations: 5.947 MB / 1.048 GB, free: 5.441 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002631/0.8418, allocations: 79.5 kB / 1.048 GB, free: 5.363 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.002349/0.8442, allocations: 420.7 kB / 1.049 GB, free: 4.949 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.005899/0.8501, allocations: 1.346 MB / 1.05 GB, free: 3.598 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.004059/0.8542, allocations: 0.8186 MB / 1.051 GB, free: 2.781 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.01035/0.8646, allocations: 6.897 MB / 1.058 GB, free: 11.86 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.014/0.8786, allocations: 6.231 MB / 1.064 GB, free: 5.578 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005171/0.8838, allocations: 1.813 MB / 1.065 GB, free: 3.758 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0057/0.8895, allocations: 2.551 MB / 1.068 GB, free: 1.199 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.00129/0.8909, allocations: 200 kB / 1.068 GB, free: 1.004 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002919/0.8938, allocations: 0.5463 MB / 1.069 GB, free: 468 kB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.003573/0.8974, allocations: 1.715 MB / 1.07 GB, free: 14.74 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.002225/0.8997, allocations: 0.7342 MB / 1.071 GB, free: 14 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.008848/0.9085, allocations: 5.998 MB / 1.077 GB, free: 7.984 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/0.9086, allocations: 3.938 kB / 1.077 GB, free: 7.98 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.315e-06/0.9086, allocations: 0 / 1.077 GB, free: 7.98 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 0.0003397/0.9089, allocations: 0 / 1.077 GB, free: 7.98 MB / 0.8262 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.009602/0.9185, allocations: 3.111 MB / 1.08 GB, free: 4.809 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 6.19e-05/0.9186, allocations: 8.562 kB / 1.08 GB, free: 4.801 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006964/0.9256, allocations: 1.209 MB / 1.081 GB, free: 3.586 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006197/0.9318, allocations: 2.165 MB / 1.083 GB, free: 1.363 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003639/0.9322, allocations: 246.3 kB / 1.083 GB, free: 1.121 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001668/0.9339, allocations: 315.8 kB / 1.084 GB, free: 0.8125 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01499/0.9489, allocations: 6.193 MB / 1.09 GB, free: 10.37 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.919e-05/0.9491, allocations: 15.92 kB / 1.09 GB, free: 10.35 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003749/0.9494, allocations: 136 kB / 1.09 GB, free: 10.22 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005213/0.95, allocations: 406.3 kB / 1.09 GB, free: 9.82 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009243/0.9592, allocations: 4.643 MB / 1.095 GB, free: 5.168 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.0398/0.9991, allocations: 29.06 MB / 1.123 GB, free: 5.391 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002128/1.001, allocations: 1.422 MB / 1.125 GB, free: 3.957 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002027/1.003, allocations: 1.489 MB / 1.126 GB, free: 2.465 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001151/1.003, allocations: 13 kB / 1.126 GB, free: 2.453 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.484e-05/1.003, allocations: 47.55 kB / 1.126 GB, free: 2.395 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=110): time 2.916e-06/1.003, allocations: 0 / 1.126 GB, free: 2.395 MB / 0.8731 GB Notification: Performance of matching and sorting (n=179): time 0.1218/1.125, allocations: 36.3 MB / 1.162 GB, free: 14.02 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.639e-05/1.125, allocations: 77.34 kB / 1.162 GB, free: 13.94 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002148/1.128, allocations: 1.415 MB / 1.163 GB, free: 12.52 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0003088/1.128, allocations: 49.7 kB / 1.163 GB, free: 12.46 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.001098/1.129, allocations: 1.539 MB / 1.165 GB, free: 10.9 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006726/1.13, allocations: 0.6045 MB / 1.165 GB, free: 10.29 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001611/1.13, allocations: 44 kB / 1.165 GB, free: 10.25 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001794/1.13, allocations: 389.9 kB / 1.166 GB, free: 9.859 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002529/1.133, allocations: 1.776 MB / 1.167 GB, free: 8.078 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002915/1.135, allocations: 2.346 MB / 1.17 GB, free: 5.477 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002994/1.138, allocations: 2.044 MB / 1.172 GB, free: 3.434 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.187e-05/1.139, allocations: 8 kB / 1.172 GB, free: 3.426 MB / 0.92 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01717/1.156, allocations: 8.54 MB / 1.18 GB, free: 10.85 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 5.216e-05/1.156, allocations: 12 kB / 1.18 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.267e-05/1.156, allocations: 16 kB / 1.18 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01356/1.169, allocations: 4.64 MB / 1.185 GB, free: 6.168 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001228/1.171, allocations: 299.5 kB / 1.185 GB, free: 5.875 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04225/1.213, allocations: 29.43 MB / 1.214 GB, free: 7.629 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002262/1.215, allocations: 155.8 kB / 1.214 GB, free: 7.477 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004348/1.216, allocations: 91.92 kB / 1.214 GB, free: 7.387 MB / 0.9669 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 (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(11,90.1%) 13,(11,91.7%) 13,(6,100.0%) 12,(6,100.0%) 12,(6,100.0%) 6,(6,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002637/1.218, allocations: 1.321 MB / 1.215 GB, free: 6.055 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004848/1.219, allocations: 201.6 kB / 1.215 GB, free: 5.855 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01703/1.236, allocations: 8.43 MB / 1.224 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.095e-05/1.236, allocations: 20 kB / 1.224 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.326e-05/1.236, allocations: 24 kB / 1.224 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.984e-05/1.236, allocations: 7.969 kB / 1.224 GB, free: 13.33 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02439/1.26, allocations: 12.82 MB / 1.236 GB, free: 348 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.73e-05/1.26, allocations: 7.938 kB / 1.236 GB, free: 340 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007231/1.261, allocations: 171.7 kB / 1.236 GB, free: 168 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01332/1.275, allocations: 4.481 MB / 1.241 GB, free: 11.66 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002842/1.275, allocations: 36 kB / 1.241 GB, free: 11.63 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.709/1.984, allocations: 29.06 MB / 1.269 GB, free: 204.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.214e-05/1.984, allocations: 7.094 kB / 1.269 GB, free: 204.1 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01652/2, allocations: 8.219 MB / 1.277 GB, free: 201.5 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001536/2.002, allocations: 0.6259 MB / 1.278 GB, free: 201.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003927/2.002, allocations: 35.12 kB / 1.278 GB, free: 201.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001289/2.004, allocations: 136 kB / 1.278 GB, free: 201.2 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008936/2.005, allocations: 171.1 kB / 1.278 GB, free: 201.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001594/2.005, allocations: 50.5 kB / 1.278 GB, free: 201.2 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001393/2.006, allocations: 0.9412 MB / 1.279 GB, free: 200.8 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/2.006, allocations: 3.719 kB / 1.279 GB, free: 200.8 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.004443/2.011, allocations: 1.117 MB / 1.28 GB, free: 200.8 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 (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(6,100.0%) 6,(6,100.0%) 12,(11,91.7%) 13,(6,100.0%) 6,(6,100.0%) 12,(11,91.7%) 13} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004319/2.011, allocations: 150.5 kB / 1.28 GB, free: 200.6 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01185/2.023, allocations: 6.409 MB / 1.287 GB, free: 198.2 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.56e-05/2.023, allocations: 0 / 1.287 GB, free: 198.2 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.007931/2.031, allocations: 4.285 MB / 1.291 GB, free: 196.4 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002703/2.034, allocations: 0.49 MB / 1.291 GB, free: 196.3 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01022/2.044, allocations: 8.073 MB / 1.299 GB, free: 191.9 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002309/2.046, allocations: 2.73 MB / 1.302 GB, free: 189.8 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001084/2.047, allocations: 388.6 kB / 1.302 GB, free: 189.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002118/2.048, allocations: 91.44 kB / 1.302 GB, free: 189.3 MB / 0.9981 GB Notification: Performance of SimCode: time 8.82e-07/2.048, allocations: 0 / 1.302 GB, free: 189.3 MB / 0.9981 GB Notification: Performance of Templates: time 0.07396/2.122, allocations: 55.59 MB / 1.356 GB, free: 134 MB / 0.9981 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=480 -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/jenkins/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