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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.008076/0.008075, allocations: 100.6 kB / 15.73 MB, free: 6.016 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.001804/0.001804, allocations: 189.8 kB / 16.67 MB, free: 5.934 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.48/1.48, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.619/2.619, allocations: 437 MB / 0.7105 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 63.91 kB / 1.019 GB, free: 9.418 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9785/0.9798, allocations: 151.6 MB / 1.167 GB, free: 3.852 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.02937/1.009, allocations: 22.6 MB / 1.189 GB, free: 13.17 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.01288/1.022, allocations: 6.225 MB / 1.195 GB, free: 6.93 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002716/1.025, allocations: 99.5 kB / 1.195 GB, free: 6.832 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.004805/1.03, allocations: 1.55 MB / 1.196 GB, free: 5.277 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.005316/1.035, allocations: 1.723 MB / 1.198 GB, free: 3.547 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.004313/1.039, allocations: 1.353 MB / 1.199 GB, free: 2.195 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.008025/1.047, allocations: 5.955 MB / 1.205 GB, free: 12.22 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009848/1.057, allocations: 6.033 MB / 1.211 GB, free: 6.113 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004891/1.062, allocations: 2.454 MB / 1.213 GB, free: 3.652 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006101/1.068, allocations: 2.859 MB / 1.216 GB, free: 0.7852 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.001647/1.07, allocations: 456 kB / 1.217 GB, free: 348 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003694/1.074, allocations: 1.104 MB / 1.218 GB, free: 15.23 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.003817/1.078, allocations: 2.031 MB / 1.22 GB, free: 13.2 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.006141/1.084, allocations: 2.167 MB / 1.222 GB, free: 11.02 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.01291/1.097, allocations: 7.317 MB / 1.229 GB, free: 3.688 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 1.062e-05/1.097, allocations: 4 kB / 1.229 GB, free: 3.684 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.695e-06/1.097, allocations: 0 / 1.229 GB, free: 3.684 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 0.0003755/1.097, allocations: 0 / 1.229 GB, free: 3.684 MB / 0.9512 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.01194/1.109, allocations: 3.917 MB / 1.233 GB, free: 15.7 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.83e-05/1.109, allocations: 12.03 kB / 1.233 GB, free: 15.69 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006812/1.116, allocations: 1.224 MB / 1.234 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006002/1.122, allocations: 2.353 MB / 1.236 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002783/1.122, allocations: 246.4 kB / 1.237 GB, free: 11.81 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001385/1.124, allocations: 308 kB / 1.237 GB, free: 11.51 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0144/1.138, allocations: 6.212 MB / 1.243 GB, free: 5.039 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001477/1.138, allocations: 15.83 kB / 1.243 GB, free: 5.023 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009641/1.139, allocations: 143.9 kB / 1.243 GB, free: 4.883 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005828/1.14, allocations: 410.3 kB / 1.244 GB, free: 4.48 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01048/1.15, allocations: 4.658 MB / 1.248 GB, free: 15.81 MB / 0.9825 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.04169/1.192, allocations: 29 MB / 1.276 GB, free: 108 kB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002262/1.194, allocations: 1.42 MB / 1.278 GB, free: 14.68 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002178/1.197, allocations: 1.482 MB / 1.279 GB, free: 13.2 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001735/1.197, allocations: 17 kB / 1.279 GB, free: 13.18 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.511e-05/1.197, allocations: 47.5 kB / 1.279 GB, free: 13.12 MB / 1.014 GB Notification: Performance of pre-optimization done (n=110): time 5.691e-06/1.197, allocations: 0 / 1.279 GB, free: 13.12 MB / 1.014 GB Notification: Performance of matching and sorting (n=179): time 0.191/1.388, allocations: 37.3 MB / 1.316 GB, free: 7.754 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.874e-05/1.388, allocations: 77.34 kB / 1.316 GB, free: 7.664 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003052/1.391, allocations: 1.427 MB / 1.317 GB, free: 6.23 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0004119/1.392, allocations: 53.7 kB / 1.317 GB, free: 6.172 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.001745/1.393, allocations: 1.586 MB / 1.319 GB, free: 4.57 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009712/1.394, allocations: 0.6429 MB / 1.319 GB, free: 3.922 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001305/1.396, allocations: 383.5 kB / 1.32 GB, free: 3.539 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001896/1.396, allocations: 301.1 kB / 1.32 GB, free: 3.242 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003833/1.4, allocations: 1.784 MB / 1.322 GB, free: 1.453 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004559/1.404, allocations: 2.35 MB / 1.324 GB, free: 14.85 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008754/1.413, allocations: 4.387 MB / 1.328 GB, free: 10.23 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.081e-05/1.413, allocations: 4 kB / 1.328 GB, free: 10.22 MB / 1.061 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.02372/1.437, allocations: 8.58 MB / 1.337 GB, free: 1.605 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 4.204e-05/1.437, allocations: 12 kB / 1.337 GB, free: 1.594 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.353e-05/1.437, allocations: 24.14 kB / 1.337 GB, free: 1.57 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0149/1.452, allocations: 4.627 MB / 1.341 GB, free: 12.93 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001359/1.453, allocations: 307.4 kB / 1.342 GB, free: 12.62 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04982/1.503, allocations: 32.61 MB / 1.373 GB, free: 11.16 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002428/1.506, allocations: 144 kB / 1.374 GB, free: 11.02 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004527/1.506, allocations: 91.92 kB / 1.374 GB, free: 10.93 MB / 1.107 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.002508/1.509, allocations: 1.332 MB / 1.375 GB, free: 9.582 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005523/1.509, allocations: 202.7 kB / 1.375 GB, free: 9.383 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01795/1.527, allocations: 8.449 MB / 1.383 GB, free: 0.8867 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.674e-05/1.527, allocations: 20 kB / 1.383 GB, free: 0.8672 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.285e-05/1.527, allocations: 27.94 kB / 1.383 GB, free: 0.8398 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.3e-05/1.527, allocations: 7.969 kB / 1.383 GB, free: 0.832 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02713/1.554, allocations: 12.85 MB / 1.396 GB, free: 3.812 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.517e-05/1.555, allocations: 4 kB / 1.396 GB, free: 3.809 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007751/1.555, allocations: 171.7 kB / 1.396 GB, free: 3.641 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01429/1.57, allocations: 4.477 MB / 1.401 GB, free: 15.15 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003043/1.57, allocations: 40 kB / 1.401 GB, free: 15.11 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04742/1.617, allocations: 32.23 MB / 1.432 GB, free: 14.02 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-05/1.617, allocations: 15.92 kB / 1.432 GB, free: 14 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01784/1.635, allocations: 8.249 MB / 1.44 GB, free: 5.633 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001939/1.637, allocations: 0.6206 MB / 1.441 GB, free: 4.992 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005717/1.638, allocations: 43.98 kB / 1.441 GB, free: 4.949 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001763/1.64, allocations: 131.8 kB / 1.441 GB, free: 4.82 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008898/1.641, allocations: 172.9 kB / 1.441 GB, free: 4.648 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001813/1.641, allocations: 48 kB / 1.441 GB, free: 4.602 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.001578/1.642, allocations: 0.9588 MB / 1.442 GB, free: 3.648 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.41e-07/1.642, allocations: 0 / 1.442 GB, free: 3.648 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.003567/1.646, allocations: 1.121 MB / 1.443 GB, free: 2.527 MB / 1.17 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.0004027/1.646, allocations: 147.1 kB / 1.443 GB, free: 2.375 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0129/1.659, allocations: 6.563 MB / 1.45 GB, free: 11.73 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 1.408e-05/1.659, allocations: 3.938 kB / 1.45 GB, free: 11.73 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.01017/1.669, allocations: 4.362 MB / 1.454 GB, free: 7.285 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003684/1.673, allocations: 0.5299 MB / 1.454 GB, free: 6.77 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01333/1.687, allocations: 6.893 MB / 1.461 GB, free: 15.78 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003771/1.69, allocations: 2.731 MB / 1.464 GB, free: 13.01 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.001222/1.692, allocations: 388.5 kB / 1.464 GB, free: 12.63 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003155/1.692, allocations: 95.44 kB / 1.464 GB, free: 12.54 MB / 1.201 GB Notification: Performance of SimCode: time 7.31e-07/1.692, allocations: 0 / 1.464 GB, free: 12.54 MB / 1.201 GB Notification: Performance of Templates: time 0.1015/1.793, allocations: 61.15 MB / 1.524 GB, free: 15.66 MB / 1.264 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