Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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_RLC,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_2.terminal_n.phase.1..i.1.|Rline_2.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,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_2.terminal_n.phase.1..i.1.|Rline_2.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008501/0.00085, allocations: 98.64 kB / 16.02 MB, free: 76 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.001006/0.001006, allocations: 182.8 kB / 16.92 MB, free: 6.918 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.489/1.489, allocations: 223.3 MB / 241 MB, free: 5.254 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.706/2.706, allocations: 437.8 MB / 0.7128 GB, free: 7.02 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004437/0.000444, allocations: 12 kB / 0.8735 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7176/0.718, allocations: 153.8 MB / 1.024 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.01116/0.7293, allocations: 9.537 MB / 1.033 GB, free: 6.285 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.005926/0.7352, allocations: 3.018 MB / 1.036 GB, free: 3.258 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001055/0.7363, allocations: 31.81 kB / 1.036 GB, free: 3.227 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0007943/0.7372, allocations: 190.6 kB / 1.036 GB, free: 3.039 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.002303/0.7395, allocations: 0.6497 MB / 1.037 GB, free: 2.387 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001605/0.7411, allocations: 0.5422 MB / 1.037 GB, free: 1.844 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.004563/0.7457, allocations: 4.06 MB / 1.041 GB, free: 13.77 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005124/0.7508, allocations: 3.126 MB / 1.044 GB, free: 10.59 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001858/0.7527, allocations: 0.8327 MB / 1.045 GB, free: 9.754 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002378/0.7551, allocations: 1.277 MB / 1.046 GB, free: 8.473 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0005292/0.7557, allocations: 100 kB / 1.047 GB, free: 8.375 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001562/0.7572, allocations: 451.2 kB / 1.047 GB, free: 7.934 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.001534/0.7588, allocations: 0.8457 MB / 1.048 GB, free: 7.086 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.001881/0.7607, allocations: 0.8842 MB / 1.049 GB, free: 6.191 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.003371/0.7641, allocations: 2.796 MB / 1.051 GB, free: 3.391 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 7.014e-06/0.7641, allocations: 0 / 1.051 GB, free: 3.391 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.615e-06/0.7641, allocations: 8 kB / 1.051 GB, free: 3.383 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0001172/0.7642, allocations: 0 / 1.051 GB, free: 3.383 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: 419 * Number of variables: 419 Notification: Performance of Generate backend data structure: time 0.004638/0.7689, allocations: 1.604 MB / 1.053 GB, free: 1.723 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 5.1e-05/0.769, allocations: 8.031 kB / 1.053 GB, free: 1.715 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006366/0.7753, allocations: 0.8882 MB / 1.054 GB, free: 0.8242 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002312/0.7777, allocations: 1.118 MB / 1.055 GB, free: 15.66 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001275/0.7778, allocations: 115.3 kB / 1.055 GB, free: 15.55 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006286/0.7785, allocations: 144.3 kB / 1.055 GB, free: 15.41 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006683/0.7852, allocations: 3.021 MB / 1.058 GB, free: 12.29 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.388e-05/0.7853, allocations: 4 kB / 1.058 GB, free: 12.29 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000343/0.7856, allocations: 59.97 kB / 1.058 GB, free: 12.23 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000266/0.7859, allocations: 175 kB / 1.058 GB, free: 12.05 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005012/0.7909, allocations: 2.608 MB / 1.061 GB, free: 9.441 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.01852/0.8095, allocations: 13.53 MB / 1.074 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002248/0.8117, allocations: 1.292 MB / 1.075 GB, free: 9.508 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001566/0.8133, allocations: 1.058 MB / 1.076 GB, free: 8.441 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 8.402e-05/0.8134, allocations: 8.656 kB / 1.076 GB, free: 8.434 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.847e-05/0.8135, allocations: 43.22 kB / 1.076 GB, free: 8.383 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=82): time 3.596e-06/0.8135, allocations: 3.938 kB / 1.076 GB, free: 8.379 MB / 0.8262 GB Notification: Performance of matching and sorting (n=139): time 0.07774/0.8913, allocations: 19.45 MB / 1.095 GB, free: 4.789 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.432e-05/0.8914, allocations: 72.66 kB / 1.096 GB, free: 4.707 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001443/0.8928, allocations: 0.9183 MB / 1.096 GB, free: 3.777 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0002236/0.8931, allocations: 49.7 kB / 1.096 GB, free: 3.723 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005207/0.8936, allocations: 0.7244 MB / 1.097 GB, free: 2.984 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005613/0.8942, allocations: 493 kB / 1.098 GB, free: 2.496 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002872/0.8945, allocations: 129.6 kB / 1.098 GB, free: 2.363 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.000149/0.8946, allocations: 353.9 kB / 1.098 GB, free: 2.012 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002019/0.8966, allocations: 1.331 MB / 1.099 GB, free: 0.6797 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002228/0.8989, allocations: 1.659 MB / 1.101 GB, free: 14.9 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004281/0.9032, allocations: 3.092 MB / 1.104 GB, free: 11.69 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.937e-06/0.9032, allocations: 0 / 1.104 GB, free: 11.69 MB / 0.8575 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01266/0.9159, allocations: 5.637 MB / 1.11 GB, free: 6.027 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.77e-05/0.9159, allocations: 11.98 kB / 1.11 GB, free: 6.016 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.816e-05/0.916, allocations: 15.94 kB / 1.11 GB, free: 6 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009015/0.925, allocations: 2.713 MB / 1.112 GB, free: 3.277 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008793/0.9259, allocations: 187.7 kB / 1.112 GB, free: 3.094 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03487/0.9608, allocations: 23.34 MB / 1.135 GB, free: 11.2 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001603/0.9625, allocations: 95.95 kB / 1.135 GB, free: 11.11 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002723/0.9627, allocations: 55.98 kB / 1.135 GB, free: 11.05 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (99): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(6,12,100.0%), (6,12,100.0%), (6,24,100.0%), (6,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001482/0.9642, allocations: 0.7321 MB / 1.136 GB, free: 10.31 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003285/0.9646, allocations: 114.6 kB / 1.136 GB, free: 10.2 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01221/0.9768, allocations: 5.396 MB / 1.141 GB, free: 4.773 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.142e-05/0.9769, allocations: 12 kB / 1.141 GB, free: 4.762 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.566e-05/0.9769, allocations: 20 kB / 1.141 GB, free: 4.742 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.834e-05/0.977, allocations: 7.969 kB / 1.141 GB, free: 4.734 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01777/0.9947, allocations: 8.625 MB / 1.15 GB, free: 11.98 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-05/0.9948, allocations: 4 kB / 1.15 GB, free: 11.98 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005264/0.9953, allocations: 120.2 kB / 1.15 GB, free: 11.86 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009035/1.004, allocations: 2.553 MB / 1.152 GB, free: 9.293 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002383/1.005, allocations: 24 kB / 1.153 GB, free: 9.27 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03268/1.037, allocations: 20.87 MB / 1.173 GB, free: 3.859 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.975e-06/1.037, allocations: 4 kB / 1.173 GB, free: 3.855 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01151/1.049, allocations: 5.134 MB / 1.178 GB, free: 14.64 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00102/1.05, allocations: 487.5 kB / 1.178 GB, free: 14.14 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003368/1.05, allocations: 28 kB / 1.178 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001138/1.051, allocations: 71.91 kB / 1.178 GB, free: 14.05 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005784/1.052, allocations: 125 kB / 1.179 GB, free: 13.93 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001151/1.052, allocations: 36.38 kB / 1.179 GB, free: 13.89 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.000964/1.053, allocations: 0.6434 MB / 1.179 GB, free: 13.25 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.61e-07/1.053, allocations: 0 / 1.179 GB, free: 13.25 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.002712/1.056, allocations: 0.7227 MB / 1.18 GB, free: 12.53 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (62): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(6,12,100.0%), (6,24,100.0%), (6,6,100.0%), (10,14,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003238/1.056, allocations: 143.2 kB / 1.18 GB, free: 12.38 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.007449/1.064, allocations: 4.162 MB / 1.184 GB, free: 8.16 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 7.023e-06/1.064, allocations: 0 / 1.184 GB, free: 8.16 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.005479/1.069, allocations: 2.666 MB / 1.187 GB, free: 5.445 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002086/1.071, allocations: 227.9 kB / 1.187 GB, free: 5.23 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0079/1.079, allocations: 4.938 MB / 1.192 GB, free: 240 kB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002042/1.081, allocations: 1.739 MB / 1.193 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003326/1.082, allocations: 59.44 kB / 1.194 GB, free: 14.4 MB / 0.9512 GB Notification: Performance of SimCode: time 5.71e-07/1.082, allocations: 0 / 1.194 GB, free: 14.4 MB / 0.9512 GB Notification: Performance of Templates: time 0.0746/1.156, allocations: 59.53 MB / 1.252 GB, free: 2.859 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches