Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001766/0.001766, allocations: 111 kB / 16.41 MB, free: 6.027 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.001828/0.001828, allocations: 180.2 kB / 17.34 MB, free: 5.633 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.433/1.433, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.238/2.238, allocations: 390.3 MB / 0.6655 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002074/0.002075, allocations: 63.89 kB / 0.9516 GB, free: 7.637 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8649/0.867, allocations: 140.4 MB / 1.089 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.02969/0.8967, allocations: 22.6 MB / 1.111 GB, free: 6.164 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01421/0.911, allocations: 6.221 MB / 1.117 GB, free: 1.855 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003487/0.9145, allocations: 95.5 kB / 1.117 GB, free: 1.824 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.005132/0.9197, allocations: 1.539 MB / 1.118 GB, free: 0.8906 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.006596/0.9263, allocations: 1.628 MB / 1.12 GB, free: 15.95 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.005512/0.9318, allocations: 1.352 MB / 1.121 GB, free: 15.2 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.01069/0.9426, allocations: 5.941 MB / 1.127 GB, free: 12.59 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009239/0.9518, allocations: 6.039 MB / 1.133 GB, free: 10.19 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005911/0.9578, allocations: 2.443 MB / 1.135 GB, free: 9.094 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006439/0.9643, allocations: 2.873 MB / 1.138 GB, free: 7.879 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.001962/0.9663, allocations: 457.7 kB / 1.139 GB, free: 7.879 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004276/0.9705, allocations: 1.101 MB / 1.14 GB, free: 7.629 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.004031/0.9746, allocations: 2.029 MB / 1.142 GB, free: 6.859 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.005742/0.9804, allocations: 2.162 MB / 1.144 GB, free: 5.477 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0131/0.9935, allocations: 7.302 MB / 1.151 GB, free: 2.637 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 7.824e-06/0.9935, allocations: 0 / 1.151 GB, free: 2.637 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.014e-06/0.9936, allocations: 0 / 1.151 GB, free: 2.637 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0002714/0.9938, allocations: 0 / 1.151 GB, free: 2.637 MB / 0.8887 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.01273/1.007, allocations: 3.822 MB / 1.155 GB, free: 12 kB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/1.007, allocations: 9.562 kB / 1.155 GB, free: 12 kB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007036/1.014, allocations: 1.208 MB / 1.156 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006136/1.02, allocations: 2.337 MB / 1.158 GB, free: 13.87 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002706/1.02, allocations: 243.8 kB / 1.158 GB, free: 13.76 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001223/1.021, allocations: 313.5 kB / 1.159 GB, free: 13.65 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01272/1.034, allocations: 6.214 MB / 1.165 GB, free: 9.859 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.32e-05/1.034, allocations: 14.22 kB / 1.165 GB, free: 9.852 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004351/1.035, allocations: 141.5 kB / 1.165 GB, free: 9.746 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006043/1.035, allocations: 408.2 kB / 1.165 GB, free: 9.617 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009288/1.045, allocations: 4.669 MB / 1.17 GB, free: 7.223 MB / 0.9044 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.03875/1.083, allocations: 28.94 MB / 1.198 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002266/1.086, allocations: 1.424 MB / 1.199 GB, free: 9.543 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002045/1.088, allocations: 1.483 MB / 1.201 GB, free: 8.055 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000126/1.088, allocations: 13 kB / 1.201 GB, free: 8.043 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.629e-05/1.088, allocations: 47.5 kB / 1.201 GB, free: 7.988 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=110): time 3.807e-06/1.088, allocations: 0 / 1.201 GB, free: 7.988 MB / 0.9356 GB Notification: Performance of matching and sorting (n=179): time 0.1301/1.218, allocations: 37.24 MB / 1.237 GB, free: 2.668 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.45e-05/1.218, allocations: 77.41 kB / 1.237 GB, free: 2.582 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002392/1.221, allocations: 1.415 MB / 1.239 GB, free: 1.16 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0002884/1.221, allocations: 57.7 kB / 1.239 GB, free: 1.098 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.001196/1.222, allocations: 1.535 MB / 1.24 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006659/1.223, allocations: 0.6161 MB / 1.241 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007538/1.224, allocations: 387.3 kB / 1.241 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001268/1.224, allocations: 301.1 kB / 1.242 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00275/1.226, allocations: 1.784 MB / 1.243 GB, free: 12.44 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003142/1.23, allocations: 2.35 MB / 1.246 GB, free: 9.832 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005954/1.236, allocations: 4.387 MB / 1.25 GB, free: 5.203 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.488e-05/1.236, allocations: 8 kB / 1.25 GB, free: 5.195 MB / 0.9825 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01814/1.254, allocations: 8.567 MB / 1.258 GB, free: 12.59 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.62e-05/1.254, allocations: 16 kB / 1.258 GB, free: 12.57 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.938e-05/1.254, allocations: 20 kB / 1.258 GB, free: 12.55 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01481/1.269, allocations: 4.639 MB / 1.263 GB, free: 7.898 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001257/1.27, allocations: 303.4 kB / 1.263 GB, free: 7.602 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04799/1.318, allocations: 32.59 MB / 1.295 GB, free: 6.16 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002626/1.321, allocations: 151.8 kB / 1.295 GB, free: 6.012 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002877/1.321, allocations: 91.92 kB / 1.295 GB, free: 5.922 MB / 1.029 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.002909/1.324, allocations: 1.325 MB / 1.296 GB, free: 4.586 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005436/1.324, allocations: 201.6 kB / 1.297 GB, free: 4.387 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01801/1.343, allocations: 8.437 MB / 1.305 GB, free: 11.9 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.221e-05/1.343, allocations: 16 kB / 1.305 GB, free: 11.89 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.289e-05/1.343, allocations: 31.94 kB / 1.305 GB, free: 11.86 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.643e-05/1.343, allocations: 7.969 kB / 1.305 GB, free: 11.85 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02584/1.369, allocations: 12.84 MB / 1.318 GB, free: 14.84 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.331e-05/1.369, allocations: 8 kB / 1.318 GB, free: 14.83 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007914/1.369, allocations: 171.7 kB / 1.318 GB, free: 14.66 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01564/1.385, allocations: 4.486 MB / 1.322 GB, free: 10.16 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003636/1.385, allocations: 36 kB / 1.322 GB, free: 10.12 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04801/1.434, allocations: 32.19 MB / 1.354 GB, free: 9.078 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.105e-06/1.434, allocations: 11.94 kB / 1.354 GB, free: 9.066 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01673/1.45, allocations: 8.24 MB / 1.362 GB, free: 0.6992 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001696/1.452, allocations: 0.6156 MB / 1.362 GB, free: 64 kB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004323/1.452, allocations: 39.98 kB / 1.362 GB, free: 24 kB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00138/1.454, allocations: 131.8 kB / 1.362 GB, free: 15.89 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008061/1.455, allocations: 176.9 kB / 1.363 GB, free: 15.72 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001375/1.455, allocations: 52 kB / 1.363 GB, free: 15.67 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.001387/1.456, allocations: 0.9549 MB / 1.364 GB, free: 14.72 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.4e-07/1.456, allocations: 0 / 1.364 GB, free: 14.72 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.004269/1.46, allocations: 1.121 MB / 1.365 GB, free: 13.6 MB / 1.107 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.0003714/1.461, allocations: 152.2 kB / 1.365 GB, free: 13.44 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.01283/1.474, allocations: 6.543 MB / 1.371 GB, free: 6.824 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 1.248e-05/1.474, allocations: 0 / 1.371 GB, free: 6.824 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.009453/1.483, allocations: 4.366 MB / 1.375 GB, free: 2.375 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003226/1.487, allocations: 0.5156 MB / 1.376 GB, free: 1.871 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01405/1.501, allocations: 7.312 MB / 1.383 GB, free: 10.45 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003363/1.504, allocations: 2.804 MB / 1.386 GB, free: 7.613 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000452/1.504, allocations: 107.4 kB / 1.386 GB, free: 7.508 MB / 1.123 GB Notification: Performance of SimCode: time 6.32e-07/1.505, allocations: 0 / 1.386 GB, free: 7.508 MB / 1.123 GB Notification: Performance of Templates: time 0.1693/1.674, allocations: 154.2 MB / 1.537 GB, free: 13.2 MB / 1.279 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches