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.001077/0.001078, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001262/0.001262, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.491/1.491, allocations: 223.3 MB / 240 MB, free: 5.402 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.766/2.766, allocations: 437.7 MB / 0.7117 GB, free: 7.137 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003781/0.0003782, allocations: 8 kB / 0.8722 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8733/0.8737, allocations: 153.8 MB / 1.022 GB, free: 92 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.01194/0.8857, allocations: 9.031 MB / 1.031 GB, free: 7.031 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.005998/0.8917, allocations: 2.902 MB / 1.034 GB, free: 4.121 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001108/0.8929, allocations: 31.81 kB / 1.034 GB, free: 4.09 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.000788/0.8937, allocations: 174.7 kB / 1.034 GB, free: 3.918 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.002098/0.8958, allocations: 0.5873 MB / 1.035 GB, free: 3.328 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.00179/0.8976, allocations: 427.2 kB / 1.035 GB, free: 2.91 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.004669/0.9023, allocations: 3.186 MB / 1.038 GB, free: 15.71 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005226/0.9076, allocations: 2.683 MB / 1.041 GB, free: 13 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001973/0.9095, allocations: 0.8679 MB / 1.042 GB, free: 12.12 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002706/0.9123, allocations: 1.25 MB / 1.043 GB, free: 10.87 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.000623/0.9129, allocations: 107.9 kB / 1.043 GB, free: 10.77 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001517/0.9144, allocations: 243.8 kB / 1.043 GB, free: 10.53 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.001649/0.9161, allocations: 0.8419 MB / 1.044 GB, free: 9.684 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0009724/0.9171, allocations: 360.8 kB / 1.045 GB, free: 9.324 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.003602/0.9207, allocations: 2.792 MB / 1.047 GB, free: 6.527 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.9207, allocations: 0 / 1.047 GB, free: 6.527 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.703e-06/0.9207, allocations: 0 / 1.047 GB, free: 6.527 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.000114/0.9208, allocations: 0 / 1.047 GB, free: 6.527 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.004112/0.925, allocations: 1.625 MB / 1.049 GB, free: 4.848 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.843e-05/0.925, allocations: 12.56 kB / 1.049 GB, free: 4.836 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0056/0.9306, allocations: 0.8835 MB / 1.05 GB, free: 3.949 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003141/0.9338, allocations: 1.105 MB / 1.051 GB, free: 2.801 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001619/0.934, allocations: 110.9 kB / 1.051 GB, free: 2.691 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008678/0.9348, allocations: 140 kB / 1.051 GB, free: 2.555 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008598/0.9435, allocations: 3.005 MB / 1.054 GB, free: 15.45 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-05/0.9436, allocations: 4 kB / 1.054 GB, free: 15.45 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005498/0.9441, allocations: 63.97 kB / 1.054 GB, free: 15.38 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000372/0.9445, allocations: 186.9 kB / 1.054 GB, free: 15.2 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00685/0.9514, allocations: 2.592 MB / 1.057 GB, free: 12.6 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.01945/0.9709, allocations: 13.52 MB / 1.07 GB, free: 13.99 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001908/0.9728, allocations: 1.29 MB / 1.071 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001376/0.9742, allocations: 1.055 MB / 1.072 GB, free: 11.63 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 7.506e-05/0.9743, allocations: 8.656 kB / 1.072 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.381e-05/0.9743, allocations: 47.16 kB / 1.072 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=82): time 2.906e-06/0.9743, allocations: 0 / 1.072 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of matching and sorting (n=139): time 0.06512/1.039, allocations: 19.43 MB / 1.091 GB, free: 7.992 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.757e-05/1.04, allocations: 68.72 kB / 1.091 GB, free: 7.91 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001401/1.041, allocations: 0.9105 MB / 1.092 GB, free: 6.988 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0002062/1.041, allocations: 49.7 kB / 1.092 GB, free: 6.934 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006067/1.042, allocations: 0.7283 MB / 1.093 GB, free: 6.191 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006789/1.043, allocations: 489 kB / 1.093 GB, free: 5.707 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001737/1.043, allocations: 32 kB / 1.093 GB, free: 5.676 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0002146/1.043, allocations: 418.7 kB / 1.094 GB, free: 5.258 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001966/1.045, allocations: 1.327 MB / 1.095 GB, free: 3.93 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002311/1.047, allocations: 1.651 MB / 1.097 GB, free: 2.164 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002375/1.05, allocations: 1.56 MB / 1.098 GB, free: 0.6016 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.454e-05/1.05, allocations: 4 kB / 1.098 GB, free: 0.5977 MB / 0.8419 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01165/1.061, allocations: 5.617 MB / 1.104 GB, free: 10.95 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.505e-05/1.061, allocations: 10.03 kB / 1.104 GB, free: 10.95 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.027e-05/1.061, allocations: 8 kB / 1.104 GB, free: 10.94 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008085/1.069, allocations: 2.727 MB / 1.106 GB, free: 8.199 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008269/1.07, allocations: 191.6 kB / 1.107 GB, free: 8.012 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03498/1.105, allocations: 23.31 MB / 1.129 GB, free: 160 kB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00166/1.107, allocations: 107.8 kB / 1.13 GB, free: 52 kB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003762/1.107, allocations: 56.05 kB / 1.13 GB, free: 15.99 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(6,100.0%) 12,(6,100.0%) 12,(6,100.0%) 24,(6,100.0%) 24} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001604/1.109, allocations: 0.7315 MB / 1.13 GB, free: 15.25 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000342/1.109, allocations: 110.7 kB / 1.13 GB, free: 15.14 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01147/1.121, allocations: 5.381 MB / 1.136 GB, free: 9.734 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.997e-05/1.121, allocations: 12 kB / 1.136 GB, free: 9.723 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.179e-05/1.121, allocations: 20 kB / 1.136 GB, free: 9.703 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.067e-05/1.121, allocations: 3.984 kB / 1.136 GB, free: 9.699 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01819/1.139, allocations: 8.614 MB / 1.144 GB, free: 0.9648 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.408e-05/1.139, allocations: 11.88 kB / 1.144 GB, free: 0.9531 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004774/1.14, allocations: 115.9 kB / 1.144 GB, free: 0.8398 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007962/1.148, allocations: 2.543 MB / 1.147 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002174/1.148, allocations: 24 kB / 1.147 GB, free: 14.26 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03042/1.179, allocations: 20.85 MB / 1.167 GB, free: 8.867 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.312e-06/1.179, allocations: 4 kB / 1.167 GB, free: 8.863 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01066/1.189, allocations: 5.107 MB / 1.172 GB, free: 3.672 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001088/1.19, allocations: 487.5 kB / 1.173 GB, free: 3.176 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003288/1.191, allocations: 28 kB / 1.173 GB, free: 3.148 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000923/1.192, allocations: 75.89 kB / 1.173 GB, free: 3.074 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000506/1.192, allocations: 125 kB / 1.173 GB, free: 2.953 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001127/1.192, allocations: 32 kB / 1.173 GB, free: 2.922 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001201/1.193, allocations: 0.6395 MB / 1.173 GB, free: 2.285 MB / 0.92 GB Notification: Performance of sort global known variables: time 3.4e-07/1.194, allocations: 7.938 kB / 1.173 GB, free: 2.277 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.003442/1.197, allocations: 0.7188 MB / 1.174 GB, free: 1.559 MB / 0.92 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(6,100.0%) 12,(6,100.0%) 24,(6,100.0%) 6,(10,84.0%) 14} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000342/1.197, allocations: 143.1 kB / 1.174 GB, free: 1.406 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.008292/1.206, allocations: 4.134 MB / 1.178 GB, free: 13.22 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 7.314e-06/1.206, allocations: 4.125 kB / 1.178 GB, free: 13.21 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.005677/1.211, allocations: 2.651 MB / 1.181 GB, free: 10.51 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001677/1.213, allocations: 212.9 kB / 1.181 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008115/1.221, allocations: 4.52 MB / 1.186 GB, free: 5.723 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002491/1.224, allocations: 1.708 MB / 1.187 GB, free: 3.98 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0008772/1.225, allocations: 325.5 kB / 1.187 GB, free: 3.66 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002061/1.225, allocations: 51.44 kB / 1.188 GB, free: 3.613 MB / 0.9356 GB Notification: Performance of SimCode: time 9.42e-07/1.225, allocations: 0 / 1.188 GB, free: 3.613 MB / 0.9356 GB Notification: Performance of Templates: time 0.0645/1.289, allocations: 36.01 MB / 1.223 GB, free: 15.75 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=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/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