Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.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_latest_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_latest_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.007611/0.007611, allocations: 104.5 kB / 15.74 MB, free: 5.598 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.001789/0.00179, allocations: 191.8 kB / 16.67 MB, free: 5.527 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.34/1.34, allocations: 222.9 MB / 240.3 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.579/2.579, allocations: 461.9 MB / 0.7348 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001443/0.001444, allocations: 67.84 kB / 1.054 GB, free: 7.652 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7762/0.7777, allocations: 157.4 MB / 1.208 GB, free: 13.75 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.04214/0.8199, allocations: 37.97 MB / 1.245 GB, free: 7.664 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0194/0.8393, allocations: 10.98 MB / 1.256 GB, free: 12.65 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003406/0.8428, allocations: 155.2 kB / 1.256 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.01141/0.8543, allocations: 4.359 MB / 1.26 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.01085/0.8651, allocations: 2.227 MB / 1.262 GB, free: 5.891 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.008206/0.8734, allocations: 2.154 MB / 1.264 GB, free: 3.738 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.01309/0.8865, allocations: 9.287 MB / 1.273 GB, free: 10.42 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01674/0.9033, allocations: 11.26 MB / 1.284 GB, free: 15.04 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0067/0.91, allocations: 4.047 MB / 1.288 GB, free: 10.98 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0073/0.9173, allocations: 4.514 MB / 1.293 GB, free: 6.449 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.001766/0.9191, allocations: 0.8203 MB / 1.293 GB, free: 5.629 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003509/0.9226, allocations: 1.592 MB / 1.295 GB, free: 4.035 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.003295/0.9259, allocations: 3.146 MB / 1.298 GB, free: 0.8828 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.005467/0.9314, allocations: 3.657 MB / 1.302 GB, free: 13.21 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.01387/0.9453, allocations: 12.31 MB / 1.314 GB, free: 0.8633 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.9454, allocations: 0 / 1.314 GB, free: 0.8633 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.134e-06/0.9454, allocations: 0 / 1.314 GB, free: 0.8633 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0003441/0.9457, allocations: 0 / 1.314 GB, free: 0.8633 MB / 1.029 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.01485/0.9606, allocations: 6.326 MB / 1.32 GB, free: 10.46 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.9606, allocations: 16.03 kB / 1.32 GB, free: 10.45 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00601/0.9666, allocations: 1.059 MB / 1.321 GB, free: 9.383 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009679/0.9764, allocations: 3.614 MB / 1.324 GB, free: 5.715 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003549/0.9768, allocations: 423.8 kB / 1.325 GB, free: 5.301 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001746/0.9785, allocations: 0.5471 MB / 1.325 GB, free: 4.754 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01697/0.9955, allocations: 9.374 MB / 1.335 GB, free: 11.05 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000129/0.9956, allocations: 23.8 kB / 1.335 GB, free: 11.02 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007123/0.9964, allocations: 247.9 kB / 1.335 GB, free: 10.78 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005661/0.9969, allocations: 418.9 kB / 1.335 GB, free: 10.37 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01343/1.01, allocations: 7.12 MB / 1.342 GB, free: 3.242 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04676/1.057, allocations: 41.01 MB / 1.382 GB, free: 6.484 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004479/1.062, allocations: 3.096 MB / 1.385 GB, free: 3.383 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002894/1.065, allocations: 2.145 MB / 1.387 GB, free: 1.234 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000134/1.065, allocations: 26 kB / 1.387 GB, free: 1.211 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.228e-05/1.065, allocations: 68.16 kB / 1.387 GB, free: 1.137 MB / 1.107 GB Notification: Performance of pre-optimization done (n=209): time 3.857e-06/1.065, allocations: 0 / 1.387 GB, free: 1.137 MB / 1.107 GB Notification: Performance of matching and sorting (n=212): time 0.02402/1.089, allocations: 10.56 MB / 1.398 GB, free: 6.48 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.515e-05/1.089, allocations: 81.28 kB / 1.398 GB, free: 6.391 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002742/1.092, allocations: 2.005 MB / 1.4 GB, free: 4.367 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0003199/1.092, allocations: 65.7 kB / 1.4 GB, free: 4.297 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.001521/1.094, allocations: 2.4 MB / 1.402 GB, free: 1.863 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007428/1.094, allocations: 0.7318 MB / 1.403 GB, free: 1.121 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007234/1.095, allocations: 481.2 kB / 1.403 GB, free: 0.6445 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 8.513e-05/1.095, allocations: 305.1 kB / 1.404 GB, free: 352 kB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001961/1.097, allocations: 1.376 MB / 1.405 GB, free: 14.96 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002375/1.1, allocations: 2.104 MB / 1.407 GB, free: 12.54 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004628/1.104, allocations: 3.766 MB / 1.411 GB, free: 8.465 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.359e-05/1.104, allocations: 12 kB / 1.411 GB, free: 8.453 MB / 1.139 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.008682/1.113, allocations: 5.065 MB / 1.416 GB, free: 3.363 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 4.352e-05/1.113, allocations: 14.5 kB / 1.416 GB, free: 3.352 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.12e-05/1.113, allocations: 24 kB / 1.416 GB, free: 3.328 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003556/1.117, allocations: 1.589 MB / 1.417 GB, free: 1.73 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00171/1.118, allocations: 455.2 kB / 1.418 GB, free: 1.285 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02207/1.14, allocations: 18.56 MB / 1.436 GB, free: 14.16 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00252/1.143, allocations: 143.9 kB / 1.436 GB, free: 14.02 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000243/1.143, allocations: 108.1 kB / 1.436 GB, free: 13.91 MB / 1.17 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.003199/1.146, allocations: 1.945 MB / 1.438 GB, free: 11.96 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006879/1.147, allocations: 292.9 kB / 1.438 GB, free: 11.67 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007017/1.154, allocations: 4.451 MB / 1.443 GB, free: 7.184 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.299e-05/1.154, allocations: 23.98 kB / 1.443 GB, free: 7.16 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.273e-05/1.154, allocations: 20 kB / 1.443 GB, free: 7.141 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.665e-05/1.154, allocations: 7.969 kB / 1.443 GB, free: 7.133 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01644/1.171, allocations: 9.66 MB / 1.452 GB, free: 13.33 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.385e-05/1.171, allocations: 4 kB / 1.452 GB, free: 13.32 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001026/1.172, allocations: 239.6 kB / 1.452 GB, free: 13.09 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003247/1.175, allocations: 1.43 MB / 1.454 GB, free: 11.65 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001703/1.175, allocations: 44 kB / 1.454 GB, free: 11.61 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02197/1.197, allocations: 18.57 MB / 1.472 GB, free: 8.473 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/1.197, allocations: 4 kB / 1.472 GB, free: 8.469 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007281/1.205, allocations: 4.544 MB / 1.476 GB, free: 3.836 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001786/1.206, allocations: 0.6304 MB / 1.477 GB, free: 3.184 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004024/1.207, allocations: 40 kB / 1.477 GB, free: 3.145 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001274/1.208, allocations: 115.9 kB / 1.477 GB, free: 3.031 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004963/1.209, allocations: 181.6 kB / 1.477 GB, free: 2.852 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001313/1.209, allocations: 56 kB / 1.477 GB, free: 2.797 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.001763/1.21, allocations: 1.315 MB / 1.479 GB, free: 1.473 MB / 1.201 GB Notification: Performance of sort global known variables: time 2.01e-07/1.21, allocations: 0 / 1.479 GB, free: 1.473 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.003587/1.214, allocations: 1.145 MB / 1.48 GB, free: 336 kB / 1.201 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.0004952/1.215, allocations: 167 kB / 1.48 GB, free: 160 kB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.008015/1.223, allocations: 4.708 MB / 1.484 GB, free: 11.4 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 2.664e-05/1.223, allocations: 5 kB / 1.484 GB, free: 11.4 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.005087/1.228, allocations: 2.937 MB / 1.487 GB, free: 8.41 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004207/1.232, allocations: 0.8931 MB / 1.488 GB, free: 7.531 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01597/1.248, allocations: 9.255 MB / 1.497 GB, free: 14.2 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004287/1.252, allocations: 3.698 MB / 1.501 GB, free: 10.46 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.002085/1.254, allocations: 0.5556 MB / 1.501 GB, free: 9.902 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000412/1.255, allocations: 151.4 kB / 1.502 GB, free: 9.754 MB / 1.232 GB Notification: Performance of SimCode: time 1.212e-06/1.255, allocations: 0 / 1.502 GB, free: 9.754 MB / 1.232 GB Notification: Performance of Templates: time 0.09133/1.346, allocations: 52.45 MB / 1.553 GB, free: 6.02 MB / 1.279 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches