Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.ACLine_R_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.terminal.phase.1..v.1.|R2.terminal.phase.1..v.1.|R3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|R1.load1.i.1.|R2.load1.i.1.|R3.load1.i.1.|sc_load.load1.i.1.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.terminal.phase.1..v.1.|R2.terminal.phase.1..v.1.|R3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|R1.load1.i.1.|R2.load1.i.1.|R3.load1.i.1.|sc_load.load1.i.1.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007924/0.007925, allocations: 99.81 kB / 15.73 MB, free: 6.062 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.001643/0.001643, allocations: 195.1 kB / 16.67 MB, free: 5.973 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.491/1.491, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.591/2.591, allocations: 437 MB / 0.7105 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 67.89 kB / 1.019 GB, free: 9.414 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9936/0.9949, allocations: 151.6 MB / 1.167 GB, free: 4.008 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.04336/1.038, allocations: 37.95 MB / 1.204 GB, free: 13.93 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.02509/1.063, allocations: 11 MB / 1.214 GB, free: 2.902 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00518/1.069, allocations: 159.2 kB / 1.215 GB, free: 2.746 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.01241/1.081, allocations: 4.374 MB / 1.219 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.008588/1.09, allocations: 2.324 MB / 1.221 GB, free: 12.03 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.00854/1.098, allocations: 2.162 MB / 1.223 GB, free: 9.867 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.01454/1.113, allocations: 9.307 MB / 1.232 GB, free: 0.5312 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02081/1.134, allocations: 11.27 MB / 1.243 GB, free: 5.145 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00962/1.144, allocations: 4.055 MB / 1.247 GB, free: 1.078 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01017/1.154, allocations: 4.506 MB / 1.252 GB, free: 12.56 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.003914/1.158, allocations: 0.8203 MB / 1.252 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006839/1.165, allocations: 1.588 MB / 1.254 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.007469/1.172, allocations: 3.15 MB / 1.257 GB, free: 6.992 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.01124/1.183, allocations: 3.657 MB / 1.261 GB, free: 3.32 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.02225/1.206, allocations: 12.35 MB / 1.273 GB, free: 6.93 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 1.431e-05/1.206, allocations: 0 / 1.273 GB, free: 6.93 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.456e-06/1.206, allocations: 0 / 1.273 GB, free: 6.93 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0006093/1.206, allocations: 0 / 1.273 GB, free: 6.93 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.02325/1.23, allocations: 6.471 MB / 1.279 GB, free: 388 kB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 6.205e-05/1.23, allocations: 12.92 kB / 1.279 GB, free: 376 kB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007132/1.237, allocations: 1.092 MB / 1.28 GB, free: 15.27 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008449/1.245, allocations: 3.632 MB / 1.284 GB, free: 11.59 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003576/1.246, allocations: 423.8 kB / 1.284 GB, free: 11.17 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00223/1.248, allocations: 0.5393 MB / 1.285 GB, free: 10.63 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02336/1.271, allocations: 9.379 MB / 1.294 GB, free: 0.9219 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001794/1.272, allocations: 15.88 kB / 1.294 GB, free: 0.9062 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001198/1.273, allocations: 244 kB / 1.294 GB, free: 0.668 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007334/1.274, allocations: 422.9 kB / 1.294 GB, free: 260 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01905/1.293, allocations: 7.127 MB / 1.301 GB, free: 9.113 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05625/1.349, allocations: 41.08 MB / 1.342 GB, free: 12.3 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005388/1.354, allocations: 3.104 MB / 1.345 GB, free: 9.188 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003298/1.358, allocations: 2.145 MB / 1.347 GB, free: 7.043 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001734/1.358, allocations: 22 kB / 1.347 GB, free: 7.02 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.151e-05/1.358, allocations: 60.56 kB / 1.347 GB, free: 6.953 MB / 1.076 GB Notification: Performance of pre-optimization done (n=209): time 6.653e-06/1.358, allocations: 0 / 1.347 GB, free: 6.953 MB / 1.076 GB Notification: Performance of matching and sorting (n=212): time 0.02597/1.384, allocations: 10.63 MB / 1.357 GB, free: 12.23 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.275e-05/1.384, allocations: 81.39 kB / 1.357 GB, free: 12.14 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003692/1.388, allocations: 2.002 MB / 1.359 GB, free: 10.12 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0002524/1.388, allocations: 65.7 kB / 1.359 GB, free: 10.05 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.001826/1.39, allocations: 2.474 MB / 1.362 GB, free: 7.547 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008356/1.391, allocations: 0.7708 MB / 1.362 GB, free: 6.77 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008843/1.392, allocations: 477.5 kB / 1.363 GB, free: 6.297 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001236/1.392, allocations: 309.1 kB / 1.363 GB, free: 5.992 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002252/1.394, allocations: 1.375 MB / 1.364 GB, free: 4.613 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002654/1.397, allocations: 2.104 MB / 1.367 GB, free: 2.195 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005501/1.402, allocations: 3.766 MB / 1.37 GB, free: 14.12 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.727e-05/1.402, allocations: 8 kB / 1.37 GB, free: 14.11 MB / 1.107 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.00901/1.411, allocations: 5.081 MB / 1.375 GB, free: 9.004 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 4.212e-05/1.411, allocations: 16 kB / 1.375 GB, free: 8.988 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.548e-05/1.411, allocations: 24 kB / 1.375 GB, free: 8.965 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00366/1.415, allocations: 1.589 MB / 1.377 GB, free: 7.367 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001658/1.417, allocations: 451.2 kB / 1.377 GB, free: 6.926 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02406/1.441, allocations: 18.59 MB / 1.395 GB, free: 3.77 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002943/1.444, allocations: 151.8 kB / 1.395 GB, free: 3.621 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005747/1.444, allocations: 104 kB / 1.396 GB, free: 3.52 MB / 1.123 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (231): * Single equations (assignments): 227 * 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 {(7,31,57.1%), (6,24,66.7%), (4,18,100.0%), (4,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004626/1.449, allocations: 1.945 MB / 1.397 GB, free: 1.562 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009826/1.45, allocations: 306.2 kB / 1.398 GB, free: 1.262 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00803/1.458, allocations: 4.455 MB / 1.402 GB, free: 12.77 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.736e-05/1.458, allocations: 20 kB / 1.402 GB, free: 12.75 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.811e-05/1.458, allocations: 20 kB / 1.402 GB, free: 12.73 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.42e-05/1.458, allocations: 7.969 kB / 1.402 GB, free: 12.72 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01573/1.474, allocations: 9.66 MB / 1.412 GB, free: 2.922 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.297e-05/1.474, allocations: 8.125 kB / 1.412 GB, free: 2.914 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009474/1.475, allocations: 235.6 kB / 1.412 GB, free: 2.684 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003193/1.478, allocations: 1.431 MB / 1.413 GB, free: 1.242 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001463/1.478, allocations: 40 kB / 1.413 GB, free: 1.203 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02157/1.5, allocations: 18.59 MB / 1.431 GB, free: 14.05 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.562e-06/1.5, allocations: 4 kB / 1.431 GB, free: 14.05 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007462/1.507, allocations: 4.565 MB / 1.436 GB, free: 9.395 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001611/1.509, allocations: 0.6436 MB / 1.437 GB, free: 8.73 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004077/1.509, allocations: 43.94 kB / 1.437 GB, free: 8.688 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001265/1.511, allocations: 115.9 kB / 1.437 GB, free: 8.574 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005581/1.511, allocations: 177.6 kB / 1.437 GB, free: 8.402 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001336/1.511, allocations: 64 kB / 1.437 GB, free: 8.34 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.001782/1.513, allocations: 1.311 MB / 1.438 GB, free: 7.02 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.4e-07/1.513, allocations: 0 / 1.438 GB, free: 7.02 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.003451/1.517, allocations: 1.145 MB / 1.439 GB, free: 5.875 MB / 1.17 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (107): * Single equations (assignments): 103 * 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 {(4,18,100.0%), (6,24,66.7%), (4,18,100.0%), (6,32,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000334/1.517, allocations: 171 kB / 1.439 GB, free: 5.699 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.007236/1.524, allocations: 4.72 MB / 1.444 GB, free: 0.9336 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 1.356e-05/1.524, allocations: 4 kB / 1.444 GB, free: 0.9297 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.004499/1.529, allocations: 2.93 MB / 1.447 GB, free: 13.95 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003936/1.533, allocations: 0.8914 MB / 1.448 GB, free: 13.08 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0168/1.55, allocations: 9.431 MB / 1.457 GB, free: 3.555 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004485/1.554, allocations: 3.694 MB / 1.461 GB, free: 15.82 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.002053/1.556, allocations: 0.5556 MB / 1.461 GB, free: 15.26 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003871/1.557, allocations: 147.4 kB / 1.461 GB, free: 15.12 MB / 1.201 GB Notification: Performance of SimCode: time 1.082e-06/1.557, allocations: 4 kB / 1.461 GB, free: 15.11 MB / 1.201 GB Notification: Performance of Templates: time 0.08999/1.647, allocations: 51.64 MB / 1.512 GB, free: 12.1 MB / 1.248 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches