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.001452/0.001452, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001666/0.001666, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.407/1.407, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.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.665/2.665, allocations: 437 MB / 0.7104 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00141/0.00141, allocations: 63.91 kB / 0.8692 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7815/0.7829, allocations: 151.6 MB / 1.017 GB, free: 2.477 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.02737/0.8104, allocations: 22.6 MB / 1.039 GB, free: 11.8 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.01118/0.8216, allocations: 6.233 MB / 1.045 GB, free: 5.555 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002541/0.8242, allocations: 91.56 kB / 1.046 GB, free: 5.465 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.004412/0.8286, allocations: 1.543 MB / 1.047 GB, free: 3.918 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.004753/0.8334, allocations: 1.614 MB / 1.049 GB, free: 2.297 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.004192/0.8376, allocations: 1.345 MB / 1.05 GB, free: 0.9531 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.008933/0.8466, allocations: 5.947 MB / 1.056 GB, free: 10.99 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01161/0.8582, allocations: 6.101 MB / 1.062 GB, free: 4.805 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005102/0.8634, allocations: 2.403 MB / 1.064 GB, free: 2.395 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005483/0.8689, allocations: 2.866 MB / 1.067 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.001544/0.8705, allocations: 460 kB / 1.067 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003458/0.8739, allocations: 1.096 MB / 1.068 GB, free: 13.97 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.003007/0.877, allocations: 2.027 MB / 1.07 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.003672/0.8807, allocations: 2.167 MB / 1.072 GB, free: 9.766 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.008298/0.889, allocations: 7.253 MB / 1.08 GB, free: 2.492 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.655e-06/0.889, allocations: 0 / 1.08 GB, free: 2.492 MB / 0.8262 GB Notification: Performance of FrontEnd: time 5.2e-06/0.889, allocations: 0 / 1.08 GB, free: 2.492 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 0.0002521/0.8893, allocations: 3.938 kB / 1.08 GB, free: 2.488 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.01017/0.8995, allocations: 3.816 MB / 1.083 GB, free: 14.61 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.751e-05/0.8995, allocations: 8.031 kB / 1.083 GB, free: 14.6 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006802/0.9063, allocations: 1.21 MB / 1.084 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006121/0.9125, allocations: 2.219 MB / 1.087 GB, free: 11.11 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002754/0.9128, allocations: 242.4 kB / 1.087 GB, free: 10.87 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001362/0.9142, allocations: 316 kB / 1.087 GB, free: 10.56 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01385/0.9281, allocations: 6.212 MB / 1.093 GB, free: 4.094 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001536/0.9283, allocations: 19.78 kB / 1.093 GB, free: 4.074 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001037/0.9293, allocations: 139.9 kB / 1.093 GB, free: 3.938 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006607/0.93, allocations: 410.3 kB / 1.094 GB, free: 3.535 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01029/0.9403, allocations: 4.658 MB / 1.098 GB, free: 14.87 MB / 0.8575 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.03781/0.9781, allocations: 29.13 MB / 1.127 GB, free: 15.02 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002261/0.9804, allocations: 1.42 MB / 1.128 GB, free: 13.59 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002148/0.9826, allocations: 1.487 MB / 1.13 GB, free: 12.1 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001659/0.9828, allocations: 13 kB / 1.13 GB, free: 12.09 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.633e-05/0.9829, allocations: 51.48 kB / 1.13 GB, free: 12.02 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=110): time 3.828e-06/0.9829, allocations: 0 / 1.13 GB, free: 12.02 MB / 0.8887 GB Notification: Performance of matching and sorting (n=179): time 0.1521/1.135, allocations: 37.23 MB / 1.166 GB, free: 6.715 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.419e-05/1.135, allocations: 69.41 kB / 1.166 GB, free: 6.637 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002421/1.138, allocations: 1.423 MB / 1.167 GB, free: 5.207 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0003413/1.138, allocations: 53.7 kB / 1.168 GB, free: 5.148 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.001056/1.139, allocations: 1.538 MB / 1.169 GB, free: 3.59 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008071/1.14, allocations: 0.6123 MB / 1.17 GB, free: 2.969 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001003/1.141, allocations: 387.3 kB / 1.17 GB, free: 2.582 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001079/1.141, allocations: 301.1 kB / 1.17 GB, free: 2.285 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002628/1.144, allocations: 1.788 MB / 1.172 GB, free: 0.4922 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003064/1.147, allocations: 2.35 MB / 1.174 GB, free: 13.89 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005949/1.153, allocations: 4.383 MB / 1.179 GB, free: 9.266 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.08e-05/1.153, allocations: 4 kB / 1.179 GB, free: 9.262 MB / 0.9356 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01848/1.171, allocations: 8.563 MB / 1.187 GB, free: 0.6602 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 5.521e-05/1.171, allocations: 12 kB / 1.187 GB, free: 0.6484 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.545e-05/1.171, allocations: 19.94 kB / 1.187 GB, free: 0.6289 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01524/1.187, allocations: 4.669 MB / 1.192 GB, free: 11.94 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001266/1.188, allocations: 307.4 kB / 1.192 GB, free: 11.64 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04957/1.237, allocations: 32.62 MB / 1.224 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002366/1.24, allocations: 151.8 kB / 1.224 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000421/1.24, allocations: 84 kB / 1.224 GB, free: 9.941 MB / 0.9825 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.002936/1.243, allocations: 1.332 MB / 1.225 GB, free: 8.598 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006564/1.244, allocations: 197.7 kB / 1.225 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01814/1.262, allocations: 8.429 MB / 1.234 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.808e-05/1.262, allocations: 23.94 kB / 1.234 GB, free: 15.9 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001066/1.262, allocations: 27.94 kB / 1.234 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-05/1.262, allocations: 11.97 kB / 1.234 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02627/1.289, allocations: 12.84 MB / 1.246 GB, free: 2.848 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.917e-05/1.289, allocations: 4.844 kB / 1.246 GB, free: 2.844 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007585/1.289, allocations: 163.7 kB / 1.246 GB, free: 2.684 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.5169/1.806, allocations: 4.521 MB / 1.251 GB, free: 212.2 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003183/1.807, allocations: 37.69 kB / 1.251 GB, free: 212.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04674/1.853, allocations: 32.22 MB / 1.282 GB, free: 197.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.083e-06/1.853, allocations: 14 kB / 1.282 GB, free: 197.5 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01523/1.869, allocations: 8.241 MB / 1.29 GB, free: 194.9 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00153/1.87, allocations: 0.6184 MB / 1.291 GB, free: 194.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004044/1.871, allocations: 38.86 kB / 1.291 GB, free: 194.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001415/1.872, allocations: 135.3 kB / 1.291 GB, free: 194.6 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008512/1.873, allocations: 175.9 kB / 1.291 GB, free: 194.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001266/1.873, allocations: 50.62 kB / 1.291 GB, free: 194.5 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001083/1.874, allocations: 0.9578 MB / 1.292 GB, free: 194.2 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/1.874, allocations: 3.938 kB / 1.292 GB, free: 194.2 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002931/1.877, allocations: 1.114 MB / 1.293 GB, free: 194.1 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.0002654/1.877, allocations: 155.1 kB / 1.294 GB, free: 194 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01143/1.889, allocations: 7.052 MB / 1.3 GB, free: 190.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 8.587e-06/1.889, allocations: 0 / 1.3 GB, free: 190.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.008296/1.897, allocations: 4.365 MB / 1.305 GB, free: 186.1 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002796/1.9, allocations: 0.5253 MB / 1.305 GB, free: 185.6 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01379/1.914, allocations: 6.893 MB / 1.312 GB, free: 178.7 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002888/1.917, allocations: 2.723 MB / 1.315 GB, free: 175.9 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001207/1.918, allocations: 388.6 kB / 1.315 GB, free: 175.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002983/1.918, allocations: 95.42 kB / 1.315 GB, free: 175.4 MB / 0.9981 GB Notification: Performance of SimCode: time 9.92e-07/1.918, allocations: 0 / 1.315 GB, free: 175.4 MB / 0.9981 GB Notification: Performance of Templates: time 0.08474/2.003, allocations: 60.51 MB / 1.374 GB, free: 115.2 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