Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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_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_9_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_9_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.00155/0.00155, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001298/0.001299, allocations: 189.2 kB / 16.25 MB, free: 6.59 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.399/1.399, allocations: 222.9 MB / 239.9 MB, free: 4.504 MB / 190.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.441/2.441, allocations: 390.2 MB / 0.6644 GB, free: 0.5625 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 71.89 kB / 0.8121 GB, free: 14.76 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.779/0.7804, allocations: 140.3 MB / 0.9491 GB, free: 9.16 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.01165/0.7921, allocations: 9.991 MB / 0.9589 GB, free: 1.473 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.006799/0.7989, allocations: 3.017 MB / 0.9618 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002572/0.8016, allocations: 32.81 kB / 0.9618 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.003045/0.8047, allocations: 0.6317 MB / 0.9625 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0032/0.8079, allocations: 0.6398 MB / 0.9631 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.00195/0.8099, allocations: 0.5878 MB / 0.9637 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.00418/0.8141, allocations: 2.74 MB / 0.9663 GB, free: 12.13 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005556/0.8197, allocations: 3.067 MB / 0.9693 GB, free: 10.57 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002469/0.8222, allocations: 1.145 MB / 0.9704 GB, free: 9.918 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002978/0.8252, allocations: 1.474 MB / 0.9719 GB, free: 9.074 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.001009/0.8262, allocations: 216.8 kB / 0.9721 GB, free: 9.074 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001994/0.8282, allocations: 486.3 kB / 0.9726 GB, free: 8.938 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.001872/0.8301, allocations: 0.9822 MB / 0.9735 GB, free: 8.332 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001797/0.8319, allocations: 1.015 MB / 0.9745 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.003985/0.8359, allocations: 3.408 MB / 0.9778 GB, free: 4.586 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 9.568e-06/0.8359, allocations: 0 / 0.9778 GB, free: 4.586 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.264e-06/0.8359, allocations: 0 / 0.9778 GB, free: 4.586 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.099e-05/0.836, allocations: 3.938 kB / 0.9778 GB, free: 4.582 MB / 0.7325 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.005108/0.8412, allocations: 1.953 MB / 0.9797 GB, free: 2.57 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 6.116e-05/0.8412, allocations: 12.02 kB / 0.9798 GB, free: 2.559 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005774/0.847, allocations: 0.8805 MB / 0.9806 GB, free: 1.676 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002245/0.8493, allocations: 1.118 MB / 0.9817 GB, free: 0.5117 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.239e-05/0.8494, allocations: 107.3 kB / 0.9818 GB, free: 416 kB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002896/0.8497, allocations: 140.3 kB / 0.9819 GB, free: 276 kB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005292/0.855, allocations: 3.025 MB / 0.9849 GB, free: 13.14 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.505e-05/0.8551, allocations: 4 kB / 0.9849 GB, free: 13.14 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001951/0.8553, allocations: 59.97 kB / 0.985 GB, free: 13.08 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002292/0.8555, allocations: 182.9 kB / 0.9851 GB, free: 12.9 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004085/0.8596, allocations: 2.604 MB / 0.9877 GB, free: 10.29 MB / 0.7481 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.01651/0.8761, allocations: 13.57 MB / 1.001 GB, free: 11.62 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001968/0.8781, allocations: 1.292 MB / 1.002 GB, free: 10.32 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001408/0.8796, allocations: 1.052 MB / 1.003 GB, free: 9.262 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 8.172e-05/0.8797, allocations: 8.656 kB / 1.003 GB, free: 9.25 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.741e-05/0.8797, allocations: 43.14 kB / 1.003 GB, free: 9.199 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=82): time 2.936e-06/0.8797, allocations: 0 / 1.003 GB, free: 9.199 MB / 0.7637 GB Notification: Performance of matching and sorting (n=139): time 0.07095/0.9507, allocations: 19.4 MB / 1.022 GB, free: 5.664 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.724e-05/0.9507, allocations: 64.72 kB / 1.022 GB, free: 5.59 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001237/0.952, allocations: 0.9183 MB / 1.023 GB, free: 4.66 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0002327/0.9522, allocations: 49.7 kB / 1.023 GB, free: 4.605 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004671/0.9527, allocations: 0.7322 MB / 1.024 GB, free: 3.859 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004224/0.9531, allocations: 492.9 kB / 1.024 GB, free: 3.371 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005609/0.9537, allocations: 287.5 kB / 1.025 GB, free: 3.082 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001326/0.9539, allocations: 357.9 kB / 1.025 GB, free: 2.727 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001886/0.9557, allocations: 1.335 MB / 1.026 GB, free: 1.391 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002056/0.9578, allocations: 1.659 MB / 1.028 GB, free: 15.62 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00401/0.9618, allocations: 3.08 MB / 1.031 GB, free: 12.42 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-06/0.9619, allocations: 8 kB / 1.031 GB, free: 12.41 MB / 0.795 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01165/0.9735, allocations: 5.641 MB / 1.036 GB, free: 6.746 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 3.182e-05/0.9736, allocations: 8 kB / 1.036 GB, free: 6.738 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.058e-05/0.9736, allocations: 11.94 kB / 1.036 GB, free: 6.727 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008965/0.9826, allocations: 2.735 MB / 1.039 GB, free: 3.98 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008452/0.9835, allocations: 195.6 kB / 1.039 GB, free: 3.789 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03544/1.019, allocations: 25.72 MB / 1.064 GB, free: 9.496 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001512/1.02, allocations: 99.89 kB / 1.065 GB, free: 9.398 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001621/1.021, allocations: 56 kB / 1.065 GB, free: 9.344 MB / 0.8262 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.001192/1.022, allocations: 0.7315 MB / 1.065 GB, free: 8.602 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002698/1.022, allocations: 118.6 kB / 1.065 GB, free: 8.484 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01136/1.033, allocations: 5.4 MB / 1.071 GB, free: 3.055 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.017e-05/1.034, allocations: 16 kB / 1.071 GB, free: 3.039 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.205e-05/1.034, allocations: 16 kB / 1.071 GB, free: 3.023 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.831e-05/1.034, allocations: 11.91 kB / 1.071 GB, free: 3.012 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01635/1.05, allocations: 8.637 MB / 1.079 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.882e-05/1.05, allocations: 4 kB / 1.079 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005484/1.051, allocations: 119.8 kB / 1.079 GB, free: 10.13 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008791/1.059, allocations: 2.551 MB / 1.082 GB, free: 7.57 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002413/1.06, allocations: 28 kB / 1.082 GB, free: 7.543 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03241/1.092, allocations: 23.02 MB / 1.104 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.043e-06/1.092, allocations: 4 kB / 1.104 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01086/1.103, allocations: 5.13 MB / 1.109 GB, free: 10.73 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001148/1.104, allocations: 479.5 kB / 1.11 GB, free: 10.24 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002302/1.104, allocations: 35.98 kB / 1.11 GB, free: 10.21 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000883/1.105, allocations: 75.91 kB / 1.11 GB, free: 10.13 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005836/1.106, allocations: 124.9 kB / 1.11 GB, free: 10.01 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001079/1.106, allocations: 36 kB / 1.11 GB, free: 9.977 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.000869/1.107, allocations: 0.6434 MB / 1.111 GB, free: 9.332 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.71e-07/1.107, allocations: 4 kB / 1.111 GB, free: 9.328 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.002427/1.109, allocations: 0.7227 MB / 1.111 GB, free: 8.605 MB / 0.8731 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.0002629/1.11, allocations: 127.1 kB / 1.111 GB, free: 8.473 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.00796/1.118, allocations: 4.739 MB / 1.116 GB, free: 3.688 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 6.132e-06/1.118, allocations: 0 / 1.116 GB, free: 3.688 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.005128/1.123, allocations: 2.654 MB / 1.119 GB, free: 0.9805 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001471/1.124, allocations: 223.7 kB / 1.119 GB, free: 0.7656 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007107/1.131, allocations: 4.685 MB / 1.123 GB, free: 12.03 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00157/1.133, allocations: 1.692 MB / 1.125 GB, free: 10.3 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0008613/1.134, allocations: 325.5 kB / 1.125 GB, free: 9.984 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001891/1.134, allocations: 63.42 kB / 1.126 GB, free: 9.922 MB / 0.8887 GB Notification: Performance of SimCode: time 4.41e-07/1.134, allocations: 3.938 kB / 1.126 GB, free: 9.918 MB / 0.8887 GB Notification: Performance of Templates: time 0.06039/1.195, allocations: 39.5 MB / 1.164 GB, free: 2.566 MB / 0.92 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches