Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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_N,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_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,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_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001114/0.001114, allocations: 105 kB / 16.35 MB, free: 5.824 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.001023/0.001023, allocations: 189.4 kB / 17.29 MB, free: 5.48 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.363/1.363, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.267/2.267, allocations: 390.3 MB / 0.6655 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 64.42 kB / 0.814 GB, free: 32.65 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2991/0.3004, allocations: 140.4 MB / 0.9511 GB, free: 8.043 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02679/0.3272, allocations: 23.43 MB / 0.974 GB, free: 0.5352 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.01319/0.3405, allocations: 6.496 MB / 0.9803 GB, free: 10.02 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003613/0.3441, allocations: 95.56 kB / 0.9804 GB, free: 9.926 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.005445/0.3496, allocations: 1.492 MB / 0.9819 GB, free: 8.43 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.006002/0.3556, allocations: 1.824 MB / 0.9837 GB, free: 6.598 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.00436/0.36, allocations: 1.446 MB / 0.9851 GB, free: 5.152 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.009529/0.3696, allocations: 6.908 MB / 0.9918 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00958/0.3792, allocations: 6.949 MB / 0.9986 GB, free: 7.184 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005485/0.3847, allocations: 2.843 MB / 1.001 GB, free: 4.332 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00647/0.3912, allocations: 3.478 MB / 1.005 GB, free: 0.8438 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.001629/0.3929, allocations: 0.5273 MB / 1.005 GB, free: 324 kB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003586/0.3965, allocations: 1.174 MB / 1.006 GB, free: 15.14 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.004125/0.4006, allocations: 2.46 MB / 1.009 GB, free: 12.68 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.004982/0.4056, allocations: 2.528 MB / 1.011 GB, free: 10.14 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.01218/0.4178, allocations: 8.515 MB / 1.02 GB, free: 1.598 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 1.379e-05/0.4179, allocations: 0 / 1.02 GB, free: 1.598 MB / 0.795 GB Notification: Performance of FrontEnd: time 3.396e-06/0.4179, allocations: 3.938 kB / 1.02 GB, free: 1.594 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0003335/0.4182, allocations: 0 / 1.02 GB, free: 1.594 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: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.01252/0.4308, allocations: 4.435 MB / 1.024 GB, free: 13.09 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.71e-05/0.4308, allocations: 8.031 kB / 1.024 GB, free: 13.08 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009113/0.44, allocations: 1.681 MB / 1.026 GB, free: 11.39 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00736/0.4474, allocations: 2.7 MB / 1.028 GB, free: 8.641 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002528/0.4477, allocations: 279.6 kB / 1.029 GB, free: 8.367 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001561/0.4492, allocations: 360.3 kB / 1.029 GB, free: 8.016 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01601/0.4653, allocations: 7.483 MB / 1.036 GB, free: 272 kB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001156/0.4654, allocations: 27.77 kB / 1.036 GB, free: 244 kB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005439/0.466, allocations: 159.9 kB / 1.036 GB, free: 84 kB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007611/0.4667, allocations: 479.4 kB / 1.037 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01192/0.4787, allocations: 5.701 MB / 1.042 GB, free: 9.906 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04123/0.52, allocations: 31.5 MB / 1.073 GB, free: 7.625 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002866/0.5229, allocations: 2.09 MB / 1.075 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002889/0.5258, allocations: 2.178 MB / 1.077 GB, free: 3.34 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001625/0.526, allocations: 21.3 kB / 1.077 GB, free: 3.32 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.285e-05/0.526, allocations: 43.88 kB / 1.077 GB, free: 3.27 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=146): time 3.757e-06/0.526, allocations: 0 / 1.077 GB, free: 3.27 MB / 0.8575 GB Notification: Performance of matching and sorting (n=251): time 0.7506/1.277, allocations: 77 MB / 1.153 GB, free: 85.41 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.35e-05/1.277, allocations: 77.41 kB / 1.153 GB, free: 85.33 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002784/1.279, allocations: 1.67 MB / 1.154 GB, free: 83.61 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0005194/1.28, allocations: 69.42 kB / 1.154 GB, free: 83.54 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.001003/1.281, allocations: 1.743 MB / 1.156 GB, free: 81.78 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.001071/1.282, allocations: 0.8569 MB / 1.157 GB, free: 80.93 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001479/1.284, allocations: 485.2 kB / 1.157 GB, free: 80.45 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.845e-05/1.284, allocations: 301.1 kB / 1.158 GB, free: 80.16 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003229/1.287, allocations: 2.73 MB / 1.16 GB, free: 77.42 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003521/1.29, allocations: 3.336 MB / 1.164 GB, free: 73.84 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006484/1.297, allocations: 6.389 MB / 1.17 GB, free: 67.21 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.206e-05/1.297, allocations: 11.94 kB / 1.17 GB, free: 67.2 MB / 0.8575 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.02666/1.324, allocations: 14.67 MB / 1.184 GB, free: 52.48 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 4.03e-05/1.324, allocations: 18.22 kB / 1.184 GB, free: 52.46 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.423e-05/1.324, allocations: 23.98 kB / 1.184 GB, free: 52.44 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02587/1.35, allocations: 9.235 MB / 1.193 GB, free: 43.18 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00123/1.351, allocations: 303.5 kB / 1.193 GB, free: 42.88 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0718/1.423, allocations: 52.34 MB / 1.245 GB, free: 5.715 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003328/1.426, allocations: 219.7 kB / 1.245 GB, free: 5.5 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007128/1.427, allocations: 98.16 kB / 1.245 GB, free: 5.406 MB / 0.8731 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 {(19,19,64.8%), (19,19,60.9%), (12,18,50.0%), (12,18,50.0%), (12,10,52.8%), (12,10,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003952/1.431, allocations: 1.58 MB / 1.246 GB, free: 3.816 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008714/1.432, allocations: 245.1 kB / 1.247 GB, free: 3.574 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03197/1.464, allocations: 14.77 MB / 1.261 GB, free: 4.754 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.908e-05/1.464, allocations: 24 kB / 1.261 GB, free: 4.73 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001834/1.464, allocations: 44 kB / 1.261 GB, free: 4.688 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.429e-05/1.464, allocations: 15.95 kB / 1.261 GB, free: 4.672 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04339/1.507, allocations: 20.51 MB / 1.281 GB, free: 12 kB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.657e-05/1.508, allocations: 8 kB / 1.281 GB, free: 4 kB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007858/1.508, allocations: 167.8 kB / 1.281 GB, free: 15.84 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02833/1.537, allocations: 8.998 MB / 1.29 GB, free: 6.816 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005235/1.537, allocations: 51.5 kB / 1.29 GB, free: 6.77 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07783/1.615, allocations: 51.92 MB / 1.341 GB, free: 2.008 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.567e-06/1.615, allocations: 8 kB / 1.341 GB, free: 2 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03001/1.645, allocations: 14.36 MB / 1.355 GB, free: 3.504 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002982/1.648, allocations: 0.8531 MB / 1.356 GB, free: 2.629 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007521/1.649, allocations: 56.81 kB / 1.356 GB, free: 2.574 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002024/1.651, allocations: 211.7 kB / 1.356 GB, free: 2.367 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00134/1.652, allocations: 237.5 kB / 1.356 GB, free: 2.137 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002231/1.653, allocations: 64.84 kB / 1.356 GB, free: 2.074 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001611/1.654, allocations: 1.125 MB / 1.357 GB, free: 0.9258 MB / 0.9825 GB Notification: Performance of sort global known variables: time 5.31e-07/1.654, allocations: 0 / 1.357 GB, free: 0.9258 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.005413/1.66, allocations: 1.617 MB / 1.359 GB, free: 15.3 MB / 0.9981 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 {(12,10,53.5%), (12,18,50.0%), (19,19,64.8%), (12,10,53.5%), (12,18,50.0%), (19,19,54.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005546/1.66, allocations: 164.4 kB / 1.359 GB, free: 15.13 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.02213/1.682, allocations: 10.55 MB / 1.369 GB, free: 4.527 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.309e-05/1.682, allocations: 0 / 1.369 GB, free: 4.527 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.01736/1.7, allocations: 7.315 MB / 1.377 GB, free: 13.17 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002914/1.703, allocations: 0.5547 MB / 1.377 GB, free: 12.64 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01617/1.719, allocations: 8.691 MB / 1.386 GB, free: 3.906 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004442/1.723, allocations: 3.22 MB / 1.389 GB, free: 0.6484 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001137/1.725, allocations: 391.2 kB / 1.389 GB, free: 280 kB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000249/1.725, allocations: 107.4 kB / 1.389 GB, free: 172 kB / 1.014 GB Notification: Performance of SimCode: time 8.31e-07/1.725, allocations: 0 / 1.389 GB, free: 172 kB / 1.014 GB Notification: Performance of Templates: time 0.1428/1.868, allocations: 91.83 MB / 1.479 GB, free: 4.617 MB / 1.107 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches