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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.009699/0.009699, allocations: 101.5 kB / 15.88 MB, free: 5.863 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.002078/0.002078, allocations: 189.9 kB / 16.79 MB, free: 5.805 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.41/1.41, allocations: 222.9 MB / 240.5 MB, free: 4.559 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.766/2.766, allocations: 461.8 MB / 0.7348 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 69.73 kB / 0.8991 GB, free: 37.02 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2907/0.2919, allocations: 157.4 MB / 1.053 GB, free: 8.215 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.02366/0.3156, allocations: 22.41 MB / 1.075 GB, free: 1.723 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.01052/0.3262, allocations: 6.241 MB / 1.081 GB, free: 11.47 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002113/0.3284, allocations: 87.5 kB / 1.081 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.004119/0.3325, allocations: 1.415 MB / 1.082 GB, free: 9.965 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.003952/0.3365, allocations: 1.541 MB / 1.084 GB, free: 8.418 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.00325/0.3397, allocations: 1.228 MB / 1.085 GB, free: 7.191 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.008267/0.348, allocations: 8.853 MB / 1.094 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01015/0.3582, allocations: 6.73 MB / 1.1 GB, free: 7.512 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004046/0.3623, allocations: 2.055 MB / 1.102 GB, free: 5.449 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00515/0.3674, allocations: 2.964 MB / 1.105 GB, free: 2.477 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.001409/0.3689, allocations: 316 kB / 1.105 GB, free: 2.168 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003267/0.3721, allocations: 1.131 MB / 1.106 GB, free: 1.035 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.003229/0.3754, allocations: 1.902 MB / 1.108 GB, free: 15.13 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.004795/0.3802, allocations: 2.006 MB / 1.11 GB, free: 13.11 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.007063/0.3873, allocations: 6.146 MB / 1.116 GB, free: 6.953 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 9.557e-06/0.3873, allocations: 0 / 1.116 GB, free: 6.953 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.523e-06/0.3874, allocations: 7.938 kB / 1.116 GB, free: 6.945 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0002388/0.3876, allocations: 4 kB / 1.116 GB, free: 6.941 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.00999/0.3976, allocations: 3.812 MB / 1.12 GB, free: 3.066 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.437e-05/0.3977, allocations: 11.97 kB / 1.12 GB, free: 3.055 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006858/0.4045, allocations: 1.21 MB / 1.121 GB, free: 1.84 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004933/0.4095, allocations: 2.211 MB / 1.123 GB, free: 15.57 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002356/0.4098, allocations: 246.3 kB / 1.124 GB, free: 15.33 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001114/0.4109, allocations: 319.8 kB / 1.124 GB, free: 15.02 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01279/0.4237, allocations: 6.212 MB / 1.13 GB, free: 8.547 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001453/0.4239, allocations: 15.88 kB / 1.13 GB, free: 8.531 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008952/0.4248, allocations: 136 kB / 1.13 GB, free: 8.398 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000515/0.4253, allocations: 410.3 kB / 1.13 GB, free: 7.996 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009046/0.4344, allocations: 4.662 MB / 1.135 GB, free: 3.324 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.03355/0.468, allocations: 29.14 MB / 1.163 GB, free: 3.473 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002128/0.4701, allocations: 1.425 MB / 1.165 GB, free: 2.031 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001964/0.4721, allocations: 1.489 MB / 1.166 GB, free: 0.543 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001511/0.4723, allocations: 9 kB / 1.166 GB, free: 0.5352 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.843e-05/0.4723, allocations: 47.56 kB / 1.166 GB, free: 492 kB / 0.92 GB Notification: Performance of pre-optimization done (n=110): time 3.767e-06/0.4723, allocations: 0 / 1.166 GB, free: 492 kB / 0.92 GB Notification: Performance of matching and sorting (n=179): time 0.1347/0.6071, allocations: 37.23 MB / 1.203 GB, free: 11.17 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.926e-05/0.6072, allocations: 69.41 kB / 1.203 GB, free: 11.09 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002946/0.6101, allocations: 1.427 MB / 1.204 GB, free: 9.656 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0003747/0.6105, allocations: 57.7 kB / 1.204 GB, free: 9.594 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.001161/0.6117, allocations: 1.535 MB / 1.206 GB, free: 8.043 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008224/0.6125, allocations: 0.6123 MB / 1.206 GB, free: 7.422 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009922/0.6136, allocations: 387.3 kB / 1.207 GB, free: 7.035 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001765/0.6137, allocations: 301.1 kB / 1.207 GB, free: 6.738 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002752/0.6165, allocations: 1.784 MB / 1.209 GB, free: 4.949 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003289/0.6198, allocations: 2.35 MB / 1.211 GB, free: 2.34 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00676/0.6266, allocations: 4.383 MB / 1.215 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-05/0.6266, allocations: 7.938 kB / 1.215 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01884/0.6455, allocations: 8.571 MB / 1.224 GB, free: 5.098 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4e-05/0.6456, allocations: 13.56 kB / 1.224 GB, free: 5.086 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.66e-05/0.6456, allocations: 23.94 kB / 1.224 GB, free: 5.062 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01535/0.661, allocations: 4.629 MB / 1.228 GB, free: 428 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001205/0.6622, allocations: 303.4 kB / 1.229 GB, free: 124 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5606/1.223, allocations: 29.65 MB / 1.258 GB, free: 169.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002082/1.225, allocations: 156.1 kB / 1.258 GB, free: 169.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002271/1.225, allocations: 87.91 kB / 1.258 GB, free: 169.3 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.002275/1.228, allocations: 1.328 MB / 1.259 GB, free: 169.2 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005101/1.228, allocations: 199.5 kB / 1.259 GB, free: 169.2 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01965/1.248, allocations: 8.442 MB / 1.267 GB, free: 168.8 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.702e-05/1.248, allocations: 18.39 kB / 1.267 GB, free: 168.8 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001268/1.248, allocations: 25.09 kB / 1.268 GB, free: 168.8 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.135e-05/1.248, allocations: 8.859 kB / 1.268 GB, free: 168.8 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0233/1.271, allocations: 12.85 MB / 1.28 GB, free: 164.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.511e-05/1.271, allocations: 6.312 kB / 1.28 GB, free: 164.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007058/1.272, allocations: 168.1 kB / 1.28 GB, free: 164.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01419/1.286, allocations: 4.495 MB / 1.285 GB, free: 164 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003147/1.287, allocations: 34.59 kB / 1.285 GB, free: 164 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03662/1.323, allocations: 29.26 MB / 1.313 GB, free: 144.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.406e-06/1.323, allocations: 15.88 kB / 1.313 GB, free: 144.2 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01459/1.338, allocations: 8.236 MB / 1.321 GB, free: 135.8 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001291/1.339, allocations: 0.6194 MB / 1.322 GB, free: 135.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003745/1.34, allocations: 37.86 kB / 1.322 GB, free: 135.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001259/1.341, allocations: 139.8 kB / 1.322 GB, free: 135 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007557/1.342, allocations: 168.9 kB / 1.322 GB, free: 134.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000138/1.342, allocations: 56.56 kB / 1.322 GB, free: 134.8 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001117/1.343, allocations: 0.951 MB / 1.323 GB, free: 133.9 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.11e-07/1.343, allocations: 0 / 1.323 GB, free: 133.9 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003107/1.346, allocations: 1.117 MB / 1.324 GB, free: 132.7 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.0002833/1.346, allocations: 158.7 kB / 1.324 GB, free: 132.6 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01018/1.356, allocations: 6.502 MB / 1.331 GB, free: 126 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.126e-05/1.357, allocations: 6.625 kB / 1.331 GB, free: 126 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.007694/1.364, allocations: 4.372 MB / 1.335 GB, free: 121.6 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002535/1.367, allocations: 497.5 kB / 1.336 GB, free: 121.1 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01098/1.378, allocations: 8.931 MB / 1.344 GB, free: 112.1 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002592/1.38, allocations: 2.806 MB / 1.347 GB, free: 109.3 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003884/1.381, allocations: 103.4 kB / 1.347 GB, free: 109.2 MB / 0.9981 GB Notification: Performance of SimCode: time 1.032e-06/1.381, allocations: 0 / 1.347 GB, free: 109.2 MB / 0.9981 GB Notification: Performance of Templates: time 0.1344/1.515, allocations: 154 MB / 1.498 GB, free: 3.117 MB / 1.045 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/jenkins1/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