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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001432/0.001436, allocations: 107.7 kB / 16.27 MB, free: 6.414 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.00167/0.00167, allocations: 189.4 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.446/1.446, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.223/2.223, allocations: 390.3 MB / 0.6653 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 65.42 kB / 0.8132 GB, free: 33.06 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2501/0.2514, allocations: 140.4 MB / 0.9503 GB, free: 8.855 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.0257/0.2772, allocations: 22.59 MB / 0.9723 GB, free: 2.18 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.01056/0.2878, allocations: 6.233 MB / 0.9784 GB, free: 11.93 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001972/0.2898, allocations: 95.5 kB / 0.9785 GB, free: 11.84 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.00432/0.2941, allocations: 1.551 MB / 0.98 GB, free: 10.29 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.004265/0.2984, allocations: 1.625 MB / 0.9816 GB, free: 8.652 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.003416/0.3019, allocations: 1.337 MB / 0.9829 GB, free: 7.316 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.006696/0.3086, allocations: 5.936 MB / 0.9887 GB, free: 1.363 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008175/0.3168, allocations: 6.103 MB / 0.9947 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003745/0.3206, allocations: 2.399 MB / 0.997 GB, free: 8.773 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004575/0.3252, allocations: 2.878 MB / 0.9998 GB, free: 5.887 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.001398/0.3266, allocations: 456 kB / 1 GB, free: 5.441 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003012/0.3296, allocations: 1.092 MB / 1.001 GB, free: 4.348 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.003201/0.3329, allocations: 2.027 MB / 1.003 GB, free: 2.316 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.004248/0.3371, allocations: 2.174 MB / 1.005 GB, free: 136 kB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.008907/0.3461, allocations: 7.249 MB / 1.013 GB, free: 8.863 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 8.526e-06/0.3461, allocations: 0 / 1.013 GB, free: 8.863 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.843e-06/0.3461, allocations: 0 / 1.013 GB, free: 8.863 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0002508/0.3464, allocations: 4 kB / 1.013 GB, free: 8.859 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.009672/0.3561, allocations: 3.812 MB / 1.016 GB, free: 4.984 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.3561, allocations: 8.031 kB / 1.016 GB, free: 4.977 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007016/0.3631, allocations: 1.21 MB / 1.017 GB, free: 3.762 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004883/0.3681, allocations: 2.211 MB / 1.02 GB, free: 1.492 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002763/0.3684, allocations: 242.4 kB / 1.02 GB, free: 1.254 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00125/0.3696, allocations: 315.9 kB / 1.02 GB, free: 0.9453 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01268/0.3823, allocations: 6.212 MB / 1.026 GB, free: 10.48 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000151/0.3825, allocations: 23.77 kB / 1.026 GB, free: 10.45 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008486/0.3834, allocations: 136 kB / 1.026 GB, free: 10.32 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005225/0.3839, allocations: 410.3 kB / 1.027 GB, free: 9.918 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008694/0.3926, allocations: 4.662 MB / 1.031 GB, free: 5.246 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.03334/0.426, allocations: 29.13 MB / 1.06 GB, free: 5.402 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002109/0.4282, allocations: 1.422 MB / 1.061 GB, free: 3.969 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001908/0.4301, allocations: 1.487 MB / 1.063 GB, free: 2.477 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001248/0.4302, allocations: 12.98 kB / 1.063 GB, free: 2.465 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.048e-05/0.4303, allocations: 47.56 kB / 1.063 GB, free: 2.406 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=110): time 3.226e-06/0.4303, allocations: 0 / 1.063 GB, free: 2.406 MB / 0.8419 GB Notification: Performance of matching and sorting (n=179): time 0.6401/1.07, allocations: 37.23 MB / 1.099 GB, free: 122.9 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.08e-05/1.07, allocations: 78.72 kB / 1.099 GB, free: 122.8 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002464/1.073, allocations: 1.42 MB / 1.1 GB, free: 122.3 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0003352/1.073, allocations: 52.27 kB / 1.101 GB, free: 122.2 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009458/1.074, allocations: 1.538 MB / 1.102 GB, free: 121 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005989/1.075, allocations: 0.6085 MB / 1.103 GB, free: 120.6 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007288/1.076, allocations: 383.6 kB / 1.103 GB, free: 120.4 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.655e-05/1.076, allocations: 301.1 kB / 1.103 GB, free: 120.1 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002362/1.078, allocations: 1.788 MB / 1.105 GB, free: 119.5 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002679/1.081, allocations: 2.35 MB / 1.107 GB, free: 118.1 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005462/1.086, allocations: 4.39 MB / 1.112 GB, free: 115.9 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.545e-05/1.086, allocations: 4.906 kB / 1.112 GB, free: 115.9 MB / 0.8575 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.0173/1.104, allocations: 8.564 MB / 1.12 GB, free: 111.6 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 4.146e-05/1.104, allocations: 16.03 kB / 1.12 GB, free: 111.6 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.272e-05/1.104, allocations: 18.28 kB / 1.12 GB, free: 111.6 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01368/1.117, allocations: 4.673 MB / 1.125 GB, free: 109.2 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001207/1.119, allocations: 302.3 kB / 1.125 GB, free: 109.1 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03795/1.157, allocations: 32.62 MB / 1.157 GB, free: 81.11 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002406/1.159, allocations: 147.8 kB / 1.157 GB, free: 80.97 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002137/1.159, allocations: 84.86 kB / 1.157 GB, free: 80.89 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.002029/1.161, allocations: 1.332 MB / 1.158 GB, free: 79.55 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000445/1.162, allocations: 201.7 kB / 1.158 GB, free: 79.35 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01459/1.176, allocations: 8.438 MB / 1.167 GB, free: 70.87 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.447e-05/1.176, allocations: 23.94 kB / 1.167 GB, free: 70.84 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.991e-05/1.176, allocations: 24 kB / 1.167 GB, free: 70.82 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.981e-05/1.177, allocations: 7.969 kB / 1.167 GB, free: 70.81 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02106/1.198, allocations: 12.84 MB / 1.179 GB, free: 57.84 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.65e-05/1.198, allocations: 4 kB / 1.179 GB, free: 57.83 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006736/1.198, allocations: 163.8 kB / 1.179 GB, free: 57.67 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01261/1.211, allocations: 4.522 MB / 1.184 GB, free: 53.13 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002593/1.211, allocations: 36 kB / 1.184 GB, free: 53.1 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03699/1.248, allocations: 32.22 MB / 1.215 GB, free: 20.06 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.96e-06/1.248, allocations: 4 kB / 1.215 GB, free: 20.06 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01447/1.263, allocations: 8.246 MB / 1.223 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001433/1.264, allocations: 0.6157 MB / 1.224 GB, free: 11.05 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003557/1.265, allocations: 40 kB / 1.224 GB, free: 11.01 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001464/1.266, allocations: 139.8 kB / 1.224 GB, free: 10.87 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007505/1.267, allocations: 161 kB / 1.224 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001287/1.267, allocations: 55.94 kB / 1.224 GB, free: 10.66 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.001032/1.268, allocations: 0.9627 MB / 1.225 GB, free: 9.703 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.51e-07/1.268, allocations: 0 / 1.225 GB, free: 9.703 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.003187/1.271, allocations: 1.113 MB / 1.226 GB, free: 8.59 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.0002798/1.272, allocations: 151 kB / 1.227 GB, free: 8.43 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.01175/1.283, allocations: 7.088 MB / 1.233 GB, free: 1.293 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 9.207e-06/1.283, allocations: 0 / 1.233 GB, free: 1.293 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.00916/1.292, allocations: 4.357 MB / 1.238 GB, free: 12.87 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002891/1.295, allocations: 0.5114 MB / 1.238 GB, free: 12.38 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01421/1.31, allocations: 7.391 MB / 1.245 GB, free: 4.922 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003495/1.313, allocations: 2.801 MB / 1.248 GB, free: 2.082 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004335/1.314, allocations: 115.4 kB / 1.248 GB, free: 1.969 MB / 0.8731 GB Notification: Performance of SimCode: time 6.61e-07/1.314, allocations: 0 / 1.248 GB, free: 1.969 MB / 0.8731 GB Notification: Performance of Templates: time 0.2195/1.533, allocations: 154 MB / 1.399 GB, free: 7.902 MB / 1.029 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 -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