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.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_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.002283/0.002283, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002383/0.002383, allocations: 190.8 kB / 16.25 MB, free: 6.629 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.534/1.534, allocations: 222.9 MB / 239.9 MB, free: 4.516 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.804/2.804, allocations: 437 MB / 0.7101 GB, free: 5.238 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002153/0.002154, allocations: 71.88 kB / 0.8688 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7468/0.749, allocations: 151.6 MB / 1.017 GB, free: 2.711 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.01315/0.7622, allocations: 9.984 MB / 1.027 GB, free: 8.691 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.006076/0.7683, allocations: 3.025 MB / 1.03 GB, free: 5.656 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008085/0.7692, allocations: 31.81 kB / 1.03 GB, free: 5.625 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001893/0.7711, allocations: 0.6303 MB / 1.03 GB, free: 4.992 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.001699/0.7728, allocations: 0.6381 MB / 1.031 GB, free: 4.352 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001603/0.7744, allocations: 0.5963 MB / 1.031 GB, free: 3.758 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.003279/0.7777, allocations: 2.742 MB / 1.034 GB, free: 1.008 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004543/0.7823, allocations: 3.067 MB / 1.037 GB, free: 13.9 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002017/0.7843, allocations: 1.141 MB / 1.038 GB, free: 12.75 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002234/0.7866, allocations: 1.465 MB / 1.04 GB, free: 11.29 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0003374/0.7869, allocations: 220 kB / 1.04 GB, free: 11.07 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009834/0.7879, allocations: 495.3 kB / 1.04 GB, free: 10.59 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.000991/0.7889, allocations: 0.9785 MB / 1.041 GB, free: 9.605 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.001109/0.79, allocations: 1.015 MB / 1.042 GB, free: 8.586 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.003341/0.7934, allocations: 3.408 MB / 1.046 GB, free: 5.168 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.7934, allocations: 15.88 kB / 1.046 GB, free: 5.152 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.854e-06/0.7934, allocations: 0 / 1.046 GB, free: 5.152 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.396e-05/0.7934, allocations: 0 / 1.046 GB, free: 5.152 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.003634/0.7971, allocations: 1.936 MB / 1.047 GB, free: 3.152 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.7971, allocations: 8.031 kB / 1.047 GB, free: 3.145 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005762/0.8029, allocations: 0.8844 MB / 1.048 GB, free: 2.258 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002222/0.8051, allocations: 1.122 MB / 1.049 GB, free: 1.094 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000102/0.8053, allocations: 111.3 kB / 1.05 GB, free: 0.9844 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003202/0.8056, allocations: 144.3 kB / 1.05 GB, free: 0.8438 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005243/0.8108, allocations: 3.021 MB / 1.053 GB, free: 13.72 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.956e-05/0.8109, allocations: 3.938 kB / 1.053 GB, free: 13.72 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001944/0.8111, allocations: 63.97 kB / 1.053 GB, free: 13.66 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002397/0.8114, allocations: 179 kB / 1.053 GB, free: 13.48 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004312/0.8157, allocations: 2.604 MB / 1.055 GB, free: 10.87 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.01786/0.8336, allocations: 13.56 MB / 1.069 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002162/0.8357, allocations: 1.296 MB / 1.07 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001582/0.8373, allocations: 1.05 MB / 1.071 GB, free: 9.848 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 7.923e-05/0.8374, allocations: 12.64 kB / 1.071 GB, free: 9.836 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.667e-05/0.8375, allocations: 47.22 kB / 1.071 GB, free: 9.781 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=82): time 3.096e-06/0.8375, allocations: 0 / 1.071 GB, free: 9.781 MB / 0.8262 GB Notification: Performance of matching and sorting (n=139): time 0.07332/0.9108, allocations: 19.37 MB / 1.09 GB, free: 6.262 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.532e-05/0.9109, allocations: 64.72 kB / 1.09 GB, free: 6.188 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001351/0.9123, allocations: 0.9222 MB / 1.091 GB, free: 5.258 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0001777/0.9125, allocations: 45.7 kB / 1.091 GB, free: 5.207 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005804/0.9131, allocations: 0.7361 MB / 1.092 GB, free: 4.457 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004988/0.9136, allocations: 489 kB / 1.092 GB, free: 3.973 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000619/0.9142, allocations: 295.3 kB / 1.092 GB, free: 3.676 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001785/0.9144, allocations: 349.9 kB / 1.093 GB, free: 3.328 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002069/0.9165, allocations: 1.335 MB / 1.094 GB, free: 1.992 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002263/0.9187, allocations: 1.659 MB / 1.096 GB, free: 220 kB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004395/0.9231, allocations: 3.088 MB / 1.099 GB, free: 13 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.875e-06/0.9231, allocations: 4 kB / 1.099 GB, free: 13 MB / 0.8575 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01249/0.9356, allocations: 5.632 MB / 1.104 GB, free: 7.34 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.162e-05/0.9357, allocations: 14.34 kB / 1.104 GB, free: 7.328 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.901e-05/0.9357, allocations: 11.94 kB / 1.104 GB, free: 7.316 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009323/0.9451, allocations: 2.738 MB / 1.107 GB, free: 4.566 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00093/0.946, allocations: 195.7 kB / 1.107 GB, free: 4.375 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.041/0.987, allocations: 25.73 MB / 1.132 GB, free: 10.07 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00156/0.9886, allocations: 95.95 kB / 1.132 GB, free: 9.98 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001715/0.9888, allocations: 55.98 kB / 1.132 GB, free: 9.926 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.001411/0.9902, allocations: 0.7393 MB / 1.133 GB, free: 9.176 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002705/0.9905, allocations: 114.6 kB / 1.133 GB, free: 9.062 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01223/1.003, allocations: 5.396 MB / 1.138 GB, free: 3.641 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.111e-05/1.003, allocations: 12 kB / 1.138 GB, free: 3.629 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.935e-05/1.003, allocations: 27.98 kB / 1.138 GB, free: 3.602 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-05/1.003, allocations: 3.984 kB / 1.138 GB, free: 3.598 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01805/1.021, allocations: 8.64 MB / 1.147 GB, free: 10.83 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-05/1.021, allocations: 384 / 1.147 GB, free: 10.83 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004879/1.022, allocations: 119.8 kB / 1.147 GB, free: 10.71 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008719/1.03, allocations: 2.56 MB / 1.15 GB, free: 8.141 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001958/1.03, allocations: 35.98 kB / 1.15 GB, free: 8.105 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03588/1.066, allocations: 23.01 MB / 1.172 GB, free: 0.5352 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.452e-06/1.066, allocations: 4 kB / 1.172 GB, free: 0.5312 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01155/1.078, allocations: 5.134 MB / 1.177 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001174/1.079, allocations: 475.5 kB / 1.177 GB, free: 10.83 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003086/1.08, allocations: 24 kB / 1.178 GB, free: 10.81 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001033/1.081, allocations: 83.89 kB / 1.178 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008329/1.081, allocations: 121 kB / 1.178 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001229/1.082, allocations: 36 kB / 1.178 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001151/1.083, allocations: 0.6473 MB / 1.178 GB, free: 9.93 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.4e-07/1.083, allocations: 0 / 1.178 GB, free: 9.93 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.003001/1.086, allocations: 0.7188 MB / 1.179 GB, free: 9.211 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.0003182/1.086, allocations: 140.6 kB / 1.179 GB, free: 9.062 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.008704/1.095, allocations: 4.727 MB / 1.184 GB, free: 4.281 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.598e-06/1.095, allocations: 64 / 1.184 GB, free: 4.281 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.005383/1.1, allocations: 2.654 MB / 1.186 GB, free: 1.574 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001431/1.102, allocations: 231 kB / 1.187 GB, free: 1.359 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008339/1.11, allocations: 4.675 MB / 1.191 GB, free: 12.63 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001869/1.112, allocations: 1.708 MB / 1.193 GB, free: 10.89 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0009175/1.113, allocations: 333.4 kB / 1.193 GB, free: 10.56 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002578/1.113, allocations: 55.44 kB / 1.193 GB, free: 10.5 MB / 0.9512 GB Notification: Performance of SimCode: time 1.243e-06/1.113, allocations: 0 / 1.193 GB, free: 10.5 MB / 0.9512 GB Notification: Performance of Templates: time 0.07093/1.184, allocations: 39.5 MB / 1.232 GB, free: 3.156 MB / 0.9825 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=400 -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/jenkins/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