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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.0008292/0.0008293, allocations: 97.72 kB / 15.36 MB, free: 0.7344 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.005734/0.005734, allocations: 170 kB / 16.27 MB, free: 6.652 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.5/1.5, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.908/2.908, allocations: 462.6 MB / 0.7364 GB, free: 316 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003303/0.0003303, allocations: 8.812 kB / 0.9028 GB, free: 36.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3501/0.3504, allocations: 159.6 MB / 1.059 GB, free: 5.457 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.02313/0.3736, allocations: 21.79 MB / 1.08 GB, free: 15.59 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01025/0.3839, allocations: 6.186 MB / 1.086 GB, free: 9.391 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001734/0.3856, allocations: 75.56 kB / 1.086 GB, free: 9.316 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.001108/0.3868, allocations: 444.6 kB / 1.086 GB, free: 8.879 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.003609/0.3904, allocations: 1.529 MB / 1.088 GB, free: 7.344 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.002488/0.3929, allocations: 1.103 MB / 1.089 GB, free: 6.242 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.009468/0.4024, allocations: 8.853 MB / 1.098 GB, free: 13.37 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0107/0.4131, allocations: 7.177 MB / 1.105 GB, free: 6.113 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003604/0.4167, allocations: 1.762 MB / 1.106 GB, free: 4.344 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00476/0.4215, allocations: 2.608 MB / 1.109 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.001243/0.4228, allocations: 200 kB / 1.109 GB, free: 1.531 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003349/0.4261, allocations: 1.022 MB / 1.11 GB, free: 0.5078 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.003143/0.4293, allocations: 1.727 MB / 1.112 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.004324/0.4336, allocations: 1.817 MB / 1.114 GB, free: 12.94 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.008073/0.4417, allocations: 6.977 MB / 1.12 GB, free: 5.945 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.4418, allocations: 0 / 1.12 GB, free: 5.945 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.756e-06/0.4418, allocations: 0 / 1.12 GB, free: 5.945 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.000175/0.442, allocations: 0 / 1.12 GB, free: 5.945 MB / 0.8731 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.005972/0.4479, allocations: 3.073 MB / 1.123 GB, free: 2.812 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/0.448, allocations: 8.031 kB / 1.123 GB, free: 2.805 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006124/0.4541, allocations: 1.217 MB / 1.125 GB, free: 1.582 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003796/0.4579, allocations: 2.215 MB / 1.127 GB, free: 15.3 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001748/0.4581, allocations: 238.3 kB / 1.127 GB, free: 15.07 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006105/0.4587, allocations: 323.8 kB / 1.127 GB, free: 14.76 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01023/0.469, allocations: 6.212 MB / 1.133 GB, free: 8.285 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.702e-05/0.4691, allocations: 15.88 kB / 1.133 GB, free: 8.27 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003486/0.4694, allocations: 139.9 kB / 1.134 GB, free: 8.133 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000489/0.4699, allocations: 410.3 kB / 1.134 GB, free: 7.73 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008247/0.4782, allocations: 4.654 MB / 1.138 GB, free: 3.066 MB / 0.8887 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.03584/0.5141, allocations: 29.09 MB / 1.167 GB, free: 3.262 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00216/0.5163, allocations: 1.416 MB / 1.168 GB, free: 1.832 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001838/0.5181, allocations: 1.483 MB / 1.17 GB, free: 356 kB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 8.21e-05/0.5182, allocations: 13 kB / 1.17 GB, free: 344 kB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.032e-05/0.5183, allocations: 43.56 kB / 1.17 GB, free: 292 kB / 0.92 GB Notification: Performance of pre-optimization done (n=110): time 3.256e-06/0.5183, allocations: 0 / 1.17 GB, free: 292 kB / 0.92 GB Notification: Performance of matching and sorting (n=179): time 0.1436/0.6619, allocations: 36.32 MB / 1.205 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.761e-05/0.662, allocations: 73.34 kB / 1.205 GB, free: 11.81 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002007/0.664, allocations: 1.423 MB / 1.207 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0003131/0.6643, allocations: 57.7 kB / 1.207 GB, free: 10.32 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.001042/0.6654, allocations: 1.531 MB / 1.208 GB, free: 8.77 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006443/0.666, allocations: 0.6123 MB / 1.209 GB, free: 8.148 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002845/0.6663, allocations: 165.6 kB / 1.209 GB, free: 7.98 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001122/0.6664, allocations: 301.1 kB / 1.209 GB, free: 7.684 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002609/0.6691, allocations: 1.788 MB / 1.211 GB, free: 5.891 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003112/0.6722, allocations: 2.346 MB / 1.213 GB, free: 3.289 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006469/0.6787, allocations: 4.387 MB / 1.218 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.985e-05/0.6787, allocations: 4 kB / 1.218 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01924/0.698, allocations: 8.567 MB / 1.226 GB, free: 6.051 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.162e-05/0.6981, allocations: 16.03 kB / 1.226 GB, free: 6.035 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.531e-05/0.6981, allocations: 16 kB / 1.226 GB, free: 6.02 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01516/0.7133, allocations: 4.638 MB / 1.231 GB, free: 1.367 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001378/0.7147, allocations: 311.4 kB / 1.231 GB, free: 1.062 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.7315/1.446, allocations: 29.48 MB / 1.26 GB, free: 167.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002396/1.449, allocations: 146.9 kB / 1.26 GB, free: 167.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002209/1.449, allocations: 87.36 kB / 1.26 GB, free: 167.5 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.002789/1.452, allocations: 1.327 MB / 1.261 GB, free: 167.4 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005484/1.452, allocations: 199.2 kB / 1.261 GB, free: 167.4 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02207/1.474, allocations: 8.436 MB / 1.27 GB, free: 167.1 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-05/1.474, allocations: 17.34 kB / 1.27 GB, free: 167.1 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001559/1.475, allocations: 26.36 kB / 1.27 GB, free: 167.1 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.581e-05/1.475, allocations: 13.38 kB / 1.27 GB, free: 167.1 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02554/1.5, allocations: 12.85 MB / 1.282 GB, free: 163 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.234e-05/1.5, allocations: 6.719 kB / 1.282 GB, free: 163 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008114/1.501, allocations: 166.3 kB / 1.282 GB, free: 162.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01448/1.516, allocations: 4.49 MB / 1.287 GB, free: 162.2 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003852/1.516, allocations: 35 kB / 1.287 GB, free: 162.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03738/1.553, allocations: 29.09 MB / 1.315 GB, free: 143.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.777e-06/1.553, allocations: 11.94 kB / 1.315 GB, free: 143 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01494/1.568, allocations: 8.244 MB / 1.323 GB, free: 134.7 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001416/1.57, allocations: 0.6157 MB / 1.324 GB, free: 134 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003633/1.57, allocations: 43.98 kB / 1.324 GB, free: 134 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001471/1.572, allocations: 131.8 kB / 1.324 GB, free: 133.9 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008332/1.573, allocations: 176.8 kB / 1.324 GB, free: 133.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000123/1.573, allocations: 55.47 kB / 1.324 GB, free: 133.6 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001127/1.574, allocations: 0.9588 MB / 1.325 GB, free: 132.7 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/1.574, allocations: 0 / 1.325 GB, free: 132.7 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0038/1.578, allocations: 1.113 MB / 1.326 GB, free: 131.6 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.0003303/1.578, allocations: 160.7 kB / 1.326 GB, free: 131.4 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01075/1.589, allocations: 6.419 MB / 1.333 GB, free: 124.9 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 9.237e-06/1.589, allocations: 4 kB / 1.333 GB, free: 124.9 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.008128/1.597, allocations: 4.295 MB / 1.337 GB, free: 120.6 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003905/1.601, allocations: 490.9 kB / 1.337 GB, free: 120.1 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0101/1.611, allocations: 8.444 MB / 1.346 GB, free: 111.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002328/1.613, allocations: 2.723 MB / 1.348 GB, free: 108.8 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001069/1.614, allocations: 396.5 kB / 1.349 GB, free: 108.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002119/1.615, allocations: 91.44 kB / 1.349 GB, free: 108.3 MB / 0.9981 GB Notification: Performance of SimCode: time 1.122e-06/1.615, allocations: 0 / 1.349 GB, free: 108.3 MB / 0.9981 GB Notification: Performance of Templates: time 0.07751/1.692, allocations: 56.86 MB / 1.404 GB, free: 51.77 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