Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.0008225/0.0008225, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001068/0.001068, allocations: 186.9 kB / 16.92 MB, free: 6.684 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.368/1.368, allocations: 223.3 MB / 241 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.743/2.743, allocations: 462.6 MB / 0.7371 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004135/0.0004137, allocations: 11.88 kB / 0.9034 GB, free: 36.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.329/0.3294, allocations: 159.6 MB / 1.059 GB, free: 4.961 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02376/0.3532, allocations: 22.58 MB / 1.081 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01144/0.3647, allocations: 6.446 MB / 1.088 GB, free: 7.84 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002246/0.367, allocations: 79.5 kB / 1.088 GB, free: 7.762 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.001669/0.3687, allocations: 464.5 kB / 1.088 GB, free: 7.305 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.004601/0.3733, allocations: 1.747 MB / 1.09 GB, free: 5.551 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.003719/0.3771, allocations: 1.204 MB / 1.091 GB, free: 4.348 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.01153/0.3886, allocations: 10.6 MB / 1.101 GB, free: 9.727 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01373/0.4024, allocations: 8.067 MB / 1.109 GB, free: 1.578 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004478/0.4069, allocations: 2.07 MB / 1.111 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005634/0.4126, allocations: 3.185 MB / 1.114 GB, free: 12.3 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.001222/0.4139, allocations: 248 kB / 1.115 GB, free: 12.06 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003264/0.4171, allocations: 1.065 MB / 1.116 GB, free: 11 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.003737/0.4209, allocations: 2.108 MB / 1.118 GB, free: 8.883 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.004863/0.4258, allocations: 2.132 MB / 1.12 GB, free: 6.734 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.008664/0.4345, allocations: 7.037 MB / 1.127 GB, free: 15.68 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.4345, allocations: 0 / 1.127 GB, free: 15.68 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.926e-06/0.4345, allocations: 0 / 1.127 GB, free: 15.68 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0003011/0.4348, allocations: 3.938 kB / 1.127 GB, free: 15.68 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: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.01012/0.445, allocations: 3.57 MB / 1.13 GB, free: 12.04 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.902e-05/0.445, allocations: 15.97 kB / 1.13 GB, free: 12.02 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009381/0.4544, allocations: 1.677 MB / 1.132 GB, free: 10.34 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005612/0.4601, allocations: 2.579 MB / 1.134 GB, free: 7.707 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000368/0.4605, allocations: 275.7 kB / 1.135 GB, free: 7.438 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001667/0.4622, allocations: 360.3 kB / 1.135 GB, free: 7.086 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01787/0.48, allocations: 7.483 MB / 1.142 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001983/0.4803, allocations: 11.88 kB / 1.142 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001332/0.4816, allocations: 167.9 kB / 1.142 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006798/0.4823, allocations: 483.3 kB / 1.143 GB, free: 14.69 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0123/0.4946, allocations: 5.697 MB / 1.148 GB, free: 8.984 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04011/0.5348, allocations: 31.68 MB / 1.179 GB, free: 6.535 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002971/0.5378, allocations: 2.094 MB / 1.181 GB, free: 4.43 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002924/0.5407, allocations: 2.174 MB / 1.184 GB, free: 2.254 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001265/0.5409, allocations: 13.31 kB / 1.184 GB, free: 2.238 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.793e-05/0.5409, allocations: 47.88 kB / 1.184 GB, free: 2.184 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=146): time 3.296e-06/0.5409, allocations: 0 / 1.184 GB, free: 2.184 MB / 0.9356 GB Notification: Performance of matching and sorting (n=251): time 0.9351/1.476, allocations: 75.28 MB / 1.257 GB, free: 174.7 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.062e-05/1.476, allocations: 77.23 kB / 1.257 GB, free: 174.7 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00248/1.479, allocations: 1.669 MB / 1.259 GB, free: 174.5 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0005217/1.479, allocations: 67.2 kB / 1.259 GB, free: 174.4 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001058/1.48, allocations: 1.745 MB / 1.261 GB, free: 174.2 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009169/1.481, allocations: 0.8514 MB / 1.261 GB, free: 173.6 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003885/1.482, allocations: 208.6 kB / 1.262 GB, free: 173.6 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.796e-05/1.482, allocations: 305.6 kB / 1.262 GB, free: 173.3 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003926/1.486, allocations: 2.726 MB / 1.265 GB, free: 173.3 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004853/1.49, allocations: 3.332 MB / 1.268 GB, free: 172.6 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009945/1.5, allocations: 6.396 MB / 1.274 GB, free: 170.8 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.822e-05/1.5, allocations: 5.094 kB / 1.274 GB, free: 170.8 MB / 0.9981 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.03384/1.534, allocations: 14.69 MB / 1.288 GB, free: 163.6 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.754e-05/1.534, allocations: 13.59 kB / 1.288 GB, free: 163.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.61e-05/1.534, allocations: 15.81 kB / 1.288 GB, free: 163.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02866/1.563, allocations: 9.237 MB / 1.298 GB, free: 158.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001234/1.564, allocations: 302.2 kB / 1.298 GB, free: 158.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0662/1.631, allocations: 47.15 MB / 1.344 GB, free: 115.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00323/1.634, allocations: 219.7 kB / 1.344 GB, free: 115.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005479/1.634, allocations: 100.5 kB / 1.344 GB, free: 115.5 MB / 0.9981 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.003105/1.637, allocations: 1.586 MB / 1.346 GB, free: 113.9 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000762/1.638, allocations: 241.1 kB / 1.346 GB, free: 113.7 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03083/1.669, allocations: 14.75 MB / 1.36 GB, free: 98.87 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.731e-05/1.669, allocations: 27.47 kB / 1.36 GB, free: 98.84 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000183/1.669, allocations: 44 kB / 1.36 GB, free: 98.8 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.315e-05/1.669, allocations: 11.95 kB / 1.36 GB, free: 98.79 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03849/1.708, allocations: 20.53 MB / 1.38 GB, free: 78.13 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.509e-05/1.708, allocations: 4.844 kB / 1.38 GB, free: 78.12 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007611/1.709, allocations: 159.8 kB / 1.381 GB, free: 77.97 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02802/1.737, allocations: 9.009 MB / 1.389 GB, free: 68.93 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005177/1.737, allocations: 48 kB / 1.389 GB, free: 68.89 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06618/1.804, allocations: 46.75 MB / 1.435 GB, free: 21.32 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.852e-06/1.804, allocations: 7.938 kB / 1.435 GB, free: 21.31 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02983/1.833, allocations: 14.36 MB / 1.449 GB, free: 6.812 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001889/1.835, allocations: 0.8494 MB / 1.45 GB, free: 5.941 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007958/1.836, allocations: 48 kB / 1.45 GB, free: 5.895 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002563/1.839, allocations: 216.2 kB / 1.45 GB, free: 5.684 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001395/1.84, allocations: 245.2 kB / 1.45 GB, free: 5.445 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003221/1.841, allocations: 64 kB / 1.451 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001657/1.842, allocations: 1.125 MB / 1.452 GB, free: 4.234 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/1.842, allocations: 0 / 1.452 GB, free: 4.234 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0053/1.848, allocations: 1.617 MB / 1.453 GB, free: 2.617 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.0005149/1.848, allocations: 159.4 kB / 1.453 GB, free: 2.453 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.02394/1.872, allocations: 10.37 MB / 1.463 GB, free: 8.023 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.638e-05/1.872, allocations: 8.25 kB / 1.463 GB, free: 8.016 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.02009/1.892, allocations: 7.154 MB / 1.47 GB, free: 0.8008 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005535/1.898, allocations: 0.5211 MB / 1.471 GB, free: 292 kB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01923/1.917, allocations: 11.24 MB / 1.482 GB, free: 4.961 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005454/1.923, allocations: 3.298 MB / 1.485 GB, free: 1.625 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005401/1.923, allocations: 107.4 kB / 1.485 GB, free: 1.52 MB / 1.029 GB Notification: Performance of SimCode: time 1.874e-06/1.923, allocations: 0 / 1.485 GB, free: 1.52 MB / 1.029 GB Notification: Performance of Templates: time 0.2457/2.169, allocations: 187.1 MB / 1.668 GB, free: 6.312 MB / 1.217 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches